dot
This commit is contained in:
1 parent
6849e35747
commit
23ee6834c9
9 files changed
+600
No files matched your search
@@ -0,0 +1,45 @@
|
||||
set -g default-terminal "screen-256color"
|
||||
set -g prefix C-a
|
||||
unbind C-b
|
||||
bind-key C-a send-prefix
|
||||
unbind %
|
||||
bind | split-window -h
|
||||
|
||||
unbind '"'
|
||||
bind - split-window -v
|
||||
|
||||
unbind r
|
||||
bind r source-file ~/.tmux.conf
|
||||
|
||||
bind -r j resize-pane -D 5
|
||||
bind -r k resize-pane -U 5
|
||||
bind -r l resize-pane -R 5
|
||||
bind -r h resize-pane -L 5
|
||||
|
||||
bind -r m resize-pane -Z
|
||||
|
||||
set -g mouse on
|
||||
|
||||
set-window-option -g mode-keys vi
|
||||
|
||||
bind-key -T copy-mode-vi 'v' send -X begin-selection # start selecting text with "v"
|
||||
bind-key -T copy-mode-vi 'y' send -X copy-selection # copy text with "y"
|
||||
|
||||
unbind -T copy-mode-vi MouseDragEnd3Pane # don't exit copy mode after dragging with mouse
|
||||
|
||||
# tpm plugin
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
|
||||
# list of tmux plugins
|
||||
set -g @plugin 'christoomey/vim-tmux-navigator' # for navigating panes and vim/nvim with Ctrl-hjkl
|
||||
set -g @plugin 'jimeh/tmux-themepack' # to configure tmux theme
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect' # persist tmux sessions after computer restart
|
||||
set -g @plugin 'tmux-plugins/tmux-continuum' # automatically saves sessions for you every 15 minutes
|
||||
|
||||
set -g @themepack 'powerline/default/cyan' # use this theme for tmux
|
||||
|
||||
set -g @resurrect-capture-pane-contents 'on' # allow tmux-ressurect to capture pane contents
|
||||
set -g @continuum-restore 'on' # enable tmux-continuum functionality
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
Submodule
+1
Submodule tmux/plugins/tmux-continuum added at 0698e8f4b1.
Submodule
+1
Submodule tmux/plugins/tmux-resurrect added at cff343cf9e.
Submodule
+1
Submodule tmux/plugins/tmux-themepack added at 7c59902f64.
Submodule
+1
Submodule tmux/plugins/tpm added at 99469c4a9b.
Submodule
+1
Submodule tmux/plugins/vim-tmux-navigator added at 424b5caa15.
Reference in new issue
Block a user