1
0
mirror of https://github.com/amix/vimrc synced 2025-07-16 00:25:01 +08:00

Merge branch 'master' of github.com:emmanueldiaz/vimrc-1

This commit is contained in:
emmanueldiaz
2021-02-02 18:15:15 -06:00
352 changed files with 11850 additions and 5131 deletions

View File

@ -86,7 +86,7 @@ vnoremap $2 <esc>`>a]<esc>`<i[<esc>
vnoremap $3 <esc>`>a}<esc>`<i{<esc>
vnoremap $$ <esc>`>a"<esc>`<i"<esc>
vnoremap $q <esc>`>a'<esc>`<i'<esc>
vnoremap $e <esc>`>a"<esc>`<i"<esc>
vnoremap $e <esc>`>a`<esc>`<i`<esc>
" Map auto complete of (, ", ', [
inoremap $1 ()<esc>i

View File

@ -46,9 +46,15 @@ nmap <C-n> <Plug>yankstack_substitute_newer_paste
""""""""""""""""""""""""""""""
let g:ctrlp_working_path_mode = 0
" Quickly find and open a file in the current working directory
let g:ctrlp_map = '<C-f>'
map <leader>j :CtrlP<cr>
map <C-b> :CtrlPBuffer<cr>
" Quickly find and open a buffer
map <leader>b :CtrlPBuffer<cr>
" Quickly find and open a recently opened file
map <leader>f :CtrlPMRU<CR>
let g:ctrlp_max_height = 20
let g:ctrlp_custom_ignore = 'node_modules\|^\.DS_Store\|^\.git\|^\.coffee'