Hello. First of all, thanks for this amazing package!
I'm personally used to a navigation in normal and visual state where backward-sexp is analogous to evil-backward-word-begin and forward-sexp is analogous to evil-forward-word-end. To elaborate, I want:
abc def
^ >
(abc def) ghi
^ >
(abc def) ghi
^ >
where ^ is the current position of the point and > is where the point should be after the forward-sexp operation. Similarly, I want:
abc def
< ^
ghi (abc def)
< ^
ghi (abc def)
< ^
where ^ is the current position of the point and < is where the point should be after the backward-sexp operation.
IIUC, none of the functionalities that lispyville provides does something like this, due to the off-by-one error from the mismatch between Emacs's point system and Vim's point system. Therefore, I wrote my own:
Hello. First of all, thanks for this amazing package!
I'm personally used to a navigation in normal and visual state where
backward-sexp
is analogous toevil-backward-word-begin
andforward-sexp
is analogous toevil-forward-word-end
. To elaborate, I want:where
^
is the current position of the point and>
is where the point should be after theforward-sexp
operation. Similarly, I want:where
^
is the current position of the point and<
is where the point should be after thebackward-sexp
operation.IIUC, none of the functionalities that lispyville provides does something like this, due to the off-by-one error from the mismatch between Emacs's point system and Vim's point system. Therefore, I wrote my own:
If you think it's useful, feel free to adapt it. Any suggestion would be appreciated, too!