Skip to content

Instantly share code, notes, and snippets.

@shitcoding
Created March 27, 2022 12:35
Show Gist options
  • Save shitcoding/fec05d9571565ad9e32643b711311b40 to your computer and use it in GitHub Desktop.
Save shitcoding/fec05d9571565ad9e32643b711311b40 to your computer and use it in GitHub Desktop.
Mindblowingly awesome Tridactyl config
" General Settings --------------------------------
set configversion 2.0
set update.lastchecktime 1646149576452
" Set tridactyl theme to 'Midnight'
set theme midnight
" Binds -------------------------------------------
" Go to the next/previous tab with `J`/`K`
bind J tabnext
bind K tabprev
" Go to the last/first tab with `L`/`H`
bind L tablast
bind H tabfirst
" Move tab to the right/left with `m`/`M`
bind m tabmove +1
bind M tabmove -1
" Enter input mode with `I`
bind I focusinput -I
" Exit input and hint mode with `Ctrl-c`
unbind <C-c>
unbind <C-[>
bind --mode=input <C-c> composite unfocus | mode normal
bind --mode=ex <C-c> ex.hide_and_clear
unbind --mode=visual <C-c>
bind --mode=hint <C-c> hint.reset
" Duplicate current tab with `*`
bind --mode=normal * tabduplicate
" Command Aliases -------------------------------------------
" Backup tridactyl config to ~/.config/tridactyl/tridactylrc
alias bkpconfig mkt! ~/.config/tridactyl/tridactylrc
"------------------------------------------------------------
" For syntax highlighting see https://github.com/tridactyl/vim-tridactyl
" vim: set filetype=tridactyl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment