vimrc: Add hotkeys to toggle dark/light mode!
F11 makes background=dark. Shift+F11 makes background=light.
This commit is contained in:
parent
7f959ed497
commit
1bcc946a38
1 changed files with 2 additions and 0 deletions
2
.vimrc
2
.vimrc
|
|
@ -280,6 +280,8 @@ map <F2> :!git grep -n '<cword>' $(git rev-parse --show-toplevel)<cr>
|
|||
map <F3> :!git blame %<cr>
|
||||
map <F5> :w!<cr>:!xelatex %<cr>
|
||||
map <F9> :w!<cr>:!md-previewer %<cr>
|
||||
map <F11> :set background=dark<cr>
|
||||
map <S-F11> :set background=light<cr>
|
||||
map <F12> :mksession!<cr>
|
||||
|
||||
" Rainbow Parenthesis settings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue