Comments (6)
Well, I included it because users asked for it, but I can see the problem.
I see 2 possible solutions:
-
Like you said: remap to ]g and [g instead.
-
I could add another BufEnter hook which checks if &diff is set. People just would have to use ':diffsplit %' instead of just ':diffsplit', so the buffer actually gets reloaded.
If I can't come up with a better idea until tonight, I'll do #1.
from vim-signify.
- I could add another BufEnter hook which checks if &diff is set. People just would have to use ':diffsplit %' instead of just ':diffsplit', so the buffer actually gets reloaded.
I prefer this one, and I suggest to only map ]c,[c for signify when it is appropriate - only in a cvs repo, signify is toggled, and &diff == 0.
I hope you could also look at https://github.com/spiiph/vim-space to see if you can make this mapping compatible with motion repeating.
from vim-signify.
Does one actually want Sy to be enabled at all, if &diff == 1?
Performance-wise it would be the best to map while starting Sy and unmap while stopping Sy. So if the user switches to diff mode, he'd just have to toggle Sy off.
So I could avoid adding another BufEnter hook. And it would be somewhat futureproof.
from vim-signify.
So I could avoid adding another BufEnter hook. And it would be somewhat futureproof.
turn Sy off in diff mode is good enough for me.
from vim-signify.
Okay, I'm making some more refactoring and commit this evening or tomorrow.
from vim-signify.
BTW, spiiph used to be a regular on IRC, but got a bit inactive in the last time. I'll look into space.vim.
from vim-signify.
Related Issues (20)
- Unknown function: sy#start HOT 2
- Show git changes by colour HOT 1
- Visual bug HOT 1
- Jump to a line number without counting uncommited lines HOT 1
- For some files, the ~ symbol will always be displayed HOT 2
- Is it possible to color the line number instead of a sign? HOT 2
- Custom `numhl` highlightings are ignored HOT 2
- Vim-signify does not work. HOT 5
- Get "Undefined variable: g:signify_detecting" error when I start vim. HOT 1
- signify creates infinite highlight groups HOT 3
- Sign Blocks and lua file
- [Feature Request] Window borders for SignifyHunkDiff
- Support for DesignSync (dssc) version control system HOT 1
- documentation for legacy branch
- open all folds on disable signify folds
- Support environment variables in diff commands HOT 1
- `List index out of range` caused by missing priority in `sign place` output
- Error when opening hunk diff floating window on neovim HOT 1
- `Key not present in Dictionary` errors when using `g:signify_vcs_cmds` HOT 2
- fossil: -c 0 currently (<=fossil-2.23) does not work as expected (uses default number of context lines) HOT 1
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-signify.