diff --git a/dots/helix/config.toml b/dots/helix/config.toml new file mode 100644 index 0000000..3c652ab --- /dev/null +++ b/dots/helix/config.toml @@ -0,0 +1,43 @@ +# https://docs.helix-editor.com/configuration.html +# https://docs.helix-editor.com/remapping.html + +# https://theari.dev/blog/enhanced-helix-config/ + +[editor] +# Show currently open buffers, only when more than one exists. +bufferline = "multiple" +# Highlight all lines with a cursor +cursorline = true +# Use relative line numbers +line-number = "relative" +# Show a ruler at column 120 +rulers = [120] +# Force the theme to show colors +true-color = true + +[editor.cursor-shape] +insert = "bar" +normal = "block" +select = "underline" + +[editor.indent-guides] +character = "╎" +render = true + +[editor.lsp] +# Disable automatically popups of signature parameter help +auto-signature-help = false +# Show LSP messages in the status line +display-messages = true + +[editor.statusline] +left = ["mode", "spinner", "version-control", "file-name"] + +[keys.normal] +"A-," = "goto_previous_buffer" +"A-." = "goto_next_buffer" +"A-w" = ":buffer-close" +"A-/" = "repeat_last_motion" + +[keys.insert] +C-s = ":w" # Maps Ctrl-s to the typable command :w which is an alias for :write (save file) diff --git a/scripts/99_deploy.sh b/scripts/99_deploy.sh index 3eca916..8fd0cc4 100644 --- a/scripts/99_deploy.sh +++ b/scripts/99_deploy.sh @@ -305,6 +305,10 @@ if [ ${operation} == "dots" ] ; then file_path=/home/${system_user} deploy_file "${dots_trg}/gtk/${file_name}" "${file_path}/${file_name}" + file_name=config.toml + file_path=/home/${system_user}/.config/helix + deploy_file "${dots_trg}/helix/${file_name}" "${file_path}/${file_name}" + file_name=index.theme file_path=/home/${system_user}/.icons/default mkdir -p ${file_path}