34 lines
1.0 KiB
Markdown
34 lines
1.0 KiB
Markdown
# Shaun's `vim` Dotfiles
|
|
|
|
## Location
|
|
The configuration file needs to be present at this location, `~/.vimrc`. So, we can use the following command to softlink/symlink,
|
|
|
|
```bash
|
|
ln -s <location of cloned dotfiles .vimrc file> ~/.vimrc
|
|
# e.g.
|
|
# ln -s ~/dotfiles/vim/.vimrc ~/.vimrc
|
|
```
|
|
|
|
The configuration file also uses a directory to place scripts and files which needs to be present at this location, `~/.vim`. So, we can use the following command to softlink/symlink,
|
|
|
|
```bash
|
|
ln -s <location of cloned dotfiles .vim directory> ~/.vim
|
|
# e.g.
|
|
# ln -s ~/dotfiles/vim/.vim ~/.vim
|
|
```
|
|
|
|
## Install Plugin Manager (`Vundle`)
|
|
We will use `vundle` as our plugin manager, but it cannot install itself. So we have to clone it into the proper place.
|
|
```bash
|
|
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
|
```
|
|
|
|
## Install Plugins
|
|
Once the tmux symlink is created, we can install all plugins. This is done from within a vim window.
|
|
```bash
|
|
vim
|
|
:PluginInstall
|
|
# Or this from the shell ..
|
|
# vim +PluginInstall +qall
|
|
```
|