summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-01-14 16:29:10 +0100
committerPatrick Simianer <p@simianer.de>2016-01-14 16:29:10 +0100
commitf74b25a08647f18cb440eb90d920ba7d474f2af0 (patch)
treee17a09211f9a10808ccb6b2d41a801bdbd436f66
parent5f0acdc14a2652e3151a8eedb591d28291825174 (diff)
vim: cursorline is so wasteful with resources
-rw-r--r--.vimrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/.vimrc b/.vimrc
index b90a80d..819e89d 100644
--- a/.vimrc
+++ b/.vimrc
@@ -8,7 +8,7 @@ set noet
set showcmd
set autoindent
set smartindent
-set cursorline
+"set cursorline
set nocp
set showmatch
set foldmethod=indent
@@ -58,8 +58,8 @@ nnoremap <C-s> :w<cr>
nmap <C-b> :TagbarToggle<cr>
" cursorline
-autocmd InsertEnter * setlocal nocursorline
-autocmd InsertLeave * setlocal cursorline
+autocmd InsertEnter * setlocal cursorline
+autocmd InsertLeave * setlocal nocursorline
" airline
let g:airline_theme = 'pks256'