Skip to content

Is it possible or normal to get <BS> (backspace) not to terminate? #132

Answered by dcampos
unphased asked this question in Q&A
Discussion options

You must be logged in to vote

I have these select mode mappings in my config for so long that I don't remember where I took them from, but all they do is make <BS>, <c-h> and <Delete> work properly in select mode:

vim.keymap.set('s', '<BS>', '<c-g>"_c')
vim.keymap.set('s', '<c-h>', '<c-g>"_c')
vim.keymap.set('s', '<Delete>', '<c-g>"_c')

I hope they solve it for you too.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@unphased
Comment options

Answer selected by dcampos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants