tmux config, fix base files' execute bit
This commit is contained in:
0
.chezmoiignore
Executable file → Normal file
0
.chezmoiignore
Executable file → Normal file
0
.gitignore
vendored
Executable file → Normal file
0
.gitignore
vendored
Executable file → Normal file
0
dot_Xmodmap
Executable file → Normal file
0
dot_Xmodmap
Executable file → Normal file
0
dot_Xmodmap-laptop
Executable file → Normal file
0
dot_Xmodmap-laptop
Executable file → Normal file
0
dot_Xresources.tmpl
Executable file → Normal file
0
dot_Xresources.tmpl
Executable file → Normal file
0
dot_bashrc
Executable file → Normal file
0
dot_bashrc
Executable file → Normal file
@@ -8,7 +8,7 @@ set $term_alt st
|
||||
exec dunst
|
||||
exec compton
|
||||
exec imwheel
|
||||
xec numlockx on
|
||||
exec numlockx on
|
||||
exec xbacklight -set 10
|
||||
# exec wal -i "$(/home/kevin/scripts/shuffler \"/home/kevin/Pictures/Backgrounds/dim/non-editing\")"
|
||||
exec wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/non-editing")
|
||||
|
||||
0
dot_gitconfig
Executable file → Normal file
0
dot_gitconfig
Executable file → Normal file
0
dot_imwheelrc
Executable file → Normal file
0
dot_imwheelrc
Executable file → Normal file
0
dot_inputrc
Executable file → Normal file
0
dot_inputrc
Executable file → Normal file
67
dot_tmux.conf
Normal file
67
dot_tmux.conf
Normal file
@@ -0,0 +1,67 @@
|
||||
# basic {{{
|
||||
|
||||
# reload config file (change file location to your the tmux.conf you want to use)
|
||||
bind r source-file ~/.tmux.conf
|
||||
# prefix
|
||||
unbind C-b
|
||||
set-option -g prefix C-Space
|
||||
bind-key C-Space send-prefix
|
||||
# Enable mouse mode (tmux 2.1 and above)
|
||||
set -g mouse on
|
||||
# clear rename prompt
|
||||
bind-key , command-prompt "rename-window '%%'"
|
||||
|
||||
# }}} #
|
||||
|
||||
# panes{{{
|
||||
|
||||
bind h split-window -h
|
||||
bind v split-window -v
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
# vim-tmux-navigator{{{
|
||||
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
|
||||
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
|
||||
bind-key -n C-Left if-shell "$is_vim" "send-keys C-Left" "select-pane -L"
|
||||
bind-key -n C-Down if-shell "$is_vim" "send-keys C-Down" "select-pane -D"
|
||||
bind-key -n C-Up if-shell "$is_vim" "send-keys C-Up" "select-pane -U"
|
||||
bind-key -n C-Right if-shell "$is_vim" "send-keys C-Right" "select-pane -R"
|
||||
bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
|
||||
bind-key -T copy-mode-vi C-Left select-pane -L
|
||||
bind-key -T copy-mode-vi C-Down select-pane -D
|
||||
bind-key -T copy-mode-vi C-Up select-pane -U
|
||||
bind-key -T copy-mode-vi C-Right select-pane -R
|
||||
bind-key -T copy-mode-vi C-\ select-pane -l
|
||||
# bind-key -T copy-mode-vi M-h select-pane -L
|
||||
# bind-key -T copy-mode-vi M-j select-pane -D
|
||||
# bind-key -T copy-mode-vi M-k select-pane -U
|
||||
# bind-key -T copy-mode-vi M-l select-pane -R
|
||||
# bind-key -T copy-mode-vi M-\ select-pane -l
|
||||
# }}}
|
||||
|
||||
# kill panes without confirmation
|
||||
bind-key x kill-pane
|
||||
bind-key & kill-window
|
||||
|
||||
# switch panes using Alt-arrow without prefix
|
||||
# bind -n C-Down select-pane -D
|
||||
# bind -n C-Up select-pane -U
|
||||
# bind -n C-Left select-pane -L
|
||||
# bind -n C-l select-pane -R
|
||||
|
||||
# }}}
|
||||
|
||||
# plugins {{{
|
||||
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
|
||||
set -g @plugin 'jimeh/tmux-themepack'
|
||||
set -g @themepack 'powerline/double/blue'
|
||||
|
||||
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||
|
||||
run -b '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
# }}} plugins #
|
||||
1
dot_vimrc.tmpl
Executable file → Normal file
1
dot_vimrc.tmpl
Executable file → Normal file
@@ -309,7 +309,6 @@ colorscheme gotham256
|
||||
nnoremap v <C-V>
|
||||
nnoremap Q @@
|
||||
|
||||
" folds
|
||||
nnoremap , za
|
||||
|
||||
" indenting
|
||||
|
||||
0
dot_xinitrc.tmpl
Executable file → Normal file
0
dot_xinitrc.tmpl
Executable file → Normal file
4
key_aliases.tmpl
Executable file → Normal file
4
key_aliases.tmpl
Executable file → Normal file
@@ -48,6 +48,7 @@ ctltd "sudo systemctl status dhcpcd"
|
||||
ctlr "sudo systemctl restart"
|
||||
|
||||
nct "sudo netctl"
|
||||
nctf "sudo ip link set dev wlp3s0 down"
|
||||
nctr "sudo systemctl restart netctl-auto@wlp4s0.service"
|
||||
|
||||
# ]]] systemctl #
|
||||
@@ -328,12 +329,11 @@ grmor "rm (fd -e orig --no-ignore -H)"
|
||||
# diff/log [[[ #
|
||||
|
||||
gd "git diff -w"
|
||||
gdc "git diff -w --cached"
|
||||
gdc "git diff --cached -w"
|
||||
gdh "git diff --cached -w HEAD~1"
|
||||
gds "git diff --stat"
|
||||
gdt "git difftool -w --tool=vimdiff"
|
||||
gdtc "git difftool -w --cached --tool=vimdiff"
|
||||
|
||||
gl "git log"
|
||||
glm "git log master"
|
||||
gsl "git shortlog"
|
||||
|
||||
0
key_dirs.tmpl
Executable file → Normal file
0
key_dirs.tmpl
Executable file → Normal file
0
key_files.tmpl
Executable file → Normal file
0
key_files.tmpl
Executable file → Normal file
Reference in New Issue
Block a user