修改键位

This commit is contained in:
QQ 2023-03-24 21:59:13 +08:00
parent fa9ea104a2
commit c471db8eeb

View File

@ -16,10 +16,11 @@ G.map({
{'v', 'H', '^', opt},
{'n', 'L', '$', opt},
{'n', 'H', '^', opt},
{'v', '>', '>gv', opt},
{'v', '<', '<gv', opt},
{'n', '>', '>>', opt},
{'n', '<', '<<', opt},
{'n', 'Q', ':q!<CR>', opt},
{'n', '?', ':set hlsearch<CR>?', opt},
{'n', '/', ':set hlsearch<CR>/', opt},
@ -31,7 +32,8 @@ G.map({
{'n', '<c-h>', '<c-w>h', opt},
{'n', '<c-k>', '<c-w>k', opt},
{'n', '<c-l>', '<c-w>l', opt},
{'n', '<c-c>', ':wq<CR>', opt},
{'n', '<c-c>', ':q<CR>', opt},
{'n', '<c-s>', ':s<CR>', opt},
{'n', '<leader><leader>y', 'ggyG', opt},