# HG changeset patch # User Ludovic Chabant # Date 1535521686 25200 # Node ID 48933cecdf7f579dc658271d4b2e04a2c145f5f7 # Parent edefbb8ea16ab0b6088073c2e5d923ba8b7227c5 Add Tridactyl config. diff -r edefbb8ea16a -r 48933cecdf7f install.py --- 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) diff -r edefbb8ea16a -r 48933cecdf7f tridactyl/tridactylrc --- /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 buffer # \ No newline at end of file