]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
add search engines and key-choards
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 5 Aug 2015 15:09:40 +0000 (17:09 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 5 Aug 2015 15:09:40 +0000 (17:09 +0200)
- engine-mode: added github and google

- key-chord: added ,, to cperl and cfengine3.

bba.org

diff --git a/bba.org b/bba.org
index 84e6aaa8314e8b36f22a3963d3dd5b47a6061ca1..6a5b43bcdefc107ccced70ddfdd14b4a3df5c786 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -229,6 +229,8 @@ search the web on your fingertips. C-c /.
 | a | amazon.de   |
 | b | bing        |
 | c | cfengine    |
+| g | google      |
+| G | github      |
 | m | google maps |
 | w | wikipedia   |
 | y | youtube     |
@@ -256,6 +258,16 @@ search the web on your fingertips. C-c /.
             )
 
 
+          (defengine github
+            "http://www.github.com/search?q=%s"
+            :keybinding "G"
+            )
+
+          (defengine google
+            "http://www.google.com/?q=%s"
+            :keybinding "g"
+            )
+
           (defengine google-maps
             "http://maps.google.com/maps?q=%s"
             :keybinding "m"
@@ -1581,7 +1593,9 @@ combine key strokes to access commands even faster.
   (key-chord-mode 1)
   (setq key-chord-two-keys-delay 0.16)
   (key-chord-define cfengine3-mode-map ";;" "\C-e;")
+  (key-chord-define cfengine3-mode-map ",," "\C-e,")
   (key-chord-define cperl-mode-map ";;" "\C-e;")
+  (key-chord-define cperl-mode-map ",," "\C-e,")
   (key-chord-define-global "uu" 'undo)
   (key-chord-define-global "xb" 'ido-switch-buffer)
   (key-chord-define-global "xf" 'ido-find-file)