disable modeline, use relative number by default
This commit is contained in:
parent
4e471dac4d
commit
948f9572fc
1 changed files with 2 additions and 1 deletions
3
vimrc
3
vimrc
|
@ -21,6 +21,7 @@ set noerrorbells visualbell t_vb=
|
|||
set shiftwidth=3
|
||||
set tabstop=3
|
||||
set noexpandtab
|
||||
set nomodeline
|
||||
|
||||
" 256 colours at almost all times
|
||||
if $TERM =~ '^[xterm|rxvt-unicode|screen]'
|
||||
|
@ -61,7 +62,7 @@ nnoremap L $
|
|||
if v:version >= 700
|
||||
set helplang=en
|
||||
|
||||
set number
|
||||
set relativenumber
|
||||
set list
|
||||
set listchars=tab:\|_,nbsp:x,trail:•
|
||||
nnoremap <Leader>n :setlocal relativenumber! number!<CR>
|
||||
|
|
Loading…
Reference in a new issue