diff --git a/.config/tridactyl/tridactylrc b/.config/tridactyl/tridactylrc index 2b71876..f7038e9 100644 --- a/.config/tridactyl/tridactylrc +++ b/.config/tridactyl/tridactylrc @@ -1,10 +1,7 @@ " General Settings -set update.lastchecktime 1647585997410 +set update.lastchecktime 1648676458956 set configversion 2.0 - -" Aliases -alias git_clone js "git clone " + document.location.href.split('#')[0].split('/').slice(0, 5).join('/') + " ;cd " + document.location.href.split('#')[0].split('/').at(4) -alias git_clone_ssh js "git clone " + document.location.href.split('#')[0].split('/').slice(0, 5).join('/').replace(/https?:\/\//,"git@").replace("/",":").replace(/$/,".git") + " ;cd " + document.location.href.split('#')[0].split('/').at(4) +set smoothscroll true " Binds bind j scrollline 5 @@ -36,6 +33,10 @@ seturl overleaf.com allowautofocus true seturl .*/.*\.ipynb allowautofocus true seturl nitrotype.com allowautofocus true +" Aliases +alias git_clone js "git clone " + document.location.href.split('#')[0].split('/').slice(0, 5).join('/') + " ;cd " + document.location.href.split('#')[0].split('/').at(4) +alias git_clone_ssh js "git clone " + document.location.href.split('#')[0].split('/').slice(0, 5).join('/').replace(/https?:\/\//,"git@").replace("/",":").replace(/$/,".git") + " ;cd " + document.location.href.split('#')[0].split('/').at(4) + " Autocmds autocmd DocStart monkeytype.com mode ignore autocmd DocStart overleaf.com mode ignore @@ -43,4 +44,4 @@ autocmd DocStart undefined mode ignore autocmd DocStart .*/.*\.ipynb mode ignore " For syntax highlighting see https://github.com/tridactyl/vim-tridactyl -" vim: set filetype=tridactyl +" vim: set filetype=tridactyl \ No newline at end of file