diff --git a/.bash_alias b/.bash_alias index c0e410e..4612f31 100644 --- a/.bash_alias +++ b/.bash_alias @@ -5,8 +5,7 @@ alias vi='vim' alias clc='clear' alias a='acpi' alias su='sudo -i' -#alias matlab='matlab -nodesktop' alias gist='git status' alias src='source ~/.bashrc' alias apt=nala -alias sudo='sudo ' +alias sudo='sudo ' # allow more aliases after using sudo diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..e912033 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,40 @@ +# modify prefix from C-b to C-f +unbind C-b +set-option -g prefix C-f +bind-key C-f send-prefix + +# modify pane change +bind j select-pane -D +bind k select-pane -U +bind h select-pane -L +bind l select-pane -R + +#modify split commands +bind r split-window -h +unbind '"' +bind b split-window -v +unbind '%' + +#modify new window +unbind 'c' +bind w new-window + +#change session +#unbind 's' +#bind c change-session + +#modify paste mode entry +bind Space copy-mode + +#relod config +bind z source-file ~/.tmux.conf + +#clear history +bind c clear-history + +#bigger buffer +set-option -g history-limit 5000 + +set-window-option -g mode-keys vi + +#bind -t vi-copy y copy-pipe 'xclip -in -selection clipboard'