- change to tmux in lieu of zellij - disable obsidian nvim plugin - add vim-ai nvim plugin - add gitclone.sh script
38 lines
1.0 KiB
Bash
38 lines
1.0 KiB
Bash
# Set prefix to Ctrl-Space instead of Ctrl-b
|
|
# unbind C-b
|
|
# set-option -g prefix C-Space
|
|
# bind-key C-Space send-prefix
|
|
|
|
# Linux config - ignore prefix with -n and use alt-*
|
|
# For mac, remove the -n and don't use alt. e.g.
|
|
# bind '\' split-window -c '#{pane_current_path}' -h
|
|
unbind '"'
|
|
unbind %
|
|
bind -n M-\\ split-window -c '#{pane_current_path}' -h
|
|
bind -n M-- split-window -c '#{pane_current_path}' -v
|
|
bind -n M-m new-window -c '#{pane_current_path}'
|
|
bind -n M-n next-window
|
|
bind -n M-p previous-window
|
|
bind -n M-h select-pane -L
|
|
bind -n M-j select-pane -D
|
|
bind -n M-k select-pane -U
|
|
bind -n M-l select-pane -R
|
|
|
|
# DON'T paste this line in, if you DON'T want vim keybindings
|
|
# Set tmux mode to vi (default is emac)
|
|
set-window-option -g mode-keys vi
|
|
|
|
set-option -g mouse on
|
|
|
|
set-option -g renumber-windows on
|
|
|
|
set -s escape-time 0
|
|
|
|
# List of plugins
|
|
# set -g @plugin 'tmux-plugins/tpm'
|
|
# set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
|
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
# run '~/.dotfiles/tmux/plugins/tpm/tpm'
|
|
|