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
When a replacement requires moving the cursor back across a line boundary, external text expansion tools (like Espanso or AutoHotkey) fail in Neovim.
By default, Neovim blocks the and arrows from wrapping lines in Insert mode --> This causes expanders to "get stuck" at the start of a line. Not ideal.
The Fix:
vim.opt.whichwrap:append("[,],b")
Proposal:
Add this to the official FAQ or a "Compatibility" section in the Wiki. Modern workflows using global text expanders are common, and this "hidden" default behavior is a major friction point for new users.
It took me 9 months to figure this out(I didn't know how text expanders move cursor :D). Also LLM was of no help it kept hallucinating over and over.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When a replacement requires moving the cursor back across a line boundary, external text expansion tools (like Espanso or AutoHotkey) fail in Neovim.
By default, Neovim blocks the and arrows from wrapping lines in Insert mode --> This causes expanders to "get stuck" at the start of a line. Not ideal.
The Fix:
Proposal:
Add this to the official FAQ or a "Compatibility" section in the Wiki. Modern workflows using global text expanders are common, and this "hidden" default behavior is a major friction point for new users.
It took me 9 months to figure this out(I didn't know how text expanders move cursor :D). Also LLM was of no help it kept hallucinating over and over.
Before:
https://github.com/user-attachments/assets/b8ca16cb-870a-49f3-8ab0-67f04fdce8d2
After:
https://github.com/user-attachments/assets/0d94527e-5560-4731-830a-d908f541837a
fixed the problem:
https://github.com/user-attachments/assets/84bed73f-28a5-4b0e-ab2f-7eacf8ddbf12
Btw Emacs Evil mode has vim.opt.whichwrap:append("[,],b") by default just saying:
https://github.com/user-attachments/assets/d415fc6a-6cd9-45c9-82a3-6a211dbb73a6
Beta Was this translation helpful? Give feedback.
All reactions