Browse Source

Start trying out relative line numbering

Alois Mahdal 5 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,6 +71,7 @@ set directory+=.
71 71
 set updatetime=100
72 72
 set t_vb=
73 73
 set pastetoggle=<F4>
74
+nmap <F3> :set relativenumber!<CR>
74 75
 
75 76
 if has('mouse')
76 77
   set mouse=a
@@ -132,6 +133,7 @@ set list listchars=tab:→\ ,trail:·,precedes:←
132 133
 set ruler
133 134
 set showcmd
134 135
 set nowrap
136
+set relativenumber
135 137
 
136 138
 if &t_Co > 2 || has("gui_running")
137 139
   syntax on