diff --git a/.config/nvim/lua/my/keymaps.lua b/.config/nvim/lua/my/keymaps.lua index 0a18c9f..48fe4fb 100644 --- a/.config/nvim/lua/my/keymaps.lua +++ b/.config/nvim/lua/my/keymaps.lua @@ -12,6 +12,9 @@ for key, cmd in pairs({ Left = 'bprevious', Right = 'bnext' }) do map('n', format('', key), format(':%s', cmd)) map('i', format('', key), format(':%s', cmd)) end +-- move buffer without moving cursor +map({ 'n', 'v' }, '', '') +map({ 'n', 'v' }, '', '') --windows for key, letter in pairs({ Left = 'h', Down = 'j', Up = 'k', Right = 'l' }) do @@ -50,10 +53,6 @@ map({ 'n', 'i' }, '', end ) --- move buffer without moving cursor -map('n', '', '') -map('n', '', '') - -- system clipboard map('v', 'y', '"+y') map('n', 'p', '"+p')