cd ~/
git clone git://github.com/taeseunglee/taeseung_vimrc.git .vim
ln -s ~/.vim/vimrc ~/.vimrc
vim -c ":PlugInstall" -c ":q" -c ":q"
cd ~/
git clone -b gnu-c git://github.com/taeseunglee/taeseung_vimrc.git .vim
ln -s ~/.vim/vimrc ~/.vimrc
vim -c ":PlugInstall" -c ":q" -c ":q"
The Leader key is bound to Space
- Use
Ctrl h
Ctrl l
to move between open files Ctrl Left
Ctrl Right
also works for switching between files
Currently, syntastic is passive mode for all files. If you want to apply syntastic to some languages from the beginning of vim, you add languages to active_filetypes in vimrc. For example,
let g:syntastic_mode_map = {
\ "mode": "passive",
\ "active_filetypes": ["c", "cpp", "perl"],
\ "passive_filetypes": [] }
Currently, syntastic is passive mode. So if you want to use syntastic, you must
toggle the Syntastic Mode(:SyntasticToggleMode).
If you want to toggle the Syntastic Mode,
i.e. you want to change active to passive mode or passive to active mode,
press ctrl+y
Command | Description |
---|---|
PlugInstall [name ...] [#threads] |
Install plugins |
PlugUpdate [name ...] [#threads] |
Install or update plugins |
PlugClean[!] |
Remove unused directories (bang version will clean without prompt) |
PlugUpgrade |
Upgrade vim-plug itself |
PlugStatus |
Check the status of plugins |
PlugDiff |
Examine changes from the previous update and the pending changes |
PlugSnapshot[!] [output path] |
Generate script for restoring the current snapshot of the plugins |
Command | Description |
---|---|
zi | switch folding on or off |
za | toggle current fold open/closed |
zc | close current fold |
zr | decrease the foldlevel |
zR | open all folds |
zm | increase the foldlevel |
zM | close all folds |
zv | expand folds to reveal cursor |
- Use
<Leader>h
<Leader>j
<Leader>k
<Leader>l
to navigate between viewports
- Use
<C-n>
to toggle the file browser
There is a very large collection of colorschemes in this repository.
Many of them can be seen here.
Set the colorscheme using :colorscheme NAME
.