Last active
March 19, 2020 19:15
-
-
Save huseyinyilmaz/8292bb1347de4e38c78821d465b72d02 to your computer and use it in GitHub Desktop.
My Tmux configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unbind C-b | |
set -g prefix C-q | |
bind-key C-q send-prefix | |
# enable vi keys. | |
# setw -g mode-keys vi | |
# set window split | |
bind-key v split-window -h | |
bind-key s split-window -v | |
# Swap panes | |
bind-key C-q select-pane -t :.+ | |
# copy mode fix | |
bind-key -T copy-mode-vi 'v' send -X begin-selection | |
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel | |
# remove the delay on escape key on tmux | |
set -sg escape-time 0 | |
#unbind [ | |
#bind Escape copy-mode | |
#unbind p | |
#bind p paste-buffer | |
#bind-key -t vi-copy 'v' begin-selection | |
#bind-key -t vi-copy 'y' copy-selection | |
# neovim in tmux fixes | |
#set -g default-terminal "screen-256color" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment