4 ms·
Y behavior is the most baffling, disgusting, characteristic of any text editor ever. This page really should instruct users to remap to y$.
by lvass 5y ago
Y behavior is the most baffling, disgusting, characteristic of any text editor ever. This page really should instruct users to remap to y$.
- bokchoi 5y agoyay for neovim mapping Y to y$ by default. https://neovim.io/doc/user/vim_diff.html#default-mappings https://neovim.io/doc/user/vim_diff.html#default-mappings
- jah 5y agoThis mapping is the new default in Neovim 0.6 (https://github.com/neovim/neovim/commit/5a111c1b02bbfbc2b42df11d7205153be0893dff https://github.com/neovim/neovim/commit/5a111c1b02bbfbc2b42d...)
- wolverine876 5y agoFrom Vim help: > If you like "Y" to work from the cursor to the end of line (which is more logical, but not Vi-compatible) use ":map Y y$".