diff options
Diffstat (limited to 'vimrc-full')
-rw-r--r-- | vimrc-full | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -672,6 +672,9 @@ if has("autocmd") | |||
672 | 672 | ||
673 | let @l = ":let g:signify_vcs_cmds={'git': 'git diff --no-color --no-ext-diff -U0 HEAD^ -- %f'}|:SignifyRefresh" | 673 | let @l = ":let g:signify_vcs_cmds={'git': 'git diff --no-color --no-ext-diff -U0 HEAD^ -- %f'}|:SignifyRefresh" |
674 | 674 | ||
675 | let @r = ":!nvr --servername /tmp/nvimsocket --remote %" | ||
676 | |||
677 | |||
675 | " exec current line as a command, insert output of command (from: https://youtu.be/MquaityA1SM?t=35m45s) | 678 | " exec current line as a command, insert output of command (from: https://youtu.be/MquaityA1SM?t=35m45s) |
676 | nnoremap Q !!$SHELL<CR> | 679 | nnoremap Q !!$SHELL<CR> |
677 | 680 | ||
@@ -754,7 +757,7 @@ function! HighlightWordUnderCursor() | |||
754 | let l:currentword = escape(expand('<cword>'), '.') | 757 | let l:currentword = escape(expand('<cword>'), '.') |
755 | if(strlen(l:currentword) > 0) | 758 | if(strlen(l:currentword) > 0) |
756 | let w:m1=100 | 759 | let w:m1=100 |
757 | silent! call matchadd('WordBold', l:currentword, -1, w:m1) | 760 | silent! call matchadd('WordBold', '\<'.l:currentword.'\>', -1, w:m1) |
758 | endif | 761 | endif |
759 | endfunction | 762 | endfunction |
760 | 763 | ||