From 4930a720a00ec6e8322af63940bb316e21c85303 Mon Sep 17 00:00:00 2001 From: Luna Komorebi Date: Fri, 11 Aug 2023 08:17:47 +0200 Subject: [PATCH] Update helix and tmux config files with new key bindings --- config/helix/config.toml | 5 +++++ config/tmux/tmux.conf | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config/helix/config.toml b/config/helix/config.toml index 2e28962..883f213 100644 --- a/config/helix/config.toml +++ b/config/helix/config.toml @@ -3,3 +3,8 @@ theme = "catppuccin_mocha" [editor.file-picker] hidden = false git-ignore = false + +[keys.normal] +l = ["collapse_selection", "extend_to_line_end"] +h = ["collapse_selection", "extend_to_line_start"] +s = ["collapse_selection", "select_mode", "goto_first_nonwhitespace", "exit_select_mode"] \ No newline at end of file diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index 3b90108..ec16f60 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -1,5 +1,3 @@ -bind -n End send-key C-e -bind -n Home send-key C-a # https://raw.githubusercontent.com/dreamsofcode-io/tmux/main/tmux.conf set-option -sa terminal-overrides ",xterm*:Tc" set -g mouse on @@ -54,3 +52,5 @@ bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel bind '"' split-window -v -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" +bind -n End send-key C-e +bind -n Home send-key C-a