Skip to content

Instantly share code, notes, and snippets.

@OliverUv
Created January 12, 2013 02:53
Show Gist options
  • Save OliverUv/4515800 to your computer and use it in GitHub Desktop.
Save OliverUv/4515800 to your computer and use it in GitHub Desktop.
GistID: 4515800
Replacement for seemingly shitty autoclose
https://github.com/Raimondi/delimitMate
Replacement for ultrapooty Snipmate
https://github.com/guns/ultisnips
Replacement for pooty SuperTab (this is some seriously cool shit! also still maintained)
https://github.com/Shougo/neocomplcache
Replacement for FuzzyFinder (yes, it is even better goddam! also still maintained)
https://github.com/kien/ctrlp.vim
Colours paren pairs so you can see which matches which
(use the g:rainbow_operators = 2 thing !)
https://github.com/vim-scripts/Rainbow-Parentheses-Improved-and2
comment binds for coding, seems to have easier bindings than nerdcommenter though perhaps not as much functionality
https://github.com/tpope/vim-commentary
browser-like back/forward commands for splits
https://github.com/ton/vim-bufsurf
toggle quick and location lists visible and invisible (written by xaimus!)
https://github.com/ihameed/vim-togglelist
make space and shift-space/backspace repeat last movement command - this is an improved fork I found on github :) Watch out though, by default it applies this behaviour to buffer and tab switches, something I've disabled because gosh
https://github.com/jfelchner/vim-space
Settings to make CtrlP act like FuzzyFinder:
Otherwise opening in splits will be on c-x and c-s instead of the ol' c-j c-k (which by default move up and down, as c-p c-n do in FF). CtrlP used c-n and c-p to step in history, which is a great feature so i moved it to c-[ and c-]
let g:ctrlp_prompt_mappings = {
\ 'PrtBS()': ['<bs>'],
\ 'PrtSelectMove("j")': ['<c-n>', '<down>'],
\ 'PrtSelectMove("k")': ['<c-p>', '<up>'],
\ 'PrtHistory(-1)': ['<c-[>'],
\ 'PrtHistory(1)': ['<c-]>'],
\ 'AcceptSelection("h")': ['<c-x>', '<c-cr>', '<c-s>', '<c-j>'],
\ 'AcceptSelection("v")': ['<c-v>', '<RightMouse>', '<c-k>'],
\ 'ToggleFocus()': ['<s-tab>'],
\ }
let g:ctrlp_working_path_mode = '0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment