From af4d27c2ee27d899ef4db2f8c1875f9b604a8517 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sun, 17 Dec 2023 00:49:28 +0100 Subject: Added helix config --- README.md | 3 ++- helix.toml | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 helix.toml diff --git a/README.md b/README.md index dd8d81d..23eaa80 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,8 @@ git clone git@github.com:mitjafelicijan/dotfiles.git ~/.dotfiles Then create symbolic links to actual config files. ```sh +ln -s ~/.dotfiles/shenanigans.sh ~/.shenanigans.sh ln -s ~/.dotfiles/emacs.el ~/.config/emacs/init.el +ln -s ~/.dotfiles/helix.toml ~/.config/helix/config.toml ln -s ~/.dotfiles/vimrc ~/.vimrc -ln -s ~/.dotfiles/shenanigans.sh ~/.shenanigans.sh ``` diff --git a/helix.toml b/helix.toml new file mode 100644 index 0000000..e22970d --- /dev/null +++ b/helix.toml @@ -0,0 +1,27 @@ +theme = "jellybeans" + +[editor] +line-number = "relative" +color-modes = true +true-color = true +scrolloff = 10 +idle-timeout = 1000 +mouse = false +middle-click-paste = true + +[editor.cursor-shape] +insert = "bar" + +[editor.lsp] +display-messages = true +display-inlay-hints = false +auto-signature-help = false + +[keys.normal] +"esc" = [ "collapse_selection", "keep_primary_selection" ] +"{" = [ "goto_prev_paragraph" ] +"}" = [ "goto_next_paragraph" ] + +[keys.select] +"{" = [ "goto_prev_paragraph" ] +"}" = [ "goto_next_paragraph" ] -- cgit v1.2.3