diff --git a/lua/plex/config/keymaps.lua b/lua/plex/config/keymaps.lua index be6a2dd..4a5d166 100644 --- a/lua/plex/config/keymaps.lua +++ b/lua/plex/config/keymaps.lua @@ -116,8 +116,8 @@ map('n', 'o', 'o', { desc = 'Insert newline below' }) map('i', '', 'o', { desc = 'Start Newline' }) -- Split and join lines -map('n', 'j', ':join', { desc = 'Join lines', silent = true }) -map('n', 's', 'ik', { desc = 'Join lines', silent = true }) +map('n', 'jj', ':join', { desc = 'Join lines', silent = true }) +map('n', 'ss', 'ik', { desc = 'Join lines', silent = true }) -- Re-select blocks after indenting in visual/select mode map('x', '<', 'sj', 'lua MiniSplitjoin.join()', mode = { 'n', 'x' }, desc = 'Join arguments', }, { - 'sk', + 'sk', 'lua MiniSplitjoin.split()', mode = { 'n', 'x' }, desc = 'Split arguments', diff --git a/lua/plex/plugins/editor.lua b/lua/plex/plugins/editor.lua index 1676b35..a3aa9ba 100644 --- a/lua/plex/plugins/editor.lua +++ b/lua/plex/plugins/editor.lua @@ -187,7 +187,7 @@ return { 'ggandor/leap.nvim', -- stylua: ignore keys = { - { 'tt', '(leap-forward-to)', mode = { 'n', 'x', 'o' }, desc = 'Leap forward to' }, + { 't', '(leap-forward-to)', mode = { 'n', 'x', 'o' }, desc = 'Leap forward to' }, { 'T', '(leap-backward-to)', mode = { 'n', 'x', 'o' }, desc = 'Leap backward to' }, { 'wt', '(leap-from-window)', mode = { 'n', 'x', 'o' }, desc = 'Leap from windows' }, }, @@ -405,8 +405,8 @@ return { local mappings = { { '-', pick_window, desc = 'Pick window' }, - { 'sp', pick_window, desc = 'Pick window' }, - { 'sw', swap_window, desc = 'Swap picked window' }, + { 'wp', pick_window, desc = 'Pick window' }, + { 'ww', swap_window, desc = 'Swap picked window' }, } return vim.list_extend(mappings, keys) end, diff --git a/lua/plex/plugins/extras/treesitter/treesj.lua b/lua/plex/plugins/extras/treesitter/treesj.lua index 52cdb0a..0cc6162 100644 --- a/lua/plex/plugins/extras/treesitter/treesj.lua +++ b/lua/plex/plugins/extras/treesitter/treesj.lua @@ -3,8 +3,8 @@ return { 'Wansmer/treesj', cmd = { 'TSJJoin', 'TSJSplit' }, keys = { - { 'sj', 'TSJJoin' }, - { 'sk', 'TSJSplit' }, + { 'sj', 'TSJJoin' }, + { 'sk', 'TSJSplit' }, }, }, }