Comments (4)
It's mainly for 'neovide' and maybe for other plugins that provide visual feedback when cursor jumps. In 'neovide' there's a visual effect for when cursor jumps and it can be distracting in this particular case because cursor jumps in cmdline only to be 'hidden'. That's why I think it would be better if 'mini.pick' truly hid cursor.
I see. I'll take a look, but in my experience this type of "cache and restore" is better to be avoided because if something goes wrong (in this case, MiniPickStop
User
event is not triggered for some reason), cursor might not get restored. And this will be a very visible (or, rather, invisible :) ) issue.
from mini.nvim.
Thanks for the suggestion!
Can you please elaborate on why is it better to avoid putting cursor in command line?
from mini.nvim.
It's mainly for 'neovide' and maybe for other plugins that provide visual feedback when cursor jumps. In 'neovide' there's a visual effect for when cursor jumps and it can be distracting in this particular case because cursor jumps in cmdline only to be 'hidden'. That's why I think it would be better if 'mini.pick' truly hid cursor.
from mini.nvim.
And 'mini.pick' would work as intended with 'noice.nvim' out of the box.
from mini.nvim.
Related Issues (20)
- Follow global system-wide dark mode preference HOT 2
- mini.splitjoin - Golang requires an additional `,` on the last argument HOT 2
- mini.animate scroll to respect scrolloff settings HOT 1
- mini.clue default bindings support HOT 2
- mini.run: simple run configs manager in your editor HOT 3
- mini.statusline: disable statusline per buffer HOT 1
- mini.git: when visiting the diff file of HEAD, `show_at_cursor()` opens the current file instead of a snapshot HOT 6
- mini.starter fuzzy find HOT 1
- Option to disable setup_termbg_sync() compatibility layer with modern terminals HOT 8
- Cannot select or filter LSP document/workspace symbols HOT 4
- `mini.indentscope` doesn't play well with `showbreak` option HOT 2
- New mini.cmdline module to show UI like folke/noice.nvim HOT 1
- MiniSession.read() not triggering tree-sitter highlighting inside an autocommand HOT 2
- arrow.nvim like functionality to jump to specific file. HOT 3
- Can't change filetype (htmldjango) icon HOT 1
- suggestion: use `vim.g.terminal_color_*` to highlight mini.icons by default if they're set HOT 1
- mini.files doesn't follow symlinks HOT 4
- Error executing lua when using bracketed's treesitter jumps HOT 2
- Folder icons like .git do not look any different from other, yaml and yml files have exclamation mark as icon HOT 2
- mini.files bad argument #1 to 'fs_read' (number expected, got nil) in Windows 11 HOT 9
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 mini.nvim.