From 4f1e3ed97df7fc46062aa1cdfa8e89a026bcaa5a Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Mon, 31 Mar 2025 13:55:18 -0400 Subject: [PATCH] AutoYADM commit: 2025-03-31 13:55:18 --- .config/fish/functions/fish_should_add_to_history.fish | 2 +- .config/fish/functions/fish_user_key_bindings.fish | 2 ++ .config/helix/languages.toml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/fish/functions/fish_should_add_to_history.fish b/.config/fish/functions/fish_should_add_to_history.fish index 54d2dc8f..81f364ff 100644 --- a/.config/fish/functions/fish_should_add_to_history.fish +++ b/.config/fish/functions/fish_should_add_to_history.fish @@ -1,6 +1,6 @@ function fish_should_add_to_history 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 end return 0 diff --git a/.config/fish/functions/fish_user_key_bindings.fish b/.config/fish/functions/fish_user_key_bindings.fish index dc047d4a..14ebe630 100644 --- a/.config/fish/functions/fish_user_key_bindings.fish +++ b/.config/fish/functions/fish_user_key_bindings.fish @@ -1,6 +1,8 @@ function fish_user_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-w forward-word bind -M insert ctrl-d backward-kill-word diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index 71d2a6b0..9f380e01 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -253,7 +253,7 @@ auto-format = true formatter = { command = "goimports" } comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } -language-servers = ["gopls", "typos-lsp", "golangci-lint-lsp"] +language-servers = ["gopls", "typos-lsp"] # TODO: gopls needs utf-8 offsets? indent = { tab-width = 4, unit = "\t" }