From 5f39cefc85568fb690229daf8956100d4dd45998 Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Fri, 6 Jan 2023 22:21:06 -0800 Subject: [PATCH] helix: Bring back some vim-isms --- helix/config.toml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/helix/config.toml b/helix/config.toml index 133f934..2468078 100644 --- a/helix/config.toml +++ b/helix/config.toml @@ -1,8 +1,15 @@ theme = "onedark" [editor] -scrolloff = 0 +scrolloff = 1 cursorline = true +gutters = [ + "diff", + "diagnostics", + "spacer", + "line-numbers", + "spacer", +] [editor.cursor-shape] insert = "bar" @@ -13,3 +20,9 @@ select = "underline" left = ["mode", "spinner", "file-name"] center = [] right = ["diagnostics", "selections", "position", "position-percentage", "file-encoding"] + +[keys.normal] +"\\" = { w = ":w" } + +"C-e" = "scroll_down" +"C-y" = "scroll_up"