From 48584324013030b349e9c65931557e49eb2cb1fb Mon Sep 17 00:00:00 2001 From: Colin Caine Date: Mon, 16 Apr 2018 00:05:31 +0100 Subject: [PATCH] Add some binds with modifiers --- src/config.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/config.ts b/src/config.ts index ca4cea3b..a30d85db 100644 --- a/src/config.ts +++ b/src/config.ts @@ -52,14 +52,22 @@ const DEFAULTS = o({ p: "clipboard open", P: "clipboard tabopen", j: "scrollline 10", + "": "scrollline 10", k: "scrollline -10", + "": "scrollline 10", h: "scrollpx -50", l: "scrollpx 50", G: "scrollto 100", gg: "scrollto 0", + "": "scrollpage -0.5", + "": "scrollpage 0.5", + "": "scrollpage -1", + // Disabled while our find mode is bad + /* "": "scrollpage -1", */ $: "scrollto 100 x", // "0": "scrollto 0 x", // will get interpreted as a count "^": "buffer #", + "": "buffer #", H: "back", L: "forward", d: "tabclose", @@ -107,6 +115,8 @@ const DEFAULTS = o({ zo: "zoom -0.1 true", zz: "zoom 1", ".": "repeat", + "ba": + "open https://www.youtube.com/watch?v=M3iOROuTuMA", }), autocmds: o({ DocStart: o({