Skip to content

Instantly share code, notes, and snippets.

@bpizzi
Last active October 13, 2015 21:19
Show Gist options
  • Save bpizzi/4257053 to your computer and use it in GitHub Desktop.
Save bpizzi/4257053 to your computer and use it in GitHub Desktop.
.vimrc.local
" GUI Settings {
set t_Co=256
color xoria256
" }
"They say DON'T USE ARROW KEYS, so here we go...
map <up> :wq!<cr>
map <down> :wq!<cr>
map <right> :bn<cr>
map <left> :bp<cr>
"Exchange current with alternate buffer
nmap <silent> <leader>z :b#<cr>
nmap <space> :w<cr>
"clearing highlighted search
nmap <silent> <leader>n :set invhls<CR>:set hls?<CR>
set pastetoggle=<F2>
set nospell
"------------------------------------------------------------
"
"------------------------------------------------------------
" Set the max files
let g:ctrlp_max_files = 10000
" Optimize file searching
if has("unix")
let g:ctrlp_user_command = {
\ 'types': {
\ 1: ['.git/', 'cd %s && git ls-files']
\ },
\ 'fallback': 'find %s -type f | head -' . g:ctrlp_max_files
\ }
endif
map <leader>b :CtrlPBuffer<CR>
map <C-cr> :NERDTreeToggle<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment