Browse Source

tmux config, fix base files' execute bit

red-hat-laptop
Kevin Mok 5 years ago
parent
commit
c09c232033
Signed by: Kevin-Mok GPG Key ID: AEA75288DC135CF5
  1. 0
      .chezmoiignore
  2. 0
      .gitignore
  3. 0
      README.md
  4. 0
      dot_Xmodmap
  5. 0
      dot_Xmodmap-laptop
  6. 0
      dot_Xresources.tmpl
  7. 0
      dot_bashrc
  8. 2
      dot_config/i3/config.tmpl
  9. 0
      dot_gitconfig
  10. 0
      dot_imwheelrc
  11. 0
      dot_inputrc
  12. 67
      dot_tmux.conf
  13. 1
      dot_vimrc.tmpl
  14. 0
      dot_xinitrc.tmpl
  15. 0
      dot_zshrc
  16. 4
      key_aliases.tmpl
  17. 0
      key_dirs.tmpl
  18. 0
      key_files.tmpl

0
.chezmoiignore

0
.gitignore

0
README.md

0
dot_Xmodmap

0
dot_Xmodmap-laptop

0
dot_Xresources.tmpl

0
dot_bashrc

2
dot_config/i3/config.tmpl

@ -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

0
dot_imwheelrc

0
dot_inputrc

67
dot_tmux.conf

@ -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

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

0
dot_xinitrc.tmpl

0
dot_zshrc

4
key_aliases.tmpl

@ -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

0
key_files.tmpl

Loading…
Cancel
Save