1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-12 05:40:17 +00:00

Update helix and tmux config files with new key bindings

This commit is contained in:
Luna 2023-08-11 08:17:47 +02:00
parent d92142c46e
commit 4930a720a0
2 changed files with 7 additions and 2 deletions

View file

@ -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"]

View file

@ -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