Various updates
- change to tmux in lieu of zellij - disable obsidian nvim plugin - add vim-ai nvim plugin - add gitclone.sh script
This commit is contained in:
@@ -1,28 +1,37 @@
|
||||
# Set prefix to Ctrl-Space instead of Ctrl-b
|
||||
unbind C-b
|
||||
set-option -g prefix C-Space
|
||||
bind-key C-Space send-prefix
|
||||
# unbind C-b
|
||||
# set-option -g prefix C-Space
|
||||
# bind-key C-Space send-prefix
|
||||
|
||||
# Split windows using | and -
|
||||
# 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 | split-window -h
|
||||
bind - split-window -v
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
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'
|
||||
# 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'
|
||||
# run '~/.dotfiles/tmux/plugins/tpm/tpm'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user