Comments (5)
@zeertzjq mentioned that NeoVim has a custom mapping for @
, and indeed unmapping that solves the issue. They mentioned this is a feature (as in, the mapping), but the documentation of :h v_@-default
makes no mention of it removing the visual selection.
Even if the intent is to somehow remove the selection, it seems super counter-intuitive to map that to @
as it directly contradicts what Vim has been doing for who knows how long.
from neovim.
It seems that these mappings also don't really work properly in blockwise Visual mode: a macro that starts with A
appends after the end of the line rather than after the Visual selection. Maybe it makes more sense to only do the repeat in linewise Visual mode, but that also seems a bit strange.
from neovim.
The intention of #21422 is to apply a Normal mode macro on multiple lines, so it's necessary for the mapping to stop Visual mode.
from neovim.
Wouldn't it also make sense in visual block mode, where each 'line' would start at the block selection?
from neovim.
But it doesn't really work.
from neovim.
Related Issues (20)
- Crash "nvim: /home/runner/work/neovim/neovim/src/nvim/message.c:2392: msg_scroll_flush: Assertion `to_scroll >= 0' failed." HOT 9
- popup windows should have URI for lsp extensions HOT 1
- cursorcolumn drastically slows down scrolling HOT 3
- Bicep omnifunc completion mismatch between popup menu and inserted selection HOT 3
- node.js :checkhealth code has runtime error HOT 2
- `vim.base64.decode()` return value is truncated HOT 1
- configdir does not take into account HOME env HOT 1
- Loss of Arbitrary Functions in Autocommands After Upgrading to Neovim nightly (v0.10.0-dev-2830) HOT 1
- Python Tree-sitter @spell highlights string prefixes HOT 5
- custom lint rules for Lua code HOT 2
- Lightweight enhancements to documentation syntax HOT 14
- The help docs do not work correctly with vimdoc TS parser installed HOT 5
- Fixing `'shell'` on Windows, properly HOT 12
- LSP: hook into all inbound and outbound requests HOT 3
- Default colorscheme incorrect HOT 10
- ts_parser__handle_error HOT 2
- Neovim crash almost instantly on MacOS (SEGFAULT) HOT 5
- "test / with-external-deps" CI job is frequently failing HOT 3
- Treesitter kill nvim in astro file HOT 5
- vim.ui.open fails to open the URL that contais equal (`=`) in WSL HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neovim.