gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz Gzz.py


From: Benja Fallenstein
Subject: [Gzz-commits] gzz Gzz.py
Date: Mon, 06 Jan 2003 10:01:45 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Benja Fallenstein <address@hidden>      03/01/06 10:01:45

Modified files:
        .              : Gzz.py 

Log message:
        some more bindings

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/Gzz.py.diff?tr1=1.65&tr2=1.66&r1=text&r2=text

Patches:
Index: gzz/Gzz.py
diff -u gzz/Gzz.py:1.65 gzz/Gzz.py:1.66
--- gzz/Gzz.py:1.65     Mon Jan  6 08:04:14 2003
+++ gzz/Gzz.py  Mon Jan  6 10:01:45 2003
@@ -34,7 +34,7 @@
 def call(list, type=gzz.potion.CommandCall):
     if list is None: return None
     if isinstance(list, gzz.potion.Expression): return list
-    print list
+    #print list
     head = list[0]
     params = [call(l, gzz.potion.FunctionCall) for l in list[1:]]
     return type(head(), params)
@@ -164,8 +164,18 @@
                 'Alt-M': action([MarkHalfRank, [PrefixOrThis], None]),
                'q': action(call([Quit])),
                'Q': action(call([Quit])),
-               'x': action(call([ChangeDim, const(0), const(1)])),
-               'Alt-X': action(call([ChangeDim, const(0), const(-1)])),
+               'x': action(call([ChangeDim, const(0), const(1)]), 1),
+               'y': action(call([ChangeDim, const(1), const(1)]), 1),
+               'z': action(call([ChangeDim, const(2), const(1)]), 1),
+               'X': action(call([ChangeDim, const(0), const(1)]), 0),
+               'Y': action(call([ChangeDim, const(1), const(1)]), 0),
+               'Z': action(call([ChangeDim, const(2), const(1)]), 0),
+               'Alt-X': action(call([ChangeDim, const(0), const(-1)]), 1),
+               'Alt-Y': action(call([ChangeDim, const(1), const(-1)]), 1),
+               'Alt-Z': action(call([ChangeDim, const(2), const(-1)]), 1),
+               'Alt-Shift-X': action(call([ChangeDim, const(0), const(-1)]), 
0),
+               'Alt-Shift-Y': action(call([ChangeDim, const(1), const(-1)]), 
0),
+               'Alt-Shift-Z': action(call([ChangeDim, const(2), const(-1)]), 
0),
                'v': action(call([ChangeView, const(1)])),
                'Alt-V': action(call([ChangeView, const(-1)])),
                 'b': action(call([Break, None])),




reply via email to

[Prev in Thread] Current Thread [Next in Thread]