3 ms·
Let me also give an insight why keybindings are UNBOUND :) Each person has different criteria of what is important, Some people like code actions, some think i
by predragnikolic 5y ago
Let me also give an insight why keybindings are UNBOUND :)
Each person has different criteria of what is important,
Some people like code actions, some think it is the goto definition command, but almost all keybinding in LSP are UNBOUND. The main reason is to not cause conflicts with default keybindings.
Here is an example for code actions. Most editors use `ctrl+.` to trigger code actions,
but `ctrl+.` is a default ST keybinding used to go to the next modification in the code.
A lot of people consider it bad if a plugin overrides default keybindings,
so LSP lets the user decide what keybinding to assign to LSP commands.
Hope the explanation helps.