From: Stefan Huber Date: Thu, 12 Jun 2008 10:34:22 +0000 (+0100) Subject: adding auto-load-config of vim when pygdb gets re-activated X-Git-Tag: v0.99.1~9 X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=117954f2ec8c12ac77be9f22dc4e9450ad2b3c48;p=pygdb.git adding auto-load-config of vim when pygdb gets re-activated --- diff --git a/PositionFrame.py b/PositionFrame.py index c3751fd..d3fc3cf 100644 --- a/PositionFrame.py +++ b/PositionFrame.py @@ -57,7 +57,7 @@ class PositionFrame (StatusFrame.StatusFrame): if self.file!=None: try: - cmd = 'gvim -c ":GDBLoadConfig" %s' % (self.file) + cmd = 'gvim --servername pygdb -c ":GDBLoadConfig" %s' % (self.file) os.system(cmd) except OSError: dialog = gtk.MessageDialog(None, \ diff --git a/StatusWindow.py b/StatusWindow.py index 3d77dea..6c918e5 100644 --- a/StatusWindow.py +++ b/StatusWindow.py @@ -99,3 +99,6 @@ class StatusWindow (gtk.Window): self.fillConfiguration(conf) conf.store(".pygdb.conf") + os.system('gvim --servername pygdb --remote-send ":GDBLoadConfig"') + + diff --git a/featurerequest.txt b/featurerequest.txt index 57065fe..9cef0a2 100644 --- a/featurerequest.txt +++ b/featurerequest.txt @@ -1,9 +1,10 @@ Smaller requests + - Scrollbar for terminals - Hightlight current line in little source field - Backtrace frame - Button for step out of function ('bt', followed by 'advance') Bigger requests: - bidirectional, immediate communication with vim: - updating execution line, breakpoints when changing. + updating breakpoints when setting in vim.