From 0ad051b394c52130dca4174976c5c6fa52948683 Mon Sep 17 00:00:00 2001 From: jdhao Date: Wed, 1 Dec 2021 22:07:51 +0800 Subject: [PATCH] [v0.6] Y is mapped to y$ by default --- core/mappings.vim | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/mappings.vim b/core/mappings.vim index c53d379..9607e2a 100644 --- a/core/mappings.vim +++ b/core/mappings.vim @@ -53,10 +53,6 @@ nnoremap O printf('m`%sO``', v:count1) " Insert a space after current character nnoremap ah -" Yank from current cursor position to the end of the line (make it -" consistent with the behavior of D, C) -nnoremap Y y$ - " Move the cursor based on physical lines, not the actual lines. nnoremap j (v:count == 0 ? 'gj' : 'j') nnoremap k (v:count == 0 ? 'gk' : 'k')