1. Amar Sahinovic
  2. dotfiles

Source

dotfiles /

Filename Size Date modified Message
vim
33 B
1.0 KB

You need to have both Mercurial and Git installed (for subrepositories)

I assume that the following commands are executed in your home directory. If not, adjust paths accordingly.

Clone the repo:

hg clone https://bitbucket.org/amarsahinovic/dotfiles

Create symbolic links:

ln -s dotfiles/vim/ .vim
ln -s dotfiles/vim/vimrc .vimrc
ln -s dotfiles/vim/gvimrc .gvimrc

Install Vundle, start Vim and run the following:

:PluginInstall

Restart (G)Vim

All done :D

Neovim setup

Install needed files (this assumes Arch Linux, which I use)

# pacman -S neovim python-neovim powerline powerline-vim powerline-fonts

Install vim-plug

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

Create directories and links

mkdir -p ~/.config/nvim
ln -s /home/<USERNAME>/dotfiles/nvim/init.vim ~/.config/nvim/

Open neovim and run (you may get some errors after starting, that is OK)

:PlugInstall

Restart Neovim