Browse Source

Start trying out relative line numbering

Alois Mahdal 4 years ago
parent
commit
e78cbff9d6
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      dotfiles/vim/vimrc

+ 2
- 0
dotfiles/vim/vimrc View File

71
 set updatetime=100
71
 set updatetime=100
72
 set t_vb=
72
 set t_vb=
73
 set pastetoggle=<F4>
73
 set pastetoggle=<F4>
74
+nmap <F3> :set relativenumber!<CR>
74
 
75
 
75
 if has('mouse')
76
 if has('mouse')
76
   set mouse=a
77
   set mouse=a
132
 set ruler
133
 set ruler
133
 set showcmd
134
 set showcmd
134
 set nowrap
135
 set nowrap
136
+set relativenumber
135
 
137
 
136
 if &t_Co > 2 || has("gui_running")
138
 if &t_Co > 2 || has("gui_running")
137
   syntax on
139
   syntax on