Update helix config
This commit is contained in:
parent
e53edef376
commit
accdb8ebdf
|
@ -1,15 +1,16 @@
|
|||
theme = "custom_gh_contrast"
|
||||
theme = "catppuccin_macchiato"
|
||||
|
||||
[editor]
|
||||
line-number = "relative"
|
||||
bufferline = "multiple"
|
||||
color-modes = true
|
||||
auto-completion = false
|
||||
#auto-completion = false
|
||||
completion-trigger-len = 1
|
||||
insert-final-newline = false
|
||||
scroll-lines = 1
|
||||
scrolloff = 0
|
||||
idle-timeout = 1000
|
||||
soft-wrap.enable = true
|
||||
|
||||
# Features
|
||||
[editor.file-picker]
|
||||
|
@ -63,6 +64,9 @@ w = ":write"
|
|||
q = ":quit-all"
|
||||
x = ":write-quit-all"
|
||||
|
||||
[keys.select]
|
||||
o = "flip_selections"
|
||||
|
||||
# Emacs
|
||||
[keys.insert]
|
||||
"C-a" = [ "goto_line_start" ]
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
[language-server.ccls]
|
||||
command = "ccls"
|
||||
args = []
|
||||
config = {}
|
||||
environment = {}
|
||||
|
||||
[language-server.clangd]
|
||||
command = "/opt/homebrew/opt/llvm@16/bin/clangd"
|
||||
|
||||
[[language]]
|
||||
name = "cpp"
|
||||
language-servers = []
|
||||
#language-servers = [ "ccls" ]
|
||||
formatter = { command = "clang-format", args = ["--fallback-style=Google"] }
|
||||
|
||||
# doesn't work!
|
||||
[language-servers.clangd]
|
||||
args = ["-std=c++17"]
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
|
||||
inherits = "github_dark_high_contrast"
|
||||
|
||||
[palette]
|
||||
"fg.muted" = "#9ea1a3"
|
||||
|
||||
# hi
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
font_size 16.5
|
||||
font_size 15
|
||||
font_family Fira Code Retina
|
||||
|
||||
# Use Symbols Only from Nerd Font releases page
|
||||
|
|
8
bin/lbin
8
bin/lbin
|
@ -12,14 +12,16 @@ EOF
|
|||
exit
|
||||
fi
|
||||
|
||||
prog="$1"
|
||||
shift
|
||||
rootdir="$(pwd)"
|
||||
while [[ "$rootdir" != "" && ! -x "$rootdir/bin/$1" ]]; do
|
||||
while [[ "$rootdir" != "" && ! -x "$rootdir/bin/$prog" ]]; do
|
||||
rootdir=${rootdir%/*}
|
||||
done
|
||||
|
||||
if [[ ! -x "$rootdir/bin/$1" ]]; then
|
||||
if [[ ! -x "$rootdir/bin/$prog" ]]; then
|
||||
echo "No executable found in bin of parent directories."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
"$rootdir/bin/$1"
|
||||
"$rootdir/bin/$prog" "$@"
|
||||
|
|
Loading…
Reference in New Issue