[Github-comments] [geany/geany-plugins] vimode: Don't use word navigation from Scintilla (#919)
Jiří Techet
notifications at xxxxx
Sat Oct 5 13:08:53 UTC 2019
Scintilla does different things when using SCI_WORDRIGHT, SCI_WORDLEFT,
SCI_WORDRIGHTEND and SCI_WORDLEFTEND than what we want for commands like
"w", "b", "W", "B", "e", "E", etc. For instance, for
ident1 = id|ent2+ident3;
where | represents the cursor, SCI_WORDRIGHT does
ident1 = ident2+|ident3;
while Vim's "w" does
ident1 = ident2|+ident3;
For this reason we have to reimplement all the word navigation by ourselves
to better emulate the behavior of Vim. This patch tries to do that.
Should fix #909
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/919
-- Commit Summary --
* vimode: Don't use word navigation from Scintilla
-- File Changes --
M vimode/src/cmds/motion.c (288)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/919.patch
https://github.com/geany/geany-plugins/pull/919.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/919
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20191005/69596815/attachment.html>
More information about the Github-comments
mailing list