diff options
author | Johannes Stolp <jstolp@vgfr65cs2.internal.synopsys.com> | 2016-05-28 12:46:18 +0200 |
---|---|---|
committer | Johannes Stolp <jstolp@vgfr65cs2.internal.synopsys.com> | 2016-05-28 12:46:18 +0200 |
commit | 526bea9511f2845f15eca7982842a9780e0b78bf (patch) | |
tree | 5c8d0cb1a3bfbbe84cb3385fe1b08b919fde12af /.vim/vimrc_files/keymaps.vim | |
parent | 0ce14bf5b5862fbdebbdfb3526b58e52511dd2a3 (diff) | |
download | dotfiles-526bea9511f2845f15eca7982842a9780e0b78bf.tar.gz dotfiles-526bea9511f2845f15eca7982842a9780e0b78bf.zip |
Added vim shortcut to grep and print into current buffer
Diffstat (limited to '.vim/vimrc_files/keymaps.vim')
-rw-r--r-- | .vim/vimrc_files/keymaps.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.vim/vimrc_files/keymaps.vim b/.vim/vimrc_files/keymaps.vim index 5862b2f..b430240 100644 --- a/.vim/vimrc_files/keymaps.vim +++ b/.vim/vimrc_files/keymaps.vim @@ -68,3 +68,7 @@ nnoremap <c-n> :call ToggleRelativeNumber()<CR> " Open BufferExplorer nnoremap <C-b> :call BufExplorer()<CR> + + +" invoke grep and print output into current buffer +nnoremap <C-g> :read !grep -nI |