.vimrc

changeset 832
8acb094e5e12
parent 831
1b8dd5465d3e
child 833
b47cbc3b5db1
equal deleted inserted replaced
831:1b8dd5465d3e 832:8acb094e5e12
103 103
104 " mark line 104 " mark line
105 nmap <leader>l V<leader>k 105 nmap <leader>l V<leader>k
106 106
107 " use Ag for a recursive * 107 " use Ag for a recursive *
108 nnoremap g* :Ag <cword><CR> 108 nnoremap g* :Ag<CR>
109 109
110 " K: doc, gKK: doc current filename 110 " K: doc, gKK: doc current filename
111 nnoremap gKK :call ViewDoc('doc', expand('%:p'))<CR> 111 nnoremap gKK :call ViewDoc('doc', expand('%:p'))<CR>
112 112
113 " Tabular shortcuts 113 " Tabular shortcuts
129 command! Mksession execute "mksession! " . v:this_session 129 command! Mksession execute "mksession! " . v:this_session
130 130
131 command! -nargs=* -complete=file Tig call tig#Tig(<f-args>) 131 command! -nargs=* -complete=file Tig call tig#Tig(<f-args>)
132 command! TigBlame call tig#TigBlame() 132 command! TigBlame call tig#TigBlame()
133 133
134 command! -nargs=+ -complete=file -bar Ag call vimrc#Ag(<q-args>) 134 command! -nargs=* -complete=file -bar Ag call vimrc#Ag(<q-args>)
135 CAlias Rg Ag 135 CAlias Rg Ag
136 136
137 CAlias Q q 137 CAlias Q q
138 CAlias Qa qa 138 CAlias Qa qa
139 CAlias W w 139 CAlias W w

mercurial