changeset 447:48933cecdf7f

Add Tridactyl config.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 28 Aug 2018 22:48:06 -0700
parents edefbb8ea16a
children cc00cbbf5460
files install.py tridactyl/tridactylrc
diffstat 2 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/install.py	Mon May 21 21:59:23 2018 -0700
+++ b/install.py	Tue Aug 28 22:48:06 2018 -0700
@@ -249,6 +249,13 @@
     ])
 
 
+def install_tridactyl():
+    cfgname = '~/_tridactylrc' if is_windows else '~/.tridactylrc'
+    writelines(cfgname, [
+        'source %s' % _p('tridactyl/tridactylrc')
+    ])
+
+
 def _on_error_try_make_readable(func, path, exc_info):
     if not os.access(path, os.W_OK):
         os.chmod(path, stat.S_IWUSR)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tridactyl/tridactylrc	Tue Aug 28 22:48:06 2018 -0700
@@ -0,0 +1,11 @@
+echo "Welcome to Tridactyl"
+
+set searchengine duckduckgo
+
+bind J tabprev
+bind K tabnext
+
+bind < tabmove -1
+bind > tabmove +1
+
+bind <F1> buffer #
\ No newline at end of file