diff options
-rw-r--r-- | vimrc-full | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -518,6 +518,9 @@ if has("autocmd") | |||
518 | " put the current files name after the cursor... | 518 | " put the current files name after the cursor... |
519 | let @f = ":exe ':normal a'.expand('%:t')" | 519 | let @f = ":exe ':normal a'.expand('%:t')" |
520 | 520 | ||
521 | " grep all buffers for a given string and return result in a quickfix window | ||
522 | let @q = ":cex [] | bufdo vimgrepadd /foo/g % | cw" | ||
523 | |||
521 | " exec current line as a command, insert output of command (from: https://youtu.be/MquaityA1SM?t=35m45s) | 524 | " exec current line as a command, insert output of command (from: https://youtu.be/MquaityA1SM?t=35m45s) |
522 | nnoremap Q !!$SHELL<CR> | 525 | nnoremap Q !!$SHELL<CR> |
523 | 526 | ||