aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vim/vimrc b/.vim/vimrc
index 5adff47..761bcdc 100644
--- a/.vim/vimrc
+++ b/.vim/vimrc
@@ -146,6 +146,9 @@ nmap <leader>ra :set all& \| :source ~/.vim/vimrc \| :packloadall \|:e<cr>:Notif
" Remove trailing whitespace
nmap <leader>rs :%s/\s\+$//e
+" Dump output of command to new buffer
+nmap <leader>rr :enew \| .!<space>
+
" Remove duplicate lines
vnoremap <leader>rd !awk '\!visited[$0]++'<cr>