diff options
| author | jdhao <jdhao@hotmail.com> | 2021-12-01 22:07:51 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-12-01 22:07:51 +0800 |
| commit | 0ad051b394c52130dca4174976c5c6fa52948683 (patch) | |
| tree | a3c70b94f6ba08797dda043b646723c11e12ce8e | |
| parent | 103e051d96964a78b610fdef0e569b5135ecd98a (diff) | |
[v0.6] Y is mapped to y$ by default
| -rw-r--r-- | core/mappings.vim | 4 |
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') |
