Collection of plugins and configuration files for vim which I use during my everyday work.
- The resulting workflow is quite oriented to deal with FORTRAN programming.
- Plugins should be installed as a bundle, where pathogen manages them. They are included as submodules.
- Type:
git clone https://github.com/albertopsmuzas/dotvim ~/.vim
- Create symlinks:
ln -s ~/.vim/vimrc ~/.vimrc
- Fetch submodules:
cd ~/.vim
git submodule init
git submodule update
- Load documentation:
- Open vim in normal mode and type
:Helptags
- Download exuberant ctags package (example for debian)
sudo apt-get install exuberant-ctags
- Perform vim installation
- Type:
ln -s ~/.vim ~/.config/nvim
- Find the developer's repo page (in github perhaps) and add it to boundle
git submodule add <path to remote repo> ~/.vim/bundle/<remote repo name>
- Update each submodule to be up to date with dotvim repo
cd ~/.vim && git submodule update
- Update each submodule from their respective origins. You may end up ahead of dotvim repo
cd ~/.vim && git submodule update --remote
- If submodules at bundle are empty that is because you updated the head of the repo but files were not created actually. To solve this, type:
cd ~/.vim && git submodule update --init --recursive
- Add new snippets at
~/.vim/snippets
folder. - Add file-type specific plugins at
~/.vim/ftplugins
. - Install powerline fonts or you'll see some weird symbols plotted in airline. You can
modify my
~/.vim/vimrc
file and use other themes that don't need powerline fonts. For debian, type: apt-get install fonts-powerline.
- Apparently, there are some problems at least with vim to open markdown-preview in a new window if there is not an already existent firefox instance. Maybe there is a way to solve this.
- To make markdown-preview work, open neovim and type:
call mkdp#util#install()