From 38d212c131292c911ed40813cd12673d5459763b Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Fri, 12 Feb 2016 21:55:24 +0500 Subject: [vim] Config change and new bundle. --- files/.vimrc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'files/.vimrc') diff --git a/files/.vimrc b/files/.vimrc index 1d6f683..141a0ef 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -89,6 +89,14 @@ set smartindent set splitright set splitbelow +" Tuneup delays when using escape key +set timeout +set timeoutlen=1000 +set ttimeout +set ttimeoutlen=10 + + + " List chars {{{ set list @@ -186,6 +194,12 @@ vnoremap # :call VSetSearch()?? " }}} " Autocommands {{{ if has('autocmd') + " Cursor line only in current window and not insert mode + au WinEnter * set cursorline + au WinLeave * set nocursorline + au InsertEnter * set nocursorline + au InsertLeave * set cursorline + " TODO перенести в ftplugin autocmd FileType tex setlocal spell textwidth=79 autocmd FileType java setlocal omnifunc=javacomplete#Complete -- cgit v1.2.3