Added relative numbering

This commit is contained in:
Wryn Wagner 2020-02-06 09:47:59 -07:00
parent 20441f05a6
commit 883cd6fca2
3 changed files with 7 additions and 27 deletions

View File

@ -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

View File

@ -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

View File

@ -5,6 +5,10 @@ source $HOME/.wryn/env/env.vim
set encoding=utf-8
" set italics characters
set t_ZH=
set t_ZR=
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=
set t_ZR=
" insert the current date
set relativenumber