summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2018-04-04 19:48:12 +0900
committerjohannst <stoelp@eit.uni-kl.de>2018-04-04 19:48:12 +0900
commit843bf2002cb91bac81befe35fb7fb46cfbf53703 (patch)
treecab16f12685df8f4e9437e1f7146c5601fa823b6
parentddb7d978b83a891e16d037a060bb9bb139152fcf (diff)
downloaddotfiles-843bf2002cb91bac81befe35fb7fb46cfbf53703.tar.gz
dotfiles-843bf2002cb91bac81befe35fb7fb46cfbf53703.zip
vimrc: removed leader mapping in inset mode, since leader is <space> key these mappings add some delay while sending <space> in insert mode
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 19a5ae2..b07b11e 100644
--- a/vimrc
+++ b/vimrc
@@ -244,7 +244,7 @@ augroup end
augroup aug:FoldMarkerKeymaps
autocmd!
autocmd FileType * if exists('b:comment_symbol') | execute "nnoremap <buffer> <leader>fm o". b:comment_symbol . "{{{ <Esc>o" . b:comment_symbol. "}}}<Esc><Up>A" | endif
- autocmd FileType * if exists('b:comment_symbol') | execute "inoremap <buffer> <leader>fm <Esc>o". b:comment_symbol . "{{{ <Esc>o" . b:comment_symbol. "}}}<Esc><Up>A" | endif
+ "autocmd FileType * if exists('b:comment_symbol') | execute "inoremap <buffer> <leader>fm <Esc>o". b:comment_symbol . "{{{ <Esc>o" . b:comment_symbol. "}}}<Esc><Up>A" | endif
autocmd FileType * if exists('b:comment_symbol') | execute "vnoremap <buffer> <leader>fm VV'<O". b:comment_symbol . "{{{ <Esc>'>o" . b:comment_symbol. "}}}<Esc>'<<Up>A" | endif
augroup end