Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for CSI sequences as lhs in mappings #17108

Open
akharrou opened this issue Jan 16, 2022 · 2 comments
Open

Support for CSI sequences as lhs in mappings #17108

akharrou opened this issue Jan 16, 2022 · 2 comments
Labels
complexity:high High-risk, potential for delicate/cascading effects enhancement feature request input mappings key bindings tui

Comments

@akharrou
Copy link

akharrou commented Jan 16, 2022

Would it be possible to have syntax for setting CSI sequence mappings ? E.g.:

# keybindings.vim
nnoremap "<Esc>[1;9A" 5k
nnoremap "<Esc>[1;9B" 5j
nnoremap "<Esc>[106;9u" bprevious
nnoremap "<Esc>[107;9u" bnext
nnoremap "<Esc>[117;9u" <cmd><cr>
@akharrou akharrou added the enhancement feature request label Jan 16, 2022
@zeertzjq
Copy link
Member

Related: #2204

@zeertzjq
Copy link
Member

Also, do not write a feature request like a usage question.

@clason clason closed this as completed Jan 16, 2022
@clason clason reopened this Jan 16, 2022
@clason clason changed the title How to properly set a CSI keyboard shortcut mapping ? Support for CSI keyboard shortcut mapping Jan 16, 2022
@clason clason changed the title Support for CSI keyboard shortcut mapping Support for CSI sequences as lhs in mappings Jan 16, 2022
@zeertzjq zeertzjq added the complexity:high High-risk, potential for delicate/cascading effects label Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity:high High-risk, potential for delicate/cascading effects enhancement feature request input mappings key bindings tui
Projects
None yet
Development

No branches or pull requests

3 participants