Add Tridactyl config
authorAmin Bandali <bandali@gnu.org>
Sun, 12 Apr 2020 22:42:05 +0000 (18:42 -0400)
committerAmin Bandali <bandali@gnu.org>
Sun, 12 Apr 2020 22:42:05 +0000 (18:42 -0400)
rc.org

diff --git a/rc.org b/rc.org
index b84b21b..45ef4a8 100644 (file)
--- a/rc.org
+++ b/rc.org
@@ -1988,6 +1988,51 @@ RESTORE_DEVICE_STATE_ON_STARTUP=1
 #DEVICES_TO_DISABLE_ON_UNDOCK=""
 #+end_src
 
 #DEVICES_TO_DISABLE_ON_UNDOCK=""
 #+end_src
 
+** Tridactyl
+:PROPERTIES:
+:header-args+: :tangle ~/.config/tridactyl/tridactylrc
+:END:
+
+#+begin_src conf
+bind n scrollline 2
+bind p scrollline -2
+
+bind 0 scrollto 0 x
+bind - scrollto 100 x
+
+bind P tabprev
+bind N tabnext
+
+bind d scrollpage 0.5
+bind u scrollpage -0.5
+unbind <C-d>
+unbind <C-u>
+
+bind x tabclose
+bind X undo
+bind <C-S> stop
+
+bind gd tabduplicate
+bind gw tabdetach
+
+bind O fillcmdline bmarks
+
+bind ;<Space> fillcmdline_notrail
+
+unbind <C-f>
+
+set hintfiltermode vimperator-reflow
+set hintnames numeric
+set urlparenttrailingslash false
+
+set browser abrowser
+" set newtab https://bandali.eu.org
+
+seturl warrior.uwaterloo.ca noiframe true
+
+" autocmd DocStart www.reddit.com js tri.excmds.urlmodify("-t", "www", "old")
+#+end_src
+
 ** X
 
 *** xinit
 ** X
 
 *** xinit