aboutsummaryrefslogtreecommitdiff
path: root/plugin/vim-options.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/vim-options.vim')
-rw-r--r--plugin/vim-options.vim8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index 1626b09..6125c13 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -126,6 +126,12 @@ nnoremap <A-}> j}k^
vnoremap <A-{> k{w
vnoremap <A-}> j}k^
nnoremap <leader>y :call system('nc -w 1 172.17.0.1 41401', @0)<CR>
+" Delete current file and purge buffer
+function! Rm()
+ :call delete(expand('%')) | bdelete!
+endfunction
+nnoremap <leader>erm :call Rm()<CR>
+
@@ -236,7 +242,7 @@ if !empty(glob($EditorDir.'plugged/taboo.vim/plugin/taboo.vim'))
execute ":TabooRename " . term
endif
endfunction
- nnoremap <leader>er :call RenameTab()<CR>
+ nnoremap <leader>err :call RenameTab()<CR>
endif
"-----------------------------------------------------------------------------------------------------------------------