aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
m---------files/.vim/bundle/vim-bracketed-paste0
-rw-r--r--files/.vimrc14
3 files changed, 17 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index f7526f8..b9cc2ae 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -84,3 +84,6 @@
[submodule "files/.vim/bundle/ag"]
path = files/.vim/bundle/ag
url = https://github.com/rking/ag.vim
+[submodule "files/.vim/bundle/vim-bracketed-paste"]
+ path = files/.vim/bundle/vim-bracketed-paste
+ url = https://github.com/ConradIrwin/vim-bracketed-paste
diff --git a/files/.vim/bundle/vim-bracketed-paste b/files/.vim/bundle/vim-bracketed-paste
new file mode 160000
+Subproject 148df8cb2621beb9d5865336ddea7caeb6f6dd7
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 # :<C-u>call <SID>VSetSearch()<CR>??<CR><C-o>
" }}}
" 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