From 884094295eeb66fa06b10abf435c7260c35f214e Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Fri, 12 Sep 2014 14:47:40 +0200 Subject: [PATCH 1/3] Easy alias for reloading tmux config --- .bash_aliases | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bash_aliases b/.bash_aliases index 3297c74..3365039 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -46,6 +46,9 @@ alias takeover="tmux detach -a" # 20140825 as there is no `pip upgrade`, this has to do alias pip_upgrade="pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs pip install -U" +# 20140912 +alias tmux_reload="tmux source-file ~/.tmux.conf" + function fuck() { if killall -9 "$2"; then echo ; echo " (╯°□°)╯︵$(echo "$2"|toilet -f term -F rotate)"; echo From 1154dd47a6658bc93fd92155e713866793159fa5 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Sun, 14 Sep 2014 20:43:24 +0200 Subject: [PATCH 2/3] Modify Iris Dark gtk theme to different contrast colour --- bin/iris_color | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 bin/iris_color diff --git a/bin/iris_color b/bin/iris_color new file mode 100755 index 0000000..6e52070 --- /dev/null +++ b/bin/iris_color @@ -0,0 +1,24 @@ +#!/bin/bash + +# Make sure only root can run our script +if [[ $EUID -ne 0 ]]; then + echo "This script must be run as root" 1>&2 + exit 1 +fi + +cd /usr/share/themes + +if [ ! -d "Iris Dark" ]; then + echo "Iris theme not found!" + exit 1 +fi + +if [ -d "Iris Dark Green" ]; then + rm -r "Iris Dark Green" +fi + +cp -a "Iris Dark" "Iris Dark Green" +cd "Iris Dark Green" + +# change orange hilight to green (shade from Faba-Mint) +find . -type f -print0 | xargs -0 sed -i 's/df253f/79a142/g' From 33ecacfa613767b7182b13b614ab96fa24cf3cd9 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Sat, 20 Sep 2014 20:38:35 +0200 Subject: [PATCH 3/3] Added nerdtree with ctrl+n toggle --- .vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index a0c6d45..97f4cc3 100644 --- a/.vimrc +++ b/.vimrc @@ -25,8 +25,11 @@ Plugin 'mhinz/vim-signify' Plugin 'tpope/vim-sensible' " Nice colour scheme Plugin 'jnurmine/Zenburn.git' +" Quick file system tree, mapped to Ctrl+n for quick toggle +Plugin 'scrooloose/nerdtree' +map :NERDTreeToggle -" == +" == Content convenience " Python autocompletion Plugin 'davidhalter/jedi-vim'