aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/.vimrc b/.vimrc
index 4a0f9eb..4c67e83 100644
--- a/.vimrc
+++ b/.vimrc
@@ -153,8 +153,9 @@ nmap <leader>ses :set tabstop=2 softtabstop=0 shiftwidth=2 smarttab expandtab \|
nmap <leader>set :set tabstop=2 softtabstop=0 shiftwidth=2 smarttab noexpandtab \| :%retab!<cr>
" Close buffer and window
-nmap <leader>q :bd<cr>
-nmap <leader>w <C-w>c<cr>
+nmap <leader>qq :bd<cr>
+nmap <leader>qa :silent! %bd!\|e#<cr>
+nmap <leader>qw <C-w>c<cr>
" Re-indent entire file
nmap <leader>re gg=G<C-o><C-o>