From 13cf1104cbb90194fffb2702e6debe0f2cfb083e Mon Sep 17 00:00:00 2001 From: Andrei Stoica Date: Tue, 14 Mar 2017 10:53:46 -0400 Subject: [PATCH 1/3] changed xclip aliases --- .bash_aliases | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.bash_aliases b/.bash_aliases index b42eae1..b92686e 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -2,8 +2,10 @@ alias clj='rlwrap java -cp ~/Clojure/clojure-1.8.0.jar clojure.main' alias ll='ls -l' alias la='ls -A' alias l='ls -CF' -alias gpwd="pwd | xclip -i" -alias cdpwd="cd \$(xclip -o)" +alias gpwd='pwd | xclip -i -selection clipboard' +alias cdclip="cd \$(xclip -o -selection clipboard)" +alias clipi='xclip -i -selection clipboard' +alias clipo='xclip -o -selection clipboard' alias ml='livestreamer --config ~/.livestreamerrc -v' alias jblive='mpv rtmp://jblive.videocdn.scaleengine.net/jb-live/play/jblive.stream' alias twit='livestreamer --config ~/.livestreamerrc -v http://www.ustream.tv/leolaporte' From 27b3ef977c1cbedab1d6941fd635fec240adeb4d Mon Sep 17 00:00:00 2001 From: Andrei Stoica Date: Mon, 24 Apr 2017 12:11:28 -0400 Subject: [PATCH 2/3] update --- .bashrc | 9 +++++++++ .gitconfig | 3 +++ .tmux.conf##Linux | 4 ++++ .vimrc | 1 + 4 files changed, 17 insertions(+) diff --git a/.bashrc b/.bashrc index 23afed4..583df93 100644 --- a/.bashrc +++ b/.bashrc @@ -128,3 +128,12 @@ if ! shopt -oq posix; then . /etc/bash_completion fi fi + +# Junit setup +export JUNIT_HOME=/home/andrei/.junit +export CLASSPATH=$JUNIT_HOME/junit4.12.jar:$JUNIT_HOME/hamcrest-core-1.3.jar + +# editor setup +export VISUAL=vim +export EDITOR="$VISUAL" + diff --git a/.gitconfig b/.gitconfig index 169b934..ebd02b2 100644 --- a/.gitconfig +++ b/.gitconfig @@ -15,3 +15,6 @@ lol = log --decorate --pretty=oneline --abbrev-commit lg = log --pretty=format:'%C(auto) %h,%C(green) \"%s\"%Creset, %aN,%C(blue) %cD' +[core] + editor = vim + autocrlf = input diff --git a/.tmux.conf##Linux b/.tmux.conf##Linux index 70ade64..2e816d7 100644 --- a/.tmux.conf##Linux +++ b/.tmux.conf##Linux @@ -23,3 +23,7 @@ set-window-option -g mode-keys vi # status bar set -g status-right '♥#(acpi | cut -d ',' -f 2) | %H:%m %d-%b-%y ' + +# default shell +set -g default-terminal "screen-256color" /bin/bash +#set-option -g default-shell /bin/bash diff --git a/.vimrc b/.vimrc index 1071f84..2cf1484 100644 --- a/.vimrc +++ b/.vimrc @@ -12,6 +12,7 @@ set autoindent set shiftwidth=2 set smartindent set softtabstop=2 +set tabstop=2 set ruler set undolevels=1000 set backspace=indent,eol,start From c166fed1aaa5f369d0266cb79897e41a836e7d6e Mon Sep 17 00:00:00 2001 From: Andrei Stoica Date: Fri, 28 Apr 2017 00:01:33 -0400 Subject: [PATCH 3/3] added server specific tmux config --- .tmux.conf##Linux.a-server | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .tmux.conf##Linux.a-server diff --git a/.tmux.conf##Linux.a-server b/.tmux.conf##Linux.a-server new file mode 100644 index 0000000..9f20259 --- /dev/null +++ b/.tmux.conf##Linux.a-server @@ -0,0 +1,29 @@ +# remap prefix from 'C-b' to 'C-a' +unbind C-b +set-option -g prefix C-a +bind-key C-a send-prefix + +# Enable mouse control (clickable windows, panes, resizable panes) +set -g mouse on + +# Initialize sesions +bind W source-file ~/.tmux/work + +# reload config +bind r source-file ~/.tmux.conf \; display-message "Config reloaded..." + +# spliting windoww +unbind % +unbind '"' +bind | split-window -h +bind - split-window -v + +# setting vi mode +set-window-option -g mode-keys vi + +# status bar +set -g status-right '%H:%m %d-%b-%y ' + +# default shell +set -g default-terminal "screen-256color" /bin/bash +#set-option -g default-shell /bin/bash