This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
vim [2012/03/23 18:14] k2patel [VIM Scripts] |
vim [2012/03/23 18:16] k2patel [VIM Scripts] |
||
---|---|---|---|
Line 372: | Line 372: | ||
:set incsearch | :set incsearch | ||
- | :au Syntax pl source ~/.vim/perl.vim | + | :au Syntax pl source ~/.vim/test.vim |
- | :au Syntax pm source ~/.vim/perl.vim | + | :au Syntax pm source ~/.vim/test.vim |
- | :au Syntax pod source ~/.vim/perl.vim | + | :au Syntax pod source ~/.vim/test.vim |
- | :au Syntax lib source ~/.vim/perl.vim | + | :au Syntax lib source ~/.vim/test.vim |
":set foldmethod=indent | ":set foldmethod=indent | ||
":set foldlevel=0 | ":set foldlevel=0 | ||
- | |||
- | :command DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis | ||
- | \ | wincmd p | diffthis | ||
</code> | </code> |