]> gitweb @ CieloNegro.org - sugar.git/commitdiff
Auto commit by The Sugar System.
authorPHO <pho@cielonegro.org>
Wed, 29 Jul 2009 01:57:13 +0000 (10:57 +0900)
committerPHO <pho@cielonegro.org>
Wed, 29 Jul 2009 01:57:13 +0000 (10:57 +0900)
IGNORE
dot-files/_riece/save [new file with mode: 0644]
dot-files/_vimperator/plugin/feed-button_js [new file with mode: 0644]
dot-files/_vimperator/plugin/walk-input_js [new file with mode: 0644]
dot-files/_vimperatorrc [new file with mode: 0644]

diff --git a/IGNORE b/IGNORE
index 5f589402d63f36275631b89f238b9380af8f1a48..49861720441f18937c24d0af004251abf29a11e4 100644 (file)
--- a/IGNORE
+++ b/IGNORE
 .aspell.*
 .btpd
 .cabal
+.cddbslave
 .config
+.covers
 .cpan
+.cpanplus
+.cvspass
 .dbus
+.dillo/cookiesrc
 .dmrc
 .dvdcss
 .easytag
@@ -34,6 +39,7 @@
 .eshell
 .fetchmailrc
 .firefox
+.fltk
 .fluxbox/apps
 .fluxbox/init
 .fluxbox/lastwallpaper
 .fonts.conf
 .forward
 .gconf*
+.gegl-*
 .gimp*
+.gitk
 .glimpse*
+.gmpc
 .gnome2*
 .gnucash
 .gnupg
@@ -68,6 +77,7 @@
 .mplayer/DVDKeys
 .mplayer/config
 .mplayer/gui.*
+.mplayer/registry
 .mplayer/skins
 .mplayer/subfont.ttf
 .nautilus
 .openoffice*
 .pan
 .projects.ede
+.pulse
+.pulse-cookie
 .qt
 .recently-used*
+.riece/log
 .rnd
 .rpmmacros
 .s9x
 .uim.d
 .unison
 .viminfo
+.vimperator/info
 .w3m/bookmark.bak.html
 .w3m/config
 .w3m/*arrived
 .xchat2*
 .xdvirc
 .xsession-errors
+.yafc/bookmarks
 .zcomp*
 .zfunc
diff --git a/dot-files/_riece/save b/dot-files/_riece/save
new file mode 100644 (file)
index 0000000..a8d11e7
--- /dev/null
@@ -0,0 +1,12 @@
+;;; This file is generated automatically by Riece v5.0.0.
+;;; Do not edit this file!
+
+(custom-set-variables
+ '(riece-server-alist (("nem.cielonegro.org:15051" :service 15051 :host "nem.cielonegro.org")))
+ '(riece-channel-buffer-mode t)
+ '(riece-others-buffer-mode t)
+ '(riece-user-list-buffer-mode t)
+ '(riece-channel-list-buffer-mode t)
+ '(riece-layout "default")
+ '(riece-addons (riece-highlight riece-ctcp riece-guess riece-unread riece-history riece-url riece-button riece-menu riece-icon riece-ignore riece-log riece-toolbar riece-alias riece-ctlseq riece-keyword riece-shrink-buffer riece-mcat))
+)
\ No newline at end of file
diff --git a/dot-files/_vimperator/plugin/feed-button_js b/dot-files/_vimperator/plugin/feed-button_js
new file mode 100644 (file)
index 0000000..bb07a2b
--- /dev/null
@@ -0,0 +1,8 @@
+(function(){
+var feedPanel = document.createElement('statusbarpanel');
+var feedButton = document.getElementById('feed-button');
+feedPanel.setAttribute('id','feed-panel-clone');
+feedPanel.appendChild(feedButton.cloneNode(true));
+feedButton.parentNode.removeChild(feedButton);
+document.getElementById('status-bar').insertBefore(feedPanel,document.getElementById('security-button'));
+})();
diff --git a/dot-files/_vimperator/plugin/walk-input_js b/dot-files/_vimperator/plugin/walk-input_js
new file mode 100644 (file)
index 0000000..fcf4781
--- /dev/null
@@ -0,0 +1,63 @@
+// Vimperator plugin: 'Walk Input'
+// Last Change: 2008-05-22.
+// License: BSD
+// Version: 1.0
+// Maintainer: Takayama Fumihiko <tekezo@pqrs.org>
+
+// ------------------------------------------------------------
+// The focus walks <input> & <textarea> elements.
+// If you type M-i first, the focus moves to "<input name='search' />".
+// Then if you type M-i once more, the focus moves to "<input name='name' />".
+//
+// <html><body>
+//     <input name="search" />
+//     <a href="xxx">xxx</a>
+//     <a href="yyy">yyy</a>
+//     <a href="zzz">zzz</a>
+//     <input name="name" />
+//     <textarea name="comment" />
+//  </body></html>
+
+
+var walkinput = function(forward) {
+    var win = document.commandDispatcher.focusedWindow;
+    var d = win.document;
+    var xpath = '//input[@type="text" or @type="password" or @type="search" or not(@type)] | //textarea';
+    var list = d.evaluate(xpath, d, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
+    if (list.snapshotLength == 0) return;
+
+    var focused = document.commandDispatcher.focusedElement;
+    var current = null;
+    var next = null;
+    var prev = null;
+    for (var i = 0; i < list.snapshotLength; ++i) {
+        var e = list.snapshotItem(i);
+        if (e == focused) {
+            current = e;
+        } else if (current && next == null) {
+            next = e;
+        } else if (current == null) {
+            prev = e;
+        }
+    }
+    if (forward == true && next) {
+        next.focus();
+    } else if (forward == false && prev) {
+        prev.focus();
+    } else {
+        if (forward == true) {
+            list.snapshotItem(0).focus();
+        } else {
+            list.snapshotItem(list.snapshotLength - 1).focus();
+        }
+    }
+};
+
+liberator.mappings.add([liberator.modes.NORMAL], ['<M-i>'], 'Walk Input Fields', function() { walkinput(true); });
+liberator.mappings.add([liberator.modes.INSERT], ['<M-i>'], 'Walk Input Fields', function() { walkinput(true); });
+liberator.mappings.add([liberator.modes.NORMAL], ['<A-i>'], 'Walk Input Fields', function() { walkinput(true); });
+liberator.mappings.add([liberator.modes.INSERT], ['<A-i>'], 'Walk Input Fields', function() { walkinput(true); });
+liberator.mappings.add([liberator.modes.NORMAL], ['<M-I>'], 'Walk Input Fields', function() { walkinput(false); });
+liberator.mappings.add([liberator.modes.INSERT], ['<M-I>'], 'Walk Input Fields', function() { walkinput(false); });
+liberator.mappings.add([liberator.modes.NORMAL], ['<A-I>'], 'Walk Input Fields', function() { walkinput(false); });
+liberator.mappings.add([liberator.modes.INSERT], ['<A-I>'], 'Walk Input Fields', function() { walkinput(false); });
diff --git a/dot-files/_vimperatorrc b/dot-files/_vimperatorrc
new file mode 100644 (file)
index 0000000..b392500
--- /dev/null
@@ -0,0 +1,6 @@
+"2.1 (created: 2009/05/21 13:13:06)
+
+map h <C-p>
+map l <C-n>
+
+" vim: set ft=vimperator: