AutoYADM commit: 2025-03-31 13:55:18

This commit is contained in:
Daniel Fichtinger 2025-03-31 13:55:18 -04:00
parent 4151b93e62
commit 4f1e3ed97d
3 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
function fish_should_add_to_history function fish_should_add_to_history
string match -q ' *' -- $argv; and return 1 string match -q ' *' -- $argv; and return 1
for cmd in ls clear for cmd in ls clear fg
string match -qr "^$cmd" -- $argv; and return 1 string match -qr "^$cmd" -- $argv; and return 1
end end
return 0 return 0

View file

@ -1,6 +1,8 @@
function fish_user_key_bindings function fish_user_key_bindings
fish_vi_key_bindings fish_vi_key_bindings
bind -M insert ctrl-a beginning-of-line
bind -M insert ctrl-l end-of-line
bind -M insert ctrl-b backward-word bind -M insert ctrl-b backward-word
bind -M insert ctrl-w forward-word bind -M insert ctrl-w forward-word
bind -M insert ctrl-d backward-kill-word bind -M insert ctrl-d backward-kill-word

View file

@ -253,7 +253,7 @@ auto-format = true
formatter = { command = "goimports" } formatter = { command = "goimports" }
comment-token = "//" comment-token = "//"
block-comment-tokens = { start = "/*", end = "*/" } block-comment-tokens = { start = "/*", end = "*/" }
language-servers = ["gopls", "typos-lsp", "golangci-lint-lsp"] language-servers = ["gopls", "typos-lsp"]
# TODO: gopls needs utf-8 offsets? # TODO: gopls needs utf-8 offsets?
indent = { tab-width = 4, unit = "\t" } indent = { tab-width = 4, unit = "\t" }