diff --git a/lua/plex/config/keymaps.lua b/lua/plex/config/keymaps.lua index d4f80b9..c218c88 100644 --- a/lua/plex/config/keymaps.lua +++ b/lua/plex/config/keymaps.lua @@ -120,8 +120,10 @@ map('n', 'o', 'o', { desc = 'Insert newline below' }) map('i', '', 'o', { desc = 'Start Newline' }) -- Split and join lines -map('n', 'jj', ':join', { desc = 'Join lines', silent = true }) -map('n', 'ss', 'ik', { desc = 'Split lines', silent = true }) +map('n', 'jj', ':joing$', { desc = 'Join lines', silent = true }) +map('n', 'jJ', 'k:joinj', { desc = 'Join lines', silent = true }) +map('n', 'ss', 'i', { desc = 'Split lines', silent = true }) +map('n', 'sS', 'ik', { desc = 'Split lines', silent = true }) -- Re-select blocks after indenting in visual/select mode map('x', '<', '