You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using lightspeed for almost a year now and I've gotten used to the key combos I use to move around. The documentation has recommended migrating to leap.nvim but every now and then, there's friction with migration due to the issue below:
Problem
The special keys are probably nice for someone new to leap, but it's not convenient for my usecases while writing code. For example, in light speed dt<cr> will delete everything to the end of the current line but even after adding flit.nvim and setting all special keys to empty strings, I couldn't make this work as expected.
TLDR; and are very valid characters for my usecase that I don't want overridden, how can i configure this?
SideNote
My motivation for migration in the first place is the ease of configuration of leap compared to lightspeed. I have always wanted to unmap , because lightspeed overrides my <localleader> key.
The text was updated successfully, but these errors were encountered:
You can disable special keys by setting them to e.g. '' (empty string). Don't set them to nil thought, that would throw an error. If you want to target EOL with enter, add an equivalence class (opts.equivalence_classes = { '\r\n', ... }) - \r, i.e. enter will find \n, i.e. the newline character. But you should press enter twice then, there is no hardcoded EOL shortcut here in Leap, as opposed to Lightspeed. See :help leap-to-eol.
I've been using lightspeed for almost a year now and I've gotten used to the key combos I use to move around. The documentation has recommended migrating to leap.nvim but every now and then, there's friction with migration due to the issue below:
Problem
The special keys are probably nice for someone new to leap, but it's not convenient for my usecases while writing code. For example, in light speed
dt<cr>
will delete everything to the end of the current line but even after addingflit.nvim
and setting all special keys to empty strings, I couldn't make this work as expected.TLDR; and are very valid characters for my usecase that I don't want overridden, how can i configure this?
SideNote
My motivation for migration in the first place is the ease of configuration of leap compared to lightspeed. I have always wanted to unmap
,
because lightspeed overrides my<localleader>
key.The text was updated successfully, but these errors were encountered: