Skip to content

Commit

Permalink
(new FF plug config) Adding my .tridactylrc
Browse files Browse the repository at this point in the history
  • Loading branch information
ELLIOTTCABLE committed Jul 29, 2018
1 parent 5075641 commit b4e4447
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 1 deletion.
49 changes: 49 additions & 0 deletions Dotfiles/config/tridactyl/tridactylrc
@@ -0,0 +1,49 @@
sanitise tridactyllocal
set theme greenmat

set hintfiltermode vimperator-reflow
set historyresults 100
set tabopencontaineraware true
" This breaks a lot of websites, unfortunately. The TabEnter alternative should work, though?
"set allowautofocus false
autocmd TabEnter .* unfocus
set smoothscroll true

" hjklasdfgyuiopqwertnmzxcvb, but in Colemak :P
set hintchars hneioarstdjluyqwfpgkmzxcvb

" 1. Absolute-path necessary right now, see: <https://github.com/cmcaine/tridactyl/issues/684>
" 2. `--nvim` implies `-n`, new-window, although that's undocumented
" 3. `+only` runs `:only` in the temporary file after Vim initializes
set editorcmd /usr/local/bin/vimr --wait --nvim +only

" DuckDuckGo is pure hope and magic. Let's enable every single bang at once.
set searchengine duckduckgo
bind ! fillcmdline_notrail tabopen search !

" Swap : and ;
bind ; fillcmdline

" Replace the various hint-modes with 'i' (home-row in Colemak!)
bind ii hint -i
bind iI hint -I
bind ik hint -k
bind iy hint -y
bind ip hint -p
bind iP hint -P
bind ir hint -r
bind is hint -s
bind iS hint -S
bind ia hint -a
bind iA hint -A
bind i; hint -;
bind i# hint -#
bind iv hint -v
bind iw hint -w

" autocmd TabEnter ... reddit?

" Make goddamn `viewconfig nmaps` readable, thx
unbind <SA-ArrowUp><SA-ArrowUp><SA-ArrowDown><SA-ArrowDown><SA-ArrowLeft><SA-ArrowRight><SA-ArrowLeft><SA-ArrowRight>ba

" vim: set filetype=vim:
2 changes: 1 addition & 1 deletion Dotfiles/gitconfig
Expand Up @@ -32,7 +32,7 @@
legacyheaders = false
whitespace = -trailing-space
excludesfile = ~/.gitignore
editor = vim
editor = vimr -n --wait
[repack]
usedeltabaseoffset = true
[branch]
Expand Down

0 comments on commit b4e4447

Please sign in to comment.