106 nnoremap <silent> <leader><leader>k :call UncolorAllWords()<CR> |
106 nnoremap <silent> <leader><leader>k :call UncolorAllWords()<CR> |
107 |
107 |
108 " mark line |
108 " mark line |
109 nmap <leader>l V<leader>k |
109 nmap <leader>l V<leader>k |
110 |
110 |
111 " use Ag for a recursive * |
111 " use Grep for a recursive * |
112 nnoremap g* :Ag<CR> |
112 nnoremap g* :Grep<CR> |
113 |
113 |
114 " K: doc, gKK: doc current filename |
114 " K: doc, gKK: doc current filename |
115 nnoremap gKK :call ViewDoc('doc', expand('%:p'))<CR> |
115 nnoremap gKK :call ViewDoc('doc', expand('%:p'))<CR> |
116 |
116 |
117 " Tabular shortcuts |
117 " Tabular shortcuts |
155 |
155 |
156 command! -nargs=* -complete=file Tig call tig#Tig(<f-args>) |
156 command! -nargs=* -complete=file Tig call tig#Tig(<f-args>) |
157 command! TigBlame call tig#TigBlame() |
157 command! TigBlame call tig#TigBlame() |
158 command! TigLog call tig#Tig('log', '-p', '--', expand('%')) |
158 command! TigLog call tig#Tig('log', '-p', '--', expand('%')) |
159 |
159 |
160 command! -nargs=* -complete=file -bar Ag call vimrc#Ag(<q-args>) |
160 command! -nargs=* -complete=file Grep call vimrc#Grep(<f-args>) |
|
161 CAlias Ag Grep |
|
162 CAlias grep Grep |
161 |
163 |
162 CAlias Q q |
164 CAlias Q q |
163 CAlias Qa qa |
165 CAlias Qa qa |
164 CAlias W w |
166 CAlias W w |
165 |
167 |