Skip to content

Commit 490177a

Browse files
committed
fix(defaults)!: Swap backwards slurp/barf keymaps
The default keymaps for slurping and barfing backwards were the wrong way around with respect to the mappings defined by mappings-for-regular-people. This was a mistake and is better resolved early on while it doesn't affect too many people. Closes #23
1 parent 3237777 commit 490177a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/nvim-paredit/defaults.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ local M = {}
44

55
M.default_keys = {
66
[">)"] = { api.slurp_forwards, "Slurp forwards" },
7-
[">("] = { api.slurp_backwards, "Slurp backwards" },
7+
[">("] = { api.barf_backwards, "Barf backwards" },
88

99
["<)"] = { api.barf_forwards, "Barf forwards" },
10-
["<("] = { api.barf_backwards, "Barf backwards" },
10+
["<("] = { api.slurp_backwards, "Slurp backwards" },
1111

1212
[">e"] = { api.drag_element_forwards, "Drag element right" },
1313
["<e"] = { api.drag_element_backwards, "Drag element left" },

0 commit comments

Comments
 (0)