diff --git a/vim/general_set.vim b/vim/general_set.vim deleted file mode 100644 index 3ddfeed..0000000 --- a/vim/general_set.vim +++ /dev/null @@ -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 - diff --git a/vim/global_sets.vim b/vim/global_sets.vim index e715ae9..6b1699a 100644 --- a/vim/global_sets.vim +++ b/vim/global_sets.vim @@ -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 diff --git a/vim/rc.vim b/vim/rc.vim index 530dca6..57e8e25 100644 --- a/vim/rc.vim +++ b/vim/rc.vim @@ -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 " - (insert mode) set current word to upper-case inoremap viwUea -" set italics characters -set t_ZH= -set t_ZR= - -" insert the current date +set relativenumber