tmux+starship tweaks
This commit is contained in:
+5
-11
@@ -60,11 +60,6 @@ set -g set-titles on
|
||||
######################
|
||||
### KEYBINDS ###
|
||||
######################
|
||||
# Config that is very close to a i3 window manager's keybinding.
|
||||
|
||||
# Set new prefix
|
||||
# Note : you can press super key by set M.
|
||||
# (tested with tty only)
|
||||
set -g prefix M-a
|
||||
|
||||
# First remove *all* keybindings
|
||||
@@ -85,15 +80,15 @@ bind-key -n End send-keys "\033[F"
|
||||
|
||||
# Copy mode
|
||||
bind c copy-mode
|
||||
|
||||
# clipboard control
|
||||
bind p paste-buffer
|
||||
bind -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||
bind -T copy-mode-vi y send-keys -X copy-selection
|
||||
bind -T copy-mode-vi Enter send-keys -X copy-selection-and-cancel
|
||||
bind -T copy-mode-vi V send-keys -X select-line
|
||||
bind -T copy-mode-vi Escape send-keys -X clear-selection
|
||||
bind -T copy-mode-vi q send-keys -X cancel
|
||||
bind -T copy-mode-vi Y send-keys -X copy-end-of-line
|
||||
bind -T copy-mode-vi r send-keys -X rectangle-toggle
|
||||
bind -T copy-mode-vi Escape send-keys -X cancel
|
||||
bind -T copy-mode-vi q send-keys -X clear-selection
|
||||
|
||||
# Rename window
|
||||
bind , command-prompt "rename-window %%"
|
||||
@@ -194,7 +189,6 @@ bind b send-keys -R \; clear-history \; send-keys Enter
|
||||
# various plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
|
||||
|
||||
######################
|
||||
|
||||
Reference in New Issue
Block a user