This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
linux/.config/nvim/lua/key/common.lua

13 lines
433 B
Lua
Raw Normal View History

2023-08-08 16:24:15 +03:00
require('key/rekey')
rekey_normal('<Leader>.', '@:') -- repeat command.
rekey_normal('zz', '<cmd>wa<cr>') -- save file.
rekey_normal('gh', '0') -- go left.
rekey_normal('gl', '$') -- go right.
rekey_normal('gj', 'G') -- go bottom.
rekey_normal('gk', 'gg') -- go top.
rekey_normal('U', '<C-r>') -- redo.
2023-10-03 06:46:55 +03:00
rekey_normal(';', ':') -- remap ; to :.
rekey_visual(';', ':') -- remap ; to :.