aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2016-11-15 15:52:04 +0000
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2016-11-15 15:52:04 +0000
commitc60edce5c79be5bfa4aa35780a97519381fafbb6 (patch)
treec296caafab1f71ed8af7a5cec7c9b9d2bf16e490
parentfe8ada0254bfa3da5b85b5e5045a2b492b987033 (diff)
downloaddotfiles-c60edce5c79be5bfa4aa35780a97519381fafbb6.tar.gz
dotfiles-c60edce5c79be5bfa4aa35780a97519381fafbb6.tar.bz2
dotfiles-c60edce5c79be5bfa4aa35780a97519381fafbb6.zip
set to relativenumber only for speed
-rw-r--r--Editor/vimrc6
1 files changed, 1 insertions, 5 deletions
diff --git a/Editor/vimrc b/Editor/vimrc
index baf59e6..6688298 100644
--- a/Editor/vimrc
+++ b/Editor/vimrc
@@ -27,7 +27,7 @@ set incsearch " Incremental search
"set hidden " Hide buffers when they are abandoned
"set mouse=a " Enable mouse usage (all modes)
-set number
+set relativenumber
"set spell
set ruler
@@ -90,10 +90,6 @@ set mouse=
nnoremap <Leader>o :CtrlP<CR>
nnoremap <Leader>w :w<CR>
-"relative number in normal but just number in insert
-autocmd InsertEnter * :set norelativenumber
-autocmd InsertLeave * :set relativenumber
-
" Hard time options
let g:hardtime_maxcount = 2
let g:hardtime_default_on = 1