tmux config, fix base files' execute bit

This commit is contained in:
2019-07-20 02:50:21 -04:00
parent feabd4e98b
commit c09c232033
18 changed files with 70 additions and 4 deletions

0
.chezmoiignore Executable file → Normal file
View File

0
.gitignore vendored Executable file → Normal file
View File

0
README.md Executable file → Normal file
View File

0
dot_Xmodmap Executable file → Normal file
View File

0
dot_Xmodmap-laptop Executable file → Normal file
View File

0
dot_Xresources.tmpl Executable file → Normal file
View File

0
dot_bashrc Executable file → Normal file
View File

View File

@@ -8,7 +8,7 @@ set $term_alt st
exec dunst exec dunst
exec compton exec compton
exec imwheel exec imwheel
xec numlockx on exec numlockx on
exec xbacklight -set 10 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/kevin/Pictures/Backgrounds/dim/non-editing\")"
exec wal -i $(/home/kevin/scripts/shuffler "$HOME/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
View File

0
dot_imwheelrc Executable file → Normal file
View File

0
dot_inputrc Executable file → Normal file
View File

67
dot_tmux.conf Normal file
View 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
View File

@@ -309,7 +309,6 @@ colorscheme gotham256
nnoremap v <C-V> nnoremap v <C-V>
nnoremap Q @@ nnoremap Q @@
" folds
nnoremap , za nnoremap , za
" indenting " indenting

0
dot_xinitrc.tmpl Executable file → Normal file
View File

0
dot_zshrc Executable file → Normal file
View File

4
key_aliases.tmpl Executable file → Normal file
View File

@@ -48,6 +48,7 @@ ctltd "sudo systemctl status dhcpcd"
ctlr "sudo systemctl restart" ctlr "sudo systemctl restart"
nct "sudo netctl" nct "sudo netctl"
nctf "sudo ip link set dev wlp3s0 down"
nctr "sudo systemctl restart netctl-auto@wlp4s0.service" nctr "sudo systemctl restart netctl-auto@wlp4s0.service"
# ]]] systemctl # # ]]] systemctl #
@@ -328,12 +329,11 @@ grmor "rm (fd -e orig --no-ignore -H)"
# diff/log [[[ # # diff/log [[[ #
gd "git diff -w" gd "git diff -w"
gdc "git diff -w --cached" gdc "git diff --cached -w"
gdh "git diff --cached -w HEAD~1" gdh "git diff --cached -w HEAD~1"
gds "git diff --stat" gds "git diff --stat"
gdt "git difftool -w --tool=vimdiff" gdt "git difftool -w --tool=vimdiff"
gdtc "git difftool -w --cached --tool=vimdiff" gdtc "git difftool -w --cached --tool=vimdiff"
gl "git log" gl "git log"
glm "git log master" glm "git log master"
gsl "git shortlog" gsl "git shortlog"

0
key_dirs.tmpl Executable file → Normal file
View File

0
key_files.tmpl Executable file → Normal file
View File