Comments (13)
Exactly when does it happen? Everytime the signs get updated?
from vim-signify.
Yeah, even if I jumping between splits. Give me time to play with it and I will write more explanation what is actually going on.
btw I'm running my vim inside of tmux.
from vim-signify.
Let's assume you have 2 splits open. If you switch to a window that contains actual changes it's quick. But when the buffer was not modified since the last commit, it's slow.
Is that right?
from vim-signify.
I find it's slow on save. I assume it's waiting on git diff
?
from vim-signify.
On a VCS-controlled file?
from vim-signify.
Yes, under git.
from vim-signify.
The signs will be updated every time the file gets saved && was modified. If a VCS was already detected, git in this case, it will automatically used from now on. Then yes, it's only processing the output of 'git diff'.
As a general rule for gaining better performance with this plugin:
-
set
g:signify_vcs_list
to only the VCS you use. Only these will be checked for when a new file gets opened. -
set
g:signify_update_on_bufenter
to 0, if you often switch between buffers. -
If you're working in a file with LOTS of changes, you're free to disable signify temporary using
<leader>gt
Otherwise it's really just processing the diff output of an external tool. There's not much to make it a lot faster.
Some things are planned for the 2.0 release, though.
from vim-signify.
Hey, sorry for delay, I finally found case when it becoming slow. When I switching between untracked (I'm using git) files every jump takes about 2-3 seconds. I don't know why maybe something wrong with my repo.
from vim-signify.
btw thank you for so awesome plugin! It's really great work!
from vim-signify.
Well, it sounds exactly like what is described in :h signify-options
. You want to set signify_vcs_list. :-)
And thanks!
from vim-signify.
Thanks! I guess this issue can be closed then :-).
from vim-signify.
May I suggest adding the information about g:signify_vcs_list
to the README? When I type "vim signi" in google one of the first suggestions is "vim signify slow". This indicates that a lot of people have this problem and it deserves a more prominent place in the documentation.
Thanks for the awesome plugin!
from vim-signify.
Well, it's because nobody googles something if it's working blazing fast for him. ;-) And it's one of the very first things in the documentation (read: help file). The README is usually not meant for documentation purposes, at least not for Vim plugins.
But yes, I guess I can throw in anoher sentence. Thanks for the feedback!
EDIT: I stressed the use of g:signify_vcs_list
in the README now.
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.