aboutsummaryrefslogtreecommitdiff
path: root/core/mappings.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-12-01 22:07:51 +0800
committerjdhao <jdhao@hotmail.com>2021-12-01 22:07:51 +0800
commit0ad051b394c52130dca4174976c5c6fa52948683 (patch)
treea3c70b94f6ba08797dda043b646723c11e12ce8e /core/mappings.vim
parent103e051d96964a78b610fdef0e569b5135ecd98a (diff)
[v0.6] Y is mapped to y$ by default
Diffstat (limited to 'core/mappings.vim')
-rw-r--r--core/mappings.vim4
1 files changed, 0 insertions, 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 <expr> <Space>O printf('m`%sO<ESC>``', v:count1)
" Insert a space after current character
nnoremap <Space><Space> a<Space><ESC>h
-" 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 <expr> j (v:count == 0 ? 'gj' : 'j')
nnoremap <expr> k (v:count == 0 ? 'gk' : 'k')