macvim-dev / macvim-dev/macvim

too man macvim applet in docky while using gvimdiff as svn diff tool

Offen
#607 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Vim Script
Sterne
7.9k
Forks
691
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

i am using gvimdiff tool for svn diff:
svn_diff

#!/bin/bash

svn diff --diff-cmd diffwrap.sh "$@" 2>/dev/null

diffwrap.sh

#!/bin/bash

gvimdiff $6 $7

svn status:

M       trunk/main/main.cpp
M       trunk/principle/dllmain.cpp

while i type svn_diff in terminal, the terminal show:

Index: trunk/main/main.cpp
===================================================================
Index: trunk/principle/dllmain.cpp
===================================================================
2 files to edit
2 files to edit 

two diff files open(two macvim window show, and a new macvim applet shows in docky).
how to get one diff file and one macvim window per times ? that is, while i type svn_diff in terminal,
the terminal show:

Index: trunk/main/main.cpp
===================================================================

and i quit the macvim, next time, it show

Index: trunk/principle/dllmain.cpp
===================================================================

and one new macvim show simultaneously.
in the end, while finished svn_diff(:qa in gvim_diff per diff), two macvim applet in docky, on is default i put, another is a new one. every time i execute svn_diff, always a new macvim is stick to the docky if i do not quit it.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Reproduziere das Problem, indem du die erwähnten svn_diff- und diffwrap.sh-Skripte mit mehreren geänderten Dateien ausführst. Untersuche anschließend, wie gvimdiff MacVim-Fenster und Dock-Applets startet. Als erledigt gilt die Aufgabe, wenn aufeinanderfolgende Diffs ein MacVim-Fenster verwenden und nach dem Ende der Sitzung kein zusätzliches Dock-Applet zurückbleibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
bash, macos, vim
Bereich
desktop
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.