Skip to content

waso99/vimrc

 
 

Repository files navigation

Neovim Directory

My configuration files and plugins for Neovim. They work fine with regular vim too.

Set up instructions:

Install the latest version of neovim with homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew install neovim

I recommend you to install iterm2 and tmux too:

brew cask install iterm2
brew install tmux

Download vim-plug:

curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Download this repository and copy the contents to your home folder

git clone https://github.com/danilofreire/vimrc
cd vimrc/
mv .vimrc /Users/username/

Create a ~/.config/nvim/init.vim file with the following content:

set runtimepath^=/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc

... or just copy the init.vim file above.

Open .vimrc and type :PlugInstall. From the command line:

nvim .vimrc +PlugInstall +qall

To use the arrow keys in normal mode, delete the following lines in the .vimrc file:

" Deactivate arrow keys
noremap <Up> <Nop>
noremap <Down> <Nop>
noremap <Left> <Nop>
noremap <Right> <Nop>

If you want to make your lightline toolbar and vim-devicons look nice, please download Nerd fonts. I use Fira Code.

brew tap homebrew/cask-fonts
brew install --cask font-fira-code

And this is how the editor looks like with the default configurations:

I hope you enjoy using Neovim! :)

About

My (neo)vim configuration files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 57.0%
  • Shell 43.0%