new tmux prefix
This commit is contained in:
@ -1,7 +1,14 @@
|
||||
unbind C-b
|
||||
|
||||
set -g prefix C-a
|
||||
bind C-a send-prefix
|
||||
|
||||
set -g prefix `
|
||||
bind-key ` send-prefix
|
||||
|
||||
bind-key C-a set-option -g prefix C-a
|
||||
bind-key C-b set-option -g prefix `
|
||||
|
||||
set-option -g history-limit 100000000
|
||||
set-option -g status-position bottom
|
||||
|
||||
@ -80,6 +87,12 @@ bind -n S-Right next-window
|
||||
bind-key -n C-S-Left swap-window -t -1
|
||||
bind-key -n C-S-Right swap-window -t +1
|
||||
|
||||
# loop through current window's panes while zoomed
|
||||
bind -r "'" select-pane -t .+1 \; resize-pane -Z
|
||||
bind -r ";" select-pane -t .-1 \; resize-pane -Z
|
||||
|
||||
bind-key C-a set-option -g prefix C-a
|
||||
|
||||
# No delay for escape key press
|
||||
set -sg escape-time 0
|
||||
|
||||
|
@ -134,3 +134,7 @@ vnoremap <leader>c$ :call nerdcommenter#Comment(0,"ToEOL")<CR>
|
||||
nmap <leader>yf :let @" = expand("%")<cr>
|
||||
nmap <leader>ut :UndotreeToggle<cr>
|
||||
nmap <leader>e :e %%
|
||||
|
||||
" replace currently selected text with default register
|
||||
" without yanking it
|
||||
vnoremap <leader>p "_dP
|
||||
|
Reference in New Issue
Block a user