From 526bea9511f2845f15eca7982842a9780e0b78bf Mon Sep 17 00:00:00 2001 From: Johannes Stolp Date: Sat, 28 May 2016 12:46:18 +0200 Subject: Added vim shortcut to grep and print into current buffer --- .vim/vimrc_files/keymaps.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.vim') 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 :call ToggleRelativeNumber() " Open BufferExplorer nnoremap :call BufExplorer() + + +" invoke grep and print output into current buffer +nnoremap :read !grep -nI -- cgit v1.2.3