Skip to content

Commit

Permalink
fix(defaults)!: Swap backwards slurp/barf keymaps
Browse files Browse the repository at this point in the history
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
  • Loading branch information
julienvincent committed Aug 20, 2023
1 parent 3237777 commit 490177a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/nvim-paredit/defaults.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ local M = {}

M.default_keys = {
[">)"] = { api.slurp_forwards, "Slurp forwards" },
[">("] = { api.slurp_backwards, "Slurp backwards" },
[">("] = { api.barf_backwards, "Barf backwards" },

["<)"] = { api.barf_forwards, "Barf forwards" },
["<("] = { api.barf_backwards, "Barf backwards" },
["<("] = { api.slurp_backwards, "Slurp backwards" },

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

0 comments on commit 490177a

Please sign in to comment.