Add smoothscrool to tridactyl config

This commit is contained in:
Şahin Akkaya 2022-04-06 23:59:53 +03:00
parent a80154bb2d
commit 1bfcc5b611

View File

@ -1,10 +1,7 @@
" General Settings " General Settings
set update.lastchecktime 1647585997410 set update.lastchecktime 1648676458956
set configversion 2.0 set configversion 2.0
set smoothscroll 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)
" Binds " Binds
bind j scrollline 5 bind j scrollline 5
@ -36,6 +33,10 @@ seturl overleaf.com allowautofocus true
seturl .*/.*\.ipynb allowautofocus true seturl .*/.*\.ipynb allowautofocus true
seturl nitrotype.com 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 " Autocmds
autocmd DocStart monkeytype.com mode ignore autocmd DocStart monkeytype.com mode ignore
autocmd DocStart overleaf.com mode ignore autocmd DocStart overleaf.com mode ignore
@ -43,4 +44,4 @@ autocmd DocStart undefined mode ignore
autocmd DocStart .*/.*\.ipynb mode ignore autocmd DocStart .*/.*\.ipynb mode ignore
" For syntax highlighting see https://github.com/tridactyl/vim-tridactyl " For syntax highlighting see https://github.com/tridactyl/vim-tridactyl
" vim: set filetype=tridactyl " vim: set filetype=tridactyl