![]() Git.showCommitInFloating: Show commit in floating or popup window, default: false Git.splitWindowCommand: Command used when split new window for show commit., default: "above sp" : Commit message with scope field, default: true : Highlight group for change removed sign., default: "DiffChange" : Text of change removed sign., default: "≃" : Highlight group for top removed sign., default: "DiffDelete" : Text of top removed sign., default: "‾" : Highlight group for removed sign., default: "DiffDelete" : Highlight group for added sign., default: "DiffAdd" : Highlight group for changed sign., default: "DiffChange" Git.signPriority: Priority of sign gutters, default to 10. Git.realtimeGutters: Update gutters in realtime, default: true., default: true Git.enableGutters: Enable gutters in sign column., default: true Git.enableGlobalStatus: Enable global g:coc_git_status., default: true Git.untrackedDecorator: Git untracked decorator used with g:coc_git_status, default: "…" Git.stagedDecorator: Git staged decorator used with g:coc_git_status, default: " Git.conflictedDecorator: Git conflicted decorator used with g:coc_git_status, default: "x" Git.changedDecorator: Git changed decorator used with g:coc_git_status, default: "*" Git.branchCharacter: Branch character used with g:coc_git_status, default: "" Git.addGBlameToBufferVar: Add git blame information to b:coc_git_blame., default: false Git.addGBlameToVirtualText: Add git blame information to virtual text, require virtual text feature of neovim., default: false Git.virtualTextPrefix: Prefix of git blame infomation to virtual text, require virtual text feature of neovim., default: " " Supported interpolation variables: %i - issue id. Git.issueFormat: Formatting string for issue completion. Git.urlFix: a object to configure the url style of copyUrl and browserOpen, make this two command support other git services like gitlab and gitea. Git.browserBranchName: Branch name for browserOpen and copyUrl., default: "" Git.browserRemoteName: Remote name for browserOpen and copyUrl., default: "" Git.remoteName: Remote name for fetch github issues., default: "origin" Git.command: Command for git, could be absolute path of git executable., default: "git" GitLab host needs to be set in coc-settings.json, for example "":.GITLAB_PRIVATE_TOKEN=XXX needs to be set in env, check Personal access tokens.current only API v4 support, which availabled since GitLab 9.0.Note for GitLab issues completion support: GITHUB_API_TOKEN=xxx needs to be set in env to fetch issues from private repositories.Note for GitHub issues completion support: Completion support for GitHub/GitLab issues.Completion support for semantic commit.Keymaps for git conflicts, including (coc-git-nextconflict), (coc-git-prevconflict), (coc-git-keepcurrent), (coc-git-keepincoming) & (coc-git-keepboth).Commands for chunks, including git.chunkInfo git.chunkStage git.chunkUndo and more.Keymaps for git chunks, including (coc-git-chunkinfo) (coc-git-nextchunk) & (coc-git-prevchunk) ,. ![]() Git related lists, including issues, gfiles, gstatus, commits, branches & bcommits.Git status of current line, by b:coc_git_blame for statusline, and addGBlameToVirtualText for inline blames.Git status of current buffer, by b:coc_git_status.Git status of current project, by g:coc_git_status.Sign support for git status of current buffer.Semantic commit and github issues completion support.Sadly I don't have sufficient of any of those personally. Locking the scrolling of a vc-annotate buffer with the editing buffer, and moving the coloring to the commit info, seems like it would be reasonably doable for someone with a little Elisp skill, time and inclination. I can see that the shadow buffer option as you're showing could work well, but AFAIK it doesn't currently exist, and digging into vc-annotate is well worth your time, even if it has a different flavor. Much as I love magit in general, I find magit-blame very hard to parse and use compared to vc-annotate. It would be nice to combine all these features into something richer. But it's an old VC-agnostic feature that isn't the most polished or as git-aware as it could be. The mode has a bunch of other features like jumping to the commit before/at the line under the cursor etc., so is quite a rich and useful mode for actually navigating and understanding the history. The coloring of it is a very useful visual indication of the age of the commits by lines redder for 'hotter' new changes through to blue for old ones. It's something I dip into for forensic purposes, and not really something I want visible the rest of the time. It's definitely to be viewed in its own right, not alongside the editing buffer, but that workflow works well in my experience. With vc-annotate ( C-x v g) your cursor will be on the same line you summoned it from which helps a lot with the cognitive reconciliation. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |