Also added key for highlight in visual mode.

This commit is contained in:
Oliver Hartmann 2018-12-26 23:03:06 +01:00
parent bbe727f757
commit d3010572af

View File

@ -76,6 +76,11 @@ imap <C-S> <ESC>:wa<CR>
"Jump to last modification line
map ö `.
nnoremap ü :let @/='\<<C-R>=expand("<cword>")<CR>\>'<CR>:set hls<CR>
vnoremap <silent> ü :<C-U>
\let old_reg=getreg('"')<Bar>let old_regtype=getregtype('"')<CR>
\gvy:let @/=substitute(
\escape(@", '/\.*$^~['), '\_s\+', '\\_s\\+', 'g')<CR>
\gV:call setreg('"', old_reg, old_regtype)<CR>:set hls<CR>
" =================Comments============================
map <C-C> :TComment<CR>