Adds helix config
This commit is contained in:
commit
09c41d9bfe
|
|
@ -0,0 +1,45 @@
|
|||
|
||||
theme = "sonokai_atlantis"
|
||||
[editor]
|
||||
scroll-lines = 3
|
||||
bufferline = "always"
|
||||
mouse = false
|
||||
# scroll-lines = 0
|
||||
line-number = "relative"
|
||||
|
||||
[editor.cursor-shape]
|
||||
insert = "bar"
|
||||
normal = "block"
|
||||
select = "underline"
|
||||
|
||||
|
||||
[editor.lsp]
|
||||
display-messages = true
|
||||
display-inlay-hints = true
|
||||
|
||||
|
||||
[keys.normal]
|
||||
"ret" = ["move_line_down", "goto_first_nonwhitespace"] # Maps the enter key to move to start of next line
|
||||
X = "extend_line_above"
|
||||
D = "delete_char_backward"
|
||||
# d = "delete_selection_noyank"
|
||||
# A-d = "delete_selection"
|
||||
u = "redo"
|
||||
U = "undo"
|
||||
j = "move_visual_line_up"
|
||||
k = "move_visual_line_down"
|
||||
esc =[ "collapse_selection", "keep_primary_selection"]
|
||||
# // + = { b = "normal_mode" } # Maps `jk` to exit insert mode
|
||||
|
||||
# create a new minor mode bound to `+`
|
||||
[keys.normal."+"]
|
||||
m = ":run-shell-command make"
|
||||
b = ":run-shell-command cargo build"
|
||||
t = ":run-shell-command cargo test"
|
||||
# e = ":run-shell-command cargo test"
|
||||
|
||||
[editor.soft-wrap]
|
||||
enable = true
|
||||
max-wrap = 25 # increase value to reduce forced mid-word wrapping
|
||||
max-indent-retain = 0
|
||||
wrap-indicator = "" # set wrap-indicator to "" to hide it
|
||||
Loading…
Reference in New Issue