Comments (4)
A text object might be a nice cherry-on-top, but jumping between contiguous regions is a must have for me. Since I use signs for diffs (vim-signify and vim-gitgutter) I often have large regions of signs. But I'd rather jump quickly to the places that have errors (e.g. as marked by vim-lsp).
from vim-signjump.
I think this would be pretty straight-forward to implement. Do you have a suggestion for a default mapping for this? It should probably be a <Leader>
mapping, as I'm already trampling on spell checking with the current default mappings (see #6).
Ideally signs could be configurably grouped (e.g. all signs from a certain plugin) and those treated as a single section
I could probably implement this by allowing user-defined patterns that match against sign name
s. Ideally, this idea and the one in #8 should be implemented with the same solution.
from vim-signjump.
Agreed that this should work with #8.
Don't know about default mappings, I personally would always configure this on so would suggest replacing ]s
etc. 😄
Just had a thought that it might be nice to to use a contiguous region of signs as a text object too. Then could do something like yas
to yank the region. Can open an issue for this if you like it
from vim-signjump.
Just had a thought that it might be nice to to use a contiguous region of signs as a text object too. Then could do something like yas to yank the region. Can open an issue for this if you like it
Please. I had considered this, but having an issue to keep track of would be helpful.
from vim-signjump.
Related Issues (14)
- Sign caching is imperfect HOT 1
- Turn contiguous regions of signs with the same name into text objects
- Finalize interface for name-filtered jump mappings and update help
- Jumping with no valid signs moves cursor to the beginning of the line
- Get signs from all groups HOT 2
- Use `sign_getplaced` instead of `:sign place` when possible. HOT 3
- Improve install instructions
- Plugin expects a english locale HOT 4
- Add unit tests HOT 1
- Add ability to jump in Visual mode
- Address conflict with default spell-check mappings
- Support 'wrapscan' HOT 2
- Jump by sign names HOT 17
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 vim-signjump.