Explorar o código

Toggle color mode with ,i instaed of C-I

Kevin Heinicke %!s(int64=6) %!d(string=hai) anos
pai
achega
2a9841b06d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      nvimrc

+ 2 - 2
nvimrc

@@ -80,8 +80,8 @@ map <C-n> :NERDTreeToggle<CR>
 " open Tagbar with CTRL+m
 map <C-m> :TagbarToggle<CR>
 
-" toggle background with CTRL+I
-map <C-I> :let &background = (&background == "dark" ? "light" : "dark")<CR>
+" toggle background with ,i
+nnoremap <leader>i :let &background = (&background == "dark" ? "light" : "dark")<CR>
 
 " :w for :W
 command W w