summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 42e06c9..a97b547 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -286,6 +286,12 @@ endif
"" Mappings
+nnoremap <silent> <Plug>AddWhiteSpaceAfter a <Esc>h:silent call repeat#set("\<Plug>AddWhiteSpaceAfter")<cr>
+nnoremap <silent> <Plug>AddWhiteSpaceBefore i <Esc>l:silent call repeat#set("\<Plug>AddWhiteSpaceBefore")<cr>
+
+nmap ]w <Plug>AddWhiteSpaceAfter
+nmap [w <Plug>AddWhiteSpaceBefore
+
nnoremap <Leader>w :update<cr>
nnoremap <Leader>q :q!<cr>
nnoremap <Leader>d :bd!<cr>