There are many like them, but these ones are mine!
Download it from here: http://www.vim.org/
Hack is a very nice fixed width font just for coding. Download an install it first.
- Hack font: https://github.com/source-foundry/Hack
- VIM looks in various places for the
vimrc
andgvimrc
files. Use:version
to see where. - On Windows, it's worthwhile explicitely defining HOME as an Environment Variable.
- Navigate to your home directory (~).
- Create a subdirectory for your vim config files
\vimfiles
- on Windows/.vim
- on Linux
- Clone this repo there, and all the submodules.
On windows:
$ git clone https://github.com/peverett/vimfiles vimfiles
On linux:
$ git clone https://github.com/peverett/vimfiles vimfiles
Don't forget to create a tmp directory in the your vim folder for backups and undo files.
For example...
$ mkdir -p .vim/tmp
I am using the VIM 8.x native package manager, and so the plugins I use are now submodules to this repo.
My package manager directories are
~/vimfiles/pack/pev/start
~/vimfiles/pack/pev/opt
To add a plugin from github (using vim-startify as an example):
cd ~/vimfiles
git submodule add https://github.com/mhinz/vim-startify.git ./pack/pev/start/vim-startify
git add .gitmodules ./pack/pev/start/vim_startify
git commit -m "Added submodule mhinz/vim-startify.git"
To update the submodule packages
cd ~/vimfiles
git submodule update --remote --merge
git commit -m "Updating submodules."
To remove a plugin
cd ~/vimfiles
git submodule deinit ./pack/pev/start/vim-startify
git rm ./pack/pev/start/vim-startify
git commit -m "Removed submodule mhinz/vim-startify.git"
When cloning to a new installation, don't forget to include the submodules.
git clone <remote-repo-url>
git submodule update --init
If you do, you can use this command
git submodule update --init --recursive
Plugins I use
- Xoria256 - my favorite color scheme: https://github.com/vim-scripts/xoria256.vim
- Silk Toolbar Icons (nicer): https://github.com/istepura/vim-toolbar-icons-silk
- Splash screen for vim: https://github.com/mhinz/vim-startify
- Cooler Status line: https://github.com/vim-airline/vim-airline
- With funkier colours: https://github.com/vim-airline/vim-airline-themes
For full VIM power mad crazyness install
- CTags: http://ctags.sourceforge.net/
- cscope - win32 build: https://code.google.com/archive/p/cscope-win32/downloads
- taglist - https://github.com/vim-scripts/taglist.vim