vim: Nummern mit Strg+N ein/ausschalten
This commit is contained in:
parent
dce254abe5
commit
d5e6f63dc4
1 changed files with 1 additions and 1 deletions
2
.vimrc
2
.vimrc
|
@ -61,7 +61,7 @@ augroup numbertoggle
|
||||||
autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber
|
autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber
|
||||||
augroup END
|
augroup END
|
||||||
" toggle linenumbers
|
" toggle linenumbers
|
||||||
nmap <Leader>c :set norelativenumber!<CR>:set nonu!<CR>
|
nmap <C-n> :set norelativenumber!<CR>:set nonu!<CR>
|
||||||
|
|
||||||
syntax on " Enable syntax highlighting
|
syntax on " Enable syntax highlighting
|
||||||
set shiftwidth=4 " Number of spaces to use for each step of (auto)indent.
|
set shiftwidth=4 " Number of spaces to use for each step of (auto)indent.
|
||||||
|
|
Loading…
Reference in a new issue