From 72c39240811f1def43fca71de51566d206f7728d Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Thu, 21 Jan 2021 19:33:10 +0100 Subject: Update 2021-01-21T18:33:10Z --- .vim/init.vim | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to '.vim/init.vim') diff --git a/.vim/init.vim b/.vim/init.vim index 23c94c5..8ebf080 100644 --- a/.vim/init.vim +++ b/.vim/init.vim @@ -46,9 +46,10 @@ augroup Colors augroup END " Make comments italic, no matter what the colorscheme does -hi Comment gui=italic +hi Comment gui=italic cterm=italic " Fix ugly looking grey when transparent_background=1 hi SignColumn guibg=none ctermbg=none +hi MatchParen gui=underline cterm=underline " }}} " key bindings {{{ @@ -91,6 +92,7 @@ nmap v :Vista!! nmap nt :call numbertoggle#switch() nmap tn :rightbelow Tnew nmap gF :lua require'misc'.open_under_cursor() +nmap gf :lua require'misc'.open_under_cursor('open') noremap gx :lua require'misc'.open_under_cursor('url-launcher') augroup netrw_maps au! @@ -159,8 +161,12 @@ hi SignifySignChange guibg=NONE ctermbg=NONE hi SignifySignAdd guibg=NONE ctermbg=NONE hi SignifySignDelete guibg=NONE ctermbg=NONE -nmap ]h SignifyJumpToNextHunk -nmap [h SignifyJumpToPrevHunk +" NOTE: it's not a good idea to start the bind with `h` +" since that will interfere with cursor movement +" nmap ]h SignifyJumpToNextHunk +" nmap [h SignifyJumpToPrevHunk +nmap ]h (signify-next-hunk) +nmap [h (signify-prev-hunk) " }}}2 let g:vue_disable_pre_processors = 1 -- cgit 1.4.1