]> git.sthu.org Git - pygdb.git/commitdiff
adding auto-load-config of vim when pygdb gets re-activated
authorStefan Huber <shuber2@gmail.com>
Thu, 12 Jun 2008 10:34:22 +0000 (11:34 +0100)
committerStefan Huber <shuber2@gmail.com>
Thu, 12 Jun 2008 10:34:22 +0000 (11:34 +0100)
PositionFrame.py
StatusWindow.py
featurerequest.txt

index c3751fd7bc688d74da43d0f542c6d9844326cc8f..d3fc3cf86588052c29b8b547d9efda4989178a03 100644 (file)
@@ -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, \
index 3d77dea2d21b939efcf72968e87bd0a184183182..6c918e5c306731c3d36212c4c749977b30a54f37 100644 (file)
@@ -99,3 +99,6 @@ class StatusWindow (gtk.Window):
                self.fillConfiguration(conf)
                conf.store(".pygdb.conf")
 
+               os.system('gvim --servername pygdb --remote-send ":GDBLoadConfig<CR>"')
+
+
index 57065fe117f3d359c5e3e454e029bd75e904ceca..9cef0a284c2527db8efd2d0eae88c0aae5a8ce4d 100644 (file)
@@ -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.