Added relative numbering
This commit is contained in:
parent
20441f05a6
commit
883cd6fca2
@ -1,22 +0,0 @@
|
||||
set linebreak " automatically wraps text
|
||||
set breakindent " indent for single-line wrap
|
||||
set breakindentopt=shift:3 " indent amount for single-line wrap
|
||||
|
||||
set formatoptions=lj
|
||||
" l = prevents the breaking up of words
|
||||
" j = remove comment leaders when joining lines
|
||||
|
||||
let &t_co=256 " use 256-color
|
||||
|
||||
set number " show line numbers
|
||||
set autoindent " match indentation with next line
|
||||
set smartindent " match indentation with syntax
|
||||
|
||||
set spellfile=$VIM_DIR/en.utf-8.add
|
||||
set spelllang=en
|
||||
|
||||
set showmatch " -- emit 'beep' when no matching symbol,
|
||||
set matchtime=0 " -- but don't jump to it.
|
||||
|
||||
set timeoutlen=200 " -- short timeout for multi-key functions
|
||||
|
@ -9,6 +9,8 @@ set formatoptions=lj
|
||||
let &t_co=256 " use 256-color
|
||||
|
||||
set number " show line numbers
|
||||
set relativenumber
|
||||
|
||||
set autoindent " match indentation with next line
|
||||
set smartindent " match indentation with syntax
|
||||
|
||||
|
10
vim/rc.vim
10
vim/rc.vim
@ -5,6 +5,10 @@ source $HOME/.wryn/env/env.vim
|
||||
|
||||
set encoding=utf-8
|
||||
|
||||
" set italics characters
|
||||
set t_ZH=[3m
|
||||
set t_ZR=[23m
|
||||
|
||||
let mapleader = "\\"
|
||||
"let localmapleader = ','
|
||||
|
||||
@ -45,8 +49,4 @@ nnoremap _ :m -2 <CR>
|
||||
" - (insert mode) set current word to upper-case
|
||||
inoremap <c-u> <esc>viwUea
|
||||
|
||||
" set italics characters
|
||||
set t_ZH=[3m
|
||||
set t_ZR=[23m
|
||||
|
||||
" insert the current date
|
||||
set relativenumber
|
||||
|
Loading…
Reference in New Issue
Block a user