From ba2d5ef5c8ac0899e0f70bf8171fb7113c6dec4f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 11 May 2020 18:25:45 +1200 Subject: Remove unneeded modifiers from maps --- vim/vimrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'vim') diff --git a/vim/vimrc b/vim/vimrc index ccd660cc..98c109a3 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -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 7 "" - Set search string to word under cursor "" - Show search highlighting if it's enabled "" - Don't move the cursor -nnoremap * - \ :let @/ = expand(''):let &hlsearch = &hlsearch +nnoremap * + \ :let @/ = expand('') let &hlsearch = &hlsearch nmap 8 \ * "" Leader,` opens a scratch buffer, horizontally split -nnoremap ` +nnoremap ` \ :ScratchBuffer "" Leader,~ opens a scratch buffer, vertically split -nnoremap ~ +nnoremap ~ \ :vertical ScratchBuffer " And last, but definitely not least, I’m required by Vim fanatic law to -- cgit v1.2.3