Edit INSTALLATION.md

This commit is contained in:
Wiktor Zykubek 2019-10-07 18:31:17 +02:00
parent 17b35790fc
commit 1c40edd20f

View File

@ -1,27 +1,22 @@
# Basic # Basic
## Install dependencies
Install dependencies:
```bash ```bash
yay -S polybar st ttf-dejavu-ib wget neovim qutebrowser yay -S polybar st ttf-dejavu-ib wget neovim qutebrowser
``` ```
## Install oh-my-zsh
Install oh-my-zsh:
```bash ```bash
sh -c "$(wget -O- https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" sh -c "$(wget -O- https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
``` ```
## Install zsh-syntax-highlighting plugin to oh-my-zsh
Install zsh-syntax-highlighting plugin to oh-my-zsh:
```bash ```bash
cd ~/oh-my-zsh/plugins cd ~/oh-my-zsh/plugins
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
``` ```
## Copy configs
Copy configs:
```bash ```bash
cp .zshrc ~ cp .zshrc ~
cp -r .config ~ cp -r .config ~
``` ```
# NeoVim # NeoVim
## Install VimPlug ## Install VimPlug
To install plugins to Vim/NeoVim 'u' must have VimPlug or other Vim plugins loader. To install plugins to Vim/NeoVim 'u' must have VimPlug or other Vim plugins loader.
@ -30,20 +25,17 @@ curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
``` ```
If you don't have *curl* install it. If you don't have *curl* install it.
## Copy config ## Copy config
```bash ```bash
cp -r nvim ~/.config cp -r nvim ~/.config
``` ```
If folder not exist create it: `mkdir .config`. If folder not exist create it: `mkdir .config`.
## Load plugins ## Load plugins
* Open NeoVim: `nvim`. * Open NeoVim: `nvim`.
* Click ":" on keyboard. * Click ":" on keyboard.
* Use `PlugInstall` command. * Use `PlugInstall` command.
* Exit, click "esc" key, use `:q! command. * Exit, click "esc" key, use `:q! command.
## Install python package to use plugins
## Install python package to use plign
If you don't have python 3.x install it from your distro repo. If you don't have python 3.x install it from your distro repo.
```bash ```bash
pip3 install --user neovim pip3 install --user neovim