diff options
-rw-r--r-- | vim/vimrc | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2,7 +2,7 @@ " Tom Ryder (tejr)’s Literate Vimrc " ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ " -" Last updated: Mon, 11 May 2020 06:18:28 UTC +" Last updated: Mon, 11 May 2020 06:25:19 UTC " " │ And I was lifted up in heart, and thought " │ Of all my late-shown prowess in the lists, @@ -1557,15 +1557,15 @@ sunmap <Leader>7 "" - Set search string to word under cursor "" - Show search highlighting if it's enabled "" - Don't move the cursor -nnoremap <silent> <Leader>* - \ :<C-U>let @/ = expand('<cword>')<CR>:let &hlsearch = &hlsearch<CR> +nnoremap <Leader>* + \ :<C-U>let @/ = expand('<cword>') <Bar> let &hlsearch = &hlsearch<CR> nmap <Leader>8 \ <Leader>* "" Leader,` opens a scratch buffer, horizontally split -nnoremap <silent> <Leader>` +nnoremap <Leader>` \ :<C-U>ScratchBuffer<CR> "" Leader,~ opens a scratch buffer, vertically split -nnoremap <silent> <Leader>~ +nnoremap <Leader>~ \ :<C-U>vertical ScratchBuffer<CR> " And last, but definitely not least, I’m required by Vim fanatic law to |