diff options
-rw-r--r-- | alacritty/alacritty.yml | 2 | ||||
-rw-r--r-- | install.conf.yaml | 5 | ||||
-rw-r--r-- | tmux.conf | 15 | ||||
-rw-r--r-- | zsh/keybindings.zsh | 9 | ||||
-rw-r--r-- | zshenv | 2 | ||||
-rw-r--r-- | zshrc (renamed from zsh/zshrc) | 0 |
6 files changed, 6 insertions, 27 deletions
diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml index d54d4aa..7a2a4f5 100644 --- a/alacritty/alacritty.yml +++ b/alacritty/alacritty.yml @@ -35,7 +35,7 @@ shell: program: C:\WINDOWS\system32\wsl.exe args: - -e - - '/bin/zsh -lc "tmux new -As main"' + - '/bin/zsh -lc "source ~/.zshrc; tmux new -As main"' working_directory: '\\wsl$\Debian\home\tobyv' diff --git a/install.conf.yaml b/install.conf.yaml index 748ad54..44258fe 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -141,9 +141,8 @@ if: '[ -n "${WSL_DISTRO_NAME+1}" ]' path: wsl/* - ~/.zshenv: - ~/.zsh/.zshrc: zsh/zshrc - ~/.zsh/.zshenv: bash/env.sh + ~/.zshrc: + ~/.zshenv: bash/env.sh ~/.zsh/aliases.sh: bash/aliases.sh ~/.zsh: glob: true @@ -2,20 +2,11 @@ set -g mouse on set -g base-index 1 set -g default-terminal "tmux-256color" set -ga terminal-overrides ",alacritty:Tc" +set -g detach-on-destroy off +set -g prefix C-a -unbind C-b -set-option -g prefix C-a -bind-key C-a send-prefix +bind-key f run-shell "tmux neww -n sessionizer ~/.local/bin/tmux-sessionizer" -set-window-option -g mode-keys vi - -unbind '"' -unbind % - -# forget the find window. That is for chumps -bind-key f run-shell "tmux neww ~/.local/bin/tmux-sessionizer" - -# Plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-yank' diff --git a/zsh/keybindings.zsh b/zsh/keybindings.zsh index 04118d8..31b17fd 100644 --- a/zsh/keybindings.zsh +++ b/zsh/keybindings.zsh @@ -98,15 +98,6 @@ for key kcap seq mode widget ( bindkey '^ ' autosuggest-accept bindkey '^[[Z' reverse-menu-complete -sessionizer () { - tmux-sessionizer - zle redisplay -} - -zle -N sessionizer -bindkey '^F' sessionizer -# bindkey -s ^f "tmux-sessionizer\n" - # register ctrl+c as interupt function ctrl_c_intr() { stty intr \^C <$TTY >$TTY @@ -1,2 +0,0 @@ -ZDOTDIR=$HOME/.zsh -. $ZDOTDIR/.zshenv |