Skip to content

Instantly share code, notes, and snippets.

@ELLIOTTCABLE
Created February 27, 2019 22:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ELLIOTTCABLE/3cf44132dcb6a02319629da30e92ba18 to your computer and use it in GitHub Desktop.
Save ELLIOTTCABLE/3cf44132dcb6a02319629da30e92ba18 to your computer and use it in GitHub Desktop.
{
configversion: "1.7",
subconfigs: {
"localhost:4200": { noiframe: "true", modeindicator: "false" }
},
priority: 0,
exmaps: {
"<Enter>": "ex.accept_line",
"<C-j>": "ex.accept_line",
"<C-m>": "ex.accept_line",
"<Escape>": "ex.hide_and_clear",
"<ArrowUp>": "ex.prev_history",
"<ArrowDown>": "ex.next_history",
"<C-a>": "text.beginning_of_line",
"<C-e>": "text.end_of_line",
"<C-u>": "text.backward_kill_line",
"<C-k>": "text.kill_line",
"<C-c>": "text.kill_whole_line",
"<C-f>": "ex.complete",
"<Tab>": "ex.next_completion",
"<S-Tab>": "ex.prev_completion",
"<Space>": "ex.insert_space_or_completion"
},
ignoremaps: {
"<S-Insert>": "mode normal",
"<CA-Escape>": "mode normal",
"<CA-`>": "mode normal",
"<S-Escape>": "mode normal",
"<C-^>": "tab %23",
"<C-6>": "tab %23"
},
inputmaps: {
"<Escape>": "composite unfocus | mode normal",
"<C-[>": "composite unfocus | mode normal",
"<C-i>": "editor",
"<Tab>": "focusinput -n",
"<S-Tab>": "focusinput -N",
"<CA-Escape>": "mode normal",
"<CA-`>": "mode normal",
"<C-^>": "tab %23",
"<C-6>": "tab %23"
},
imaps: {
"<Escape>": "composite unfocus | mode normal",
"<C-[>": "composite unfocus | mode normal",
"<C-i>": "editor",
"<CA-Escape>": "mode normal",
"<CA-`>": "mode normal",
"<C-6>": "tab %23",
"<C-^>": "tab %23",
"<S-Escape>": "mode ignore"
},
nmaps: {
"!": "fillcmdline_notrail tabopen search !",
";": "fillcmdline",
ii: "hint -i",
iI: "hint -I",
ik: "hint -k",
iy: "hint -y",
ip: "hint -p",
iP: "hint -P",
ir: "hint -r",
is: "hint -s",
iS: "hint -S",
ia: "hint -a",
iA: "hint -A",
"i;": "hint -;",
"i%23": "hint -%23",
iv: "hint -v",
iw: "hint -w",
"<AS-ArrowUp><AS-ArrowUp><AS-ArrowDown><AS-ArrowDown><AS-ArrowLeft><AS-ArrowRight><AS-ArrowLeft><AS-ArrowRight>ba": "",
"<A-p>": "pin",
"<A-m>": "mute toggle",
"<F1>": "help",
o: "fillcmdline open",
O: "current_url open",
w: "fillcmdline winopen",
W: "current_url winopen",
t: "fillcmdline tabopen",
"]]": "followpage next",
"[[": "followpage prev",
"[c": "urlincrement -1",
"]c": "urlincrement 1",
"<C-x>": "urlincrement -1",
"<C-a>": "urlincrement 1",
T: "current_url tabopen",
yy: "clipboard yank",
ys: "clipboard yankshort",
yc: "clipboard yankcanon",
ym: "clipboard yankmd",
yt: "clipboard yanktitle",
gh: "home",
gH: "home true",
p: "clipboard open",
P: "clipboard tabopen",
j: "scrollline 10",
"<C-e>": "scrollline 10",
k: "scrollline -10",
"<C-y>": "scrollline -10",
h: "scrollpx -50",
l: "scrollpx 50",
G: "scrollto 100",
gg: "scrollto 0",
"<C-u>": "scrollpage -0.5",
"<C-d>": "scrollpage 0.5",
"<C-f>": "scrollpage 1",
"<C-b>": "scrollpage -1",
$: "scrollto 100 x",
"^": "scrollto 0 x",
"<C-6>": "tab %23",
"<C-^>": "tab %23",
H: "back",
L: "forward",
"<C-o>": "jumpprev",
"<C-i>": "jumpnext",
d: "tabclose",
D: "composite tabprev; tabclose %23",
gx0: "tabclosealltoleft",
gx$: "tabclosealltoright",
"<<": "tabmove -1",
">>": "tabmove +1",
u: "undo",
U: "undo window",
r: "reload",
R: "reloadhard",
x: "stop",
gi: "focusinput -l",
"g;": "changelistjump -1",
gt: "tabnext_gt",
gT: "tabprev",
"g^": "tabfirst",
g0: "tabfirst",
g$: "tablast",
gr: "reader",
gu: "urlparent",
gU: "urlroot",
gf: "viewsource",
":": "fillcmdline_notrail",
s: "fillcmdline open search",
S: "fillcmdline tabopen search",
M: "gobble 1 quickmark",
B: "fillcmdline taball",
b: "fillcmdline tab",
ZZ: "qall",
f: "hint",
F: "hint -b",
gF: "hint -br",
";i": "hint -i",
";b": "hint -b",
";o": "hint",
";I": "hint -I",
";k": "hint -k",
";y": "hint -y",
";p": "hint -p",
";P": "hint -P",
";r": "hint -r",
";s": "hint -s",
";S": "hint -S",
";a": "hint -a",
";A": "hint -A",
";;": "hint -;",
";%23": "hint -%23",
";v": "hint -W exclaim_quiet mpv",
";w": "hint -w",
";t": "hint -W tabopen",
";O": "hint -W fillcmdline_notrail open ",
";W": "hint -W fillcmdline_notrail winopen ",
";T": "hint -W fillcmdline_notrail tabopen ",
";z": "hint -z",
";m": "composite hint -pipe img src | js -p tri.excmds.open('images.google.com/searchbyimage?image_url=' + JS_ARG)",
";M": "composite hint -pipe img src | jsb -p tri.excmds.tabopen('images.google.com/searchbyimage?image_url=' + JS_ARG)",
";gi": "hint -qi",
";gI": "hint -qI",
";gk": "hint -qk",
";gy": "hint -qy",
";gp": "hint -qp",
";gP": "hint -qP",
";gr": "hint -qr",
";gs": "hint -qs",
";gS": "hint -qS",
";ga": "hint -qa",
";gA": "hint -qA",
";g;": "hint -q;",
";g%23": "hint -q%23",
";gv": "hint -qW exclaim_quiet mpv",
";gw": "hint -qw",
";gb": "hint -qb",
"<S-Insert>": "mode ignore",
"<CA-Escape>": "mode ignore",
"<CA-`>": "mode ignore",
"<S-Escape>": "mode ignore",
"<Escape>": "composite mode normal ; hidecmdline",
"<C-[>": "composite mode normal ; hidecmdline",
a: "current_url bmark",
A: "bmark",
zi: "zoom 0.1 true",
zo: "zoom -0.1 true",
zm: "zoom 0.5 true",
zr: "zoom -0.5 true",
zM: "zoom 0.5 true",
zR: "zoom -0.5 true",
zz: "zoom 1",
zI: "zoom 3",
zO: "zoom 0.3",
".": "repeat",
"<SA-ArrowUp><SA-ArrowUp><SA-ArrowDown><SA-ArrowDown><SA-ArrowLeft><SA-ArrowRight><SA-ArrowLeft><SA-ArrowRight>ba": "open https://www.youtube.com/watch?v=M3iOROuTuMA"
},
leavegithubalone: "false",
autocmds: {
TabEnter: { ".*": "unfocus" },
DocStart: { "localhost:4200": "mode ignore" },
DocLoad: {},
DocEnd: {},
TriStart: { ".*": "source_quiet" },
TabLeft: {},
FullscreenChange: {},
FullscreenEnter: {},
FullscreenLeft: {}
},
keytranslatemap: {},
keytranslatemodes: {
nmaps: "true",
imaps: "false",
inputmaps: "false",
ignoremaps: "false"
},
autocontain: {},
exaliases: {
alias: "command",
au: "autocmd",
aucon: "autocontain",
audel: "autocmddelete",
audelete: "autocmddelete",
b: "tab",
clsh: "clearsearchhighlight",
nohlsearch: "clearsearchhighlight",
o: "open",
w: "winopen",
t: "tabopen",
tabnew: "tabopen",
tn: "tabnext_gt",
bn: "tabnext_gt",
tnext: "tabnext_gt",
bnext: "tabnext_gt",
tp: "tabprev",
tN: "tabprev",
bp: "tabprev",
bN: "tabprev",
tprev: "tabprev",
bprev: "tabprev",
tabfirst: "tab 1",
tablast: "tab 0",
bfirst: "tabfirst",
blast: "tablast",
tfirst: "tabfirst",
tlast: "tablast",
buffer: "tab",
bufferall: "taball",
bd: "tabclose",
bdelete: "tabclose",
quit: "tabclose",
q: "tabclose",
qa: "qall",
sanitize: "sanitise",
tutorial: "tutor",
h: "help",
unmute: "mute unmute",
authors: "credits",
openwith: "hint -W",
"!": "exclaim",
"!s": "exclaim_quiet",
containerremove: "containerdelete",
colours: "colourscheme",
colorscheme: "colourscheme",
colors: "colourscheme",
man: "help",
"!js": "fillcmdline_tmp 3000 !js is deprecated. Please use js instead",
"!jsb": "fillcmdline_tmp 3000 !jsb is deprecated. Please use jsb instead",
current_url: "composite get_current_url | fillcmdline_notrail ",
stop: "js window.stop()",
zo: "zoom",
installnative: "nativeinstall",
nativeupdate: "updatenative"
},
followpagepatterns: {
next: "^(next|newer)\\b|%C2%BB%7C>>|more",
prev: "^(prev(ious)?|older)\\b|%C2%AB%7C<<"
},
searchengine: "duckduckgo",
searchurls: {
google: "https://www.google.com/search?q=",
googlelucky: "https://www.google.com/search?btnI=I'm+Feeling+Lucky&q=",
scholar: "https://scholar.google.com/scholar?q=",
googleuk: "https://www.google.co.uk/search?q=",
bing: "https://www.bing.com/search?q=",
duckduckgo: "https://duckduckgo.com/?q=",
yahoo: "https://search.yahoo.com/search?p=",
twitter: "https://twitter.com/search?q=",
wikipedia: "https://en.wikipedia.org/wiki/Special:Search/",
youtube: "https://www.youtube.com/results?search_query=",
amazon: "https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=",
amazonuk: "https://www.amazon.co.uk/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=",
startpage: "https://startpage.com/do/search?language=english&cat=web&query=",
github: "https://github.com/search?utf8=%E2%9C%93&q=",
searx: "https://searx.me/?category_general=on&q=",
cnrtl: "http://www.cnrtl.fr/lexicographie/",
osm: "https://www.openstreetmap.org/search?query=",
mdn: "https://developer.mozilla.org/en-US/search?q=",
gentoo_wiki: "https://wiki.gentoo.org/index.php?title=Special%3ASearch&profile=default&fulltext=Search&search=",
qwant: "https://www.qwant.com/?q="
},
newtab: "",
viewsource: "tridactyl",
storageloc: "sync",
homepages: [],
hintchars: "hneioarstdjluyqwfpgkmzxcvb",
hintfiltermode: "vimperator-reflow",
hintnames: "short",
hintuppercase: "true",
hintdelay: 300,
allowautofocus: "true",
newtabfocus: "page",
smoothscroll: "true",
scrollduration: 100,
tabopenpos: "next",
relatedopenpos: "related",
ttsvoice: "default",
ttsvolume: 1,
ttsrate: 1,
ttspitch: 1,
gimode: "nextinput",
cursorpos: "end",
theme: "greenmat",
modeindicator: "true",
jumpdelay: 3000,
logging: {
cmdline: "warning",
containers: "warning",
controller: "warning",
excmd: "error",
hinting: "warning",
messaging: "warning",
native: "warning",
performance: "warning",
state: "warning",
styling: "warning"
},
noiframe: "false",
editorcmd: "/usr/local/bin/vimr --wait --nvim +only",
rsscmd: "yank %u",
browser: "firefox",
yankto: "clipboard",
putfrom: "clipboard",
externalclipboardcmd: "auto",
nativeinstallcmd: "curl -fsSl https://raw.githubusercontent.com/tridactyl/tridactyl/master/native/install.sh | bash",
win_nativeinstallcmd: "powershell -NoProfile -InputFormat None -Command \"Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/cmcaine/tridactyl/master/native/win_install.ps1'))\"",
updatenag: true,
updatenagwait: 7,
updatenaglastversion: "1.14.8",
profiledir: "auto",
tabopencontaineraware: "true",
containerindicator: "true",
auconcreatecontainer: "true",
historyresults: 100,
findresults: -1,
findcontextlen: 100,
findcase: "smart",
incsearch: "false",
minincsearchlen: 3,
csp: "untouched",
wordpattern: "[^\\s]+",
perfcounters: "false",
perfsamples: "10000",
modeindicatorshowkeys: "false",
nixeditorcmd: "/usr/local/bin/vimr --wait --nvim +only",
wineditorcmd: "code --wait --new-window"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment