Skip to main content

Questions tagged [git]

Questions about the integration of the Git revision control system in Vim or about the synchronisation of Vim files via Git repositories.

4 votes
2 answers
260 views

When using neovim as a git mergetool, im having troubles accepting entire blocks of conflicts from either source. <<<<<<< HEAD BRANCH 1 ======= BRANCH 2 CHANGES >>>>&...
sch-28's user avatar
  • 61
1 vote
3 answers
235 views

When using Vim to edit commit messages I want the modeline from the ~/.gitmessage template to be recognised, so I can use the colorcolumn feature to highlight the conventional line length limits. How ...
NeilG's user avatar
  • 252
1 vote
3 answers
261 views

I have come across the following problematic: How to develop a Vim plugin using a local repository, while you are at the same time testing its changes, doing commits and so forth. So in my case I'm ...
rafmartom's user avatar
2 votes
2 answers
258 views

I want to squash or drop a lot of commits during a rebase. Those commits have messages that start with TEMP, e.g.: pick 123456 TEMP: test1 pick abcdef TEMP: test2 pick asdfgh TEMP: test3 I want to ...
Ooker's user avatar
  • 135
1 vote
3 answers
420 views

I need to get information about the last person who edited the file, so I use git blame to achieve this. All I need is to run git blame -L X,Y and have it pasted in the Vim window. If I attempt one of ...
Vaska el gato's user avatar
0 votes
0 answers
65 views

The behavior I have now is that all files and folders specified in Telescope are not shown at all while I use NVChad. Is there a way to gray them out instead, so I can still see them, but just give ...
Q_Q_'s user avatar
  • 1
0 votes
1 answer
343 views

I want to be able to see a list of previous versions of a file in a git repo, select one of them to see a diff, and choose which parts from that version I want to restore, something like git checkout -...
Oneechan69's user avatar
0 votes
1 answer
83 views

When I open a file with unstaged changes it would be ideal for me to automatically jump to to them, I currently use GitGutterNextHunk from airblade/vim-gitgutter. Also as a bonus, I would also like to ...
alextrastero's user avatar
0 votes
0 answers
54 views

I am using Vim 7.4 on Linux with Vundle and Git. I am writing my own plugin called potion (following an example in the book LEARN VIMSCRIPT THE HARD WAY by Steve Losh) that is stored in my GitHub ...
MrSnrub's user avatar
  • 489
-2 votes
1 answer
170 views

I am running the :PluginInstall command with Vundle (Vim version 7.4) and attempts to run :PluginInstall will (try to) run a command like the following: git clone --depth 1 --recursive --shallow-...
MrSnrub's user avatar
  • 489
4 votes
1 answer
351 views

I am using Neovim v0.10.0 and have the following config for git difftool: [diff] tool = nvimdiff [difftool] prompt = False trustExitCode = true [difftool "nvimdiff"] cmd = ...
Lân's user avatar
  • 41
0 votes
1 answer
532 views

I'm trying to setup Neogit to open in my workspace directory instead of cwd. The problem is that I use multi root workspaces, so I usually set my cwd to be workspace1/... My initial try was to use ...
Gustaw's user avatar
  • 1
0 votes
1 answer
250 views

The following is an excerpt of my .gitconfig [core] editor = mvim autocrlf = false pager = less -FX commentchar = "#" [diff] tool = vimdiff guitool = vimdiff [merge] ...
Barzi2001's user avatar
  • 1,133
2 votes
1 answer
641 views

Here is my code from .vimrc but is not showing any icon near the branch name I'm using Plug 'itchyny/lightline.vim' " Lightline UI Plug 'tpope/vim-fugitive' " Git wrapper for Vim Plug '...
Mafsi's user avatar
  • 245
0 votes
1 answer
223 views

I am working with multiple NVim configs through multiple git branches but it appears to be broken like it doesn't update the config after I switch branch and restart Neovim. Restarting my computer ...
samuelnihoul's user avatar

15 30 50 per page
1
2 3 4 5
7