1
0
Fork 0

disable modeline, use relative number by default

This commit is contained in:
Von Random 2016-06-01 18:43:39 +03:00
parent 4e471dac4d
commit 948f9572fc

3
vimrc
View file

@ -21,6 +21,7 @@ set noerrorbells visualbell t_vb=
set shiftwidth=3 set shiftwidth=3
set tabstop=3 set tabstop=3
set noexpandtab set noexpandtab
set nomodeline
" 256 colours at almost all times " 256 colours at almost all times
if $TERM =~ '^[xterm|rxvt-unicode|screen]' if $TERM =~ '^[xterm|rxvt-unicode|screen]'
@ -61,7 +62,7 @@ nnoremap L $
if v:version >= 700 if v:version >= 700
set helplang=en set helplang=en
set number set relativenumber
set list set list
set listchars=tab:\|_,nbsp:x,trail:• set listchars=tab:\|_,nbsp:x,trail:•
nnoremap <Leader>n :setlocal relativenumber! number!<CR> nnoremap <Leader>n :setlocal relativenumber! number!<CR>