Added line numbers + <F3> to toggle them locally

This commit is contained in:
Talia 2017-08-19 11:35:28 +02:00
parent 16e111489e
commit 39a0932b95

3
vimrc
View file

@ -110,6 +110,8 @@ endif
" CUSTOM STUFF " CUSTOM STUFF
set bg=dark
set number
" Filetype stuff " Filetype stuff
au BufNewFile,BufRead *.etlua set filetype=html au BufNewFile,BufRead *.etlua set filetype=html
" some options " some options
@ -130,6 +132,7 @@ nnoremap <S-tab> :retab!<enter>
nnoremap <S-tab><S-tab> :setl expandtab!<enter> :set expandtab?<enter> nnoremap <S-tab><S-tab> :setl expandtab!<enter> :set expandtab?<enter>
" Unprintable Characters " Unprintable Characters
noremap <F4> :setl list!<enter> noremap <F4> :setl list!<enter>
noremap <F3> :setl number!<enter>
set listchars=eol,tab:»\ ,trail:. set listchars=eol,tab:»\ ,trail:.
" Commands " Commands
com! Setwd :cd %:p:h com! Setwd :cd %:p:h