Conflicting keybindings #432

Closed
opened 7 months ago by vizz · 4 comments
vizz commented 7 months ago

Sorry, I really couldn't come up with a better title.

Here is the issue: I unmaped spawn-terminal with none and mapped delete-prev-word to Mod1+d. Now when I open foot I get this error:

error: /home/user/.config/foot/foot.ini:115: Mod1+d already mapped to 'spawn-terminal'

My foot.ini

foot -v: foot version: 1.7.1 +ime +pgo

Sorry, I really couldn't come up with a better title. Here is the issue: I unmaped `spawn-terminal` with `none` and mapped `delete-prev-word` to `Mod1+d`. Now when I open foot I get this error: ``` error: /home/user/.config/foot/foot.ini:115: Mod1+d already mapped to 'spawn-terminal' ``` [My foot.ini](https://pastebin.com/HjggTUF7) `foot -v`: foot version: 1.7.1 +ime +pgo
Owner

Verified, and certainly looks like a bug :/

Verified, and certainly looks like a bug :/
dnkl added the
bug
label 7 months ago
Owner

There's actually two bugs, I think. One, regular bindings doesn't affect search bindings. Meaning it's probably referencing the wrong string lookup table when displaying the error message.

And second, the apparent non-collision.

There's actually two bugs, I think. One, regular bindings doesn't affect search bindings. Meaning it's probably referencing the wrong string lookup table when displaying the error message. And second, the apparent non-collision.
Owner

Fixing the error message, we now get:

 err: config.c:1257: /home/daniel/.config/foot/foot.ini:115: Mod1+d already mapped to 'delete-next-word'

which makes more sense; Alt+d is one of the default key combinations for delete-next-word (there's a typo in the man page, which says it's Alt+b - this is wrong).

In other words, make sure you unset, or change, delete-next-word before you try to assign Alt+d to delete-prev-word.

Fixing the error message, we now get: ``` err: config.c:1257: /home/daniel/.config/foot/foot.ini:115: Mod1+d already mapped to 'delete-next-word' ``` which makes more sense; <kbd>Alt</kbd>+<kbd>d</kbd> is one of the default key combinations for `delete-next-word` (there's a typo in the man page, which says it's <kbd>Alt</kbd>+<kbd>b</kbd> - this is wrong). In other words, make sure you unset, or change, `delete-next-word` before you try to assign <kbd>Alt</kbd>+<kbd>d</kbd> to `delete-prev-word`.
dnkl closed this issue 7 months ago
Poster

Thanks for the replies and quick fix!

Thanks for the replies and quick fix!
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.