mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -05:00
Minor tweak to RC file
This commit is contained in:
parent
41d393ed76
commit
3ab42e64b7
1 changed files with 5 additions and 0 deletions
|
@ -48,6 +48,11 @@ bind yg composite js "git clone " + document.location.href.replace(/https?:\/\//
|
||||||
" As above but execute it and open terminal in folder
|
" As above but execute it and open terminal in folder
|
||||||
bind ,g js let uri = document.location.href.replace(/https?:\/\//,"git@").replace("/",":").replace(/$/,".git"); tri.native.run("cd ~/projects; git clone " + uri + "; cd \"$(basename \"" + uri + "\" .git)\"; st")
|
bind ,g js let uri = document.location.href.replace(/https?:\/\//,"git@").replace("/",":").replace(/$/,".git"); tri.native.run("cd ~/projects; git clone " + uri + "; cd \"$(basename \"" + uri + "\" .git)\"; st")
|
||||||
|
|
||||||
|
|
||||||
|
" make d take you to the tab you were just on (I find it much less confusing)
|
||||||
|
bind d composite tab #; tabclose #
|
||||||
|
bind D tabclose
|
||||||
|
|
||||||
" I like wikiwand but I don't like the way it changes URLs
|
" I like wikiwand but I don't like the way it changes URLs
|
||||||
bindurl wikiwand.com yy composite js document.location.href.replace("wikiwand.com/en","wikipedia.org/wiki") | clipboard yank
|
bindurl wikiwand.com yy composite js document.location.href.replace("wikiwand.com/en","wikipedia.org/wiki") | clipboard yank
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue