dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit afc25f76173deac4550b152d0f61ba813018ef87
parent 45c092670a15eab992cab075851486ee20123b99
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Sun,  6 Oct 2013 17:26:20 +0200

added relative numbering, toggled by <leader>m

Diffstat:
M.vimrc | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.vimrc b/.vimrc @@ -106,8 +106,8 @@ endif set dictionary+=/usr/share/dict/words " Vim Powerline -"let g:Powerline_symbols = 'fancy' -let g:Powerline_symbols = 'unicode' +let g:Powerline_symbols = 'fancy' +"let g:Powerline_symbols = 'unicode' " Define other file types autocmd! BufNewFile,BufRead *.pde setlocal ft=arduino @@ -132,6 +132,9 @@ nmap <leader>s :set spell!<CR> " toggle line numbering nmap <leader>n :set number!<CR> +" toggle relative line numbering +nmap <leader>m :set relativenumber<CR> + " NERD Tree short cut nmap <leader>d :NERDTreeToggle<CR>