Bootstrap and tmux conf added
This commit is contained in:
parent
0f73695220
commit
aa5cdd4e3a
2 changed files with 38 additions and 0 deletions
31
.tmux.conf
Normal file
31
.tmux.conf
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
#change binding from ctrl+b to screen-like ctrl+a
|
||||||
|
set-option -g prefix C-a
|
||||||
|
|
||||||
|
#copy screen last window method
|
||||||
|
bind-key C-a last-window
|
||||||
|
|
||||||
|
#start windows numbers at 1
|
||||||
|
set -g base-index 1
|
||||||
|
|
||||||
|
#enable mouse scrolling in terminal history
|
||||||
|
set -g mouse on
|
||||||
|
|
||||||
|
set -g utf8 on
|
||||||
|
set -g status-utf8 on
|
||||||
|
|
||||||
|
set -g history-limit 50000
|
||||||
|
set -g display-time 4000
|
||||||
|
|
||||||
|
set -g status-interval 5
|
||||||
|
|
||||||
|
set -g default-terminal "screen-256color"
|
||||||
|
|
||||||
|
set -g focus-events on
|
||||||
|
|
||||||
|
setw -g aggressive-resize on
|
||||||
|
|
||||||
|
#vim copy/paste bindings
|
||||||
|
bind P paste-buffer
|
||||||
|
bind-key -t vi-copy 'v' begin-selection
|
||||||
|
bind-key -t vi-copy 'y' copy-selection
|
||||||
|
bind-key -t vi-copy 'r' rectangle-toggle
|
7
bootstrap.sh
Normal file
7
bootstrap.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#move to home directory
|
||||||
|
|
||||||
|
echo "----"
|
||||||
|
find . -type f -name ".*" -exec cp {} $HOME/ \;
|
||||||
|
echo "Files moved to home directory, enjoy your workflow."
|
Loading…
Reference in a new issue