How to keymap find_till_char "\n"
?
#2706
-
Hi, I'm trying to recreate Vim Ctrl + d which in helix normal mode is equivalent to t -> Enter -> Alt + d. I try this config but it give me an error [keys.normal]
C-d = ["find_till_char \n", "delete_selection_noyank"]
# C-d = ["find_till_char <ret>", "delete_selection_noyank"] # same error
# C-d = ["find_till_char '\n'", "delete_selection_noyank"] # same error
|
Beta Was this translation helpful? Give feedback.
Answered by
the-mikedavis
Jun 8, 2022
Replies: 1 comment
-
[keys.normal]
C-d = ["extend_to_line_end", "delete_selection_noyank"] In general you can't remap key sequences where a key is used as an argument for a command like tEnter or maw yet. For those we would need #1383 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DrSensor
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
extend_to_line_end
behaves roughly the same as tEnterIn general you can't remap key sequences where a key is used as an argument for a command like tEnter or maw yet. For those we would need #1383