From 4362edc3adcf7160d252388b2e68d5376d369efa Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Sun, 26 Aug 2018 16:32:47 +0100 Subject: [PATCH] mappings --- vimrc.d/mappings.vim | 2 ++ vimrc.plugins.vim | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/vimrc.d/mappings.vim b/vimrc.d/mappings.vim index b223964..660fda7 100644 --- a/vimrc.d/mappings.vim +++ b/vimrc.d/mappings.vim @@ -24,6 +24,8 @@ vnoremap gr y:grep! -R " . nnoremap td :grep! -R '// *TODO' .:botright cwindow:echo len(getqflist()) 'TODOs' " devdocs mapping nnoremap dd :DD +" write and delete current buffer +nnoremap bx :w\|bd "}}} diff --git a/vimrc.plugins.vim b/vimrc.plugins.vim index 448d3ee..e4a62a4 100644 --- a/vimrc.plugins.vim +++ b/vimrc.plugins.vim @@ -162,6 +162,13 @@ let g:inline_edit_patterns = [{ \ 'end': '' \ }] +let g:inline_edit_autowrite = 1 +let g:inline_edit_proxy_type = "tempfile" +let g:inline_edit_new_buffer_command ="tabedit" +let g:inline_edit_modify_statusline = 0 + +nnoremap ie :InlineEdit + " asyncomplete.vim "{{{ " let g:asyncomplete_auto_popup = 0