diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-02 11:50:26 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-02 11:50:26 +1200 |
commit | af42abfadd823ae226d08d4bbcc733e56f40c49a (patch) | |
tree | 63f8f75108013719838238399b7db4fd7937c8ac /vim/vimrc | |
parent | Use g_ instead of $ for yanking command lines (diff) | |
download | dotfiles-af42abfadd823ae226d08d4bbcc733e56f40c49a.tar.gz dotfiles-af42abfadd823ae226d08d4bbcc733e56f40c49a.zip |
Add some experimental :vimgrep and :helpgrep maps
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -311,6 +311,11 @@ nnoremap <Bslash>. :<C-U>lmake!<CR> nnoremap <Bslash>< :<C-U>'[,']<<CR> nnoremap <Bslash>> :<C-U>'[,']><CR> +" \/ types :vimgrep for me ready to enter a search pattern +nnoremap <Bslash>/ :<C-U>vimgrep /\c/ **<S-Left><S-Left><Right> +" \? types :helpgrep for me ready to enter a search pattern +nnoremap <Bslash>? :<C-U>helpgrep \c<S-Left> + " \DEL deletes the current buffer nnoremap <Bslash><Delete> :bdelete<CR> " \INS edits a new buffer |