Browse Source

.vimrc: try line number cycling again

inertia_intel_nuc
Brennen Bearnes 6 years ago
parent
commit
b2123a1f81
1 changed files with 8 additions and 7 deletions
  1. +8
    -7
      home/.vimrc

+ 8
- 7
home/.vimrc View File

@ -419,14 +419,15 @@ let mapleader = ","
amenu Cheatsheet.NERDTreeFind<Tab>F3 <F3>
" F4 toggles line numbers
map <F4> :set invnumber<CR>
imap <F4> <Esc>:set invnumber<CR>
amenu Cheatsheet.Toggle\ Line\ Numbers<Tab>F4 <F4>
" map <F4> :set invnumber<CR>
" imap <F4> <Esc>:set invnumber<CR>
" this version cycles through a couple versions of relative and absolute
" line numbers:
map <F4> :call BPB_CycleLineNumbers()<CR>
imap <F4> <Esc>:call BPB_CycleLineNumbers()<CR>
" i just am not that big a fan of relative numbers, so this version of
" the above is unused for the moment:
" map <F4> :call BPB_CycleLineNumbers()<CR>
" imap <F4> <Esc>:call BPB_CycleLineNumbers()<CR>
amenu Cheatsheet.Toggle\ Line\ Numbers<Tab>F4 <F4>
" F5 saves everything
map <F5> :wall<CR>


|||||||
x
 
000:0
Loading…
Cancel
Save