Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(new FF plug config) Adding my .tridactylrc
- Loading branch information
1 parent
5075641
commit b4e4447
Showing
2 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters