Skip to content

Commit

Permalink
fix: make the sequence <subkey><key><subkey> work (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-programs committed Jul 8, 2024
1 parent bbfdf77 commit 9ba7653
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/better_escape.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ local function map_keys()
end
-- Make sure we are in the correct sequence
if not parent_keys[mode][subkey][last_key] then
log_key(key)
return subkey
end
vim.api.nvim_input(undo_key[mode] or "")
Expand Down

0 comments on commit 9ba7653

Please sign in to comment.