vim: Collection of vim stuff
RudraNilBasu opened this issue · comments
Rudra Nil Basu commented
Collection of vim stuff, which may make a good blog post if the numbers turn out to be good enough.
- Folding based on syntax/indent: https://stackoverflow.com/a/4559609
- Recoding in vim: #6
- convert tab = x spaces in a file: #4
- Make Ctrl-P view all the files (kien/ctrlp.vim#234 (comment))
- Increase the depth:
let g:ctrlp_max_files=20000
- Clear all cache:
:CtrlPClearAllCaches
- Increase the depth:
- Ctrl-P use external progs for searching (faster)
:help ctrlp
, search forgit ls-files
let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files']
- Project
Grep
(or use fugitive'sGgrep
)
List of all bundles I use:
bundle indentLine pathogen vim-airline vim-fugitive
ctrlp.vim nerdcommenter tagbar vim-coffee-script vim-gitgutter
fzf nerdtree typescript-vim vim-endwise vim-rails