aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2014-06-17 16:08:49 +0200
committerDavid Runge <david.runge@frqrec.com>2014-06-17 16:08:49 +0200
commit9660eb720076fbc199cd2d4561ba2bd6d865399f (patch)
treecade55f153b5107a6e5d6c8e08e52364f2f6d332
parentc815af6f5c4f29291fc68967afe2458a1ec581b0 (diff)
parent3b44361df3ede6208faa6fc97d584d33889dedf5 (diff)
downloaddotfiles-9660eb720076fbc199cd2d4561ba2bd6d865399f.tar.gz
dotfiles-9660eb720076fbc199cd2d4561ba2bd6d865399f.tar.bz2
dotfiles-9660eb720076fbc199cd2d4561ba2bd6d865399f.tar.xz
dotfiles-9660eb720076fbc199cd2d4561ba2bd6d865399f.zip
Merge branch 'master' of https://github.com/davezerave/dot
Merging server side irssi settings and work-related ignores * 'master' of https://github.com/davezerave/dot: Adding bindings for vi-copy mode in tmux Adding more work related ignores Adding octave support Retabbing, customizing to my user Adding more bbb specific JACK settings Adding alias for checking for video devices in /dev Adding settings for my version of scvim, to be able to configure split-size and split orientation of the sclang output when using scvim in tmux and screen
-rw-r--r--.gitignore3
-rw-r--r--.scvimrc6
-rw-r--r--.tmux.conf9
-rw-r--r--.vundles.local2
-rw-r--r--.zsh.after/aliases.zsh1
-rw-r--r--.zsh.after/unixpool30
-rwxr-xr-xbin/start_jack2
7 files changed, 35 insertions, 18 deletions
diff --git a/.gitignore b/.gitignore
index bdd1cd4..ba930dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -40,9 +40,11 @@ Music/
Pictures/
Videos/
backup/
+build/
git/
ownCloud/
yankring_history_v2.txt
+svn/
.ICEauthority
.Mathematica/
@@ -258,6 +260,7 @@ yankring_history_v2.txt
.processing/
.profile
.pryrc
+.pulse
.pulse-cookie
.python-eggs/
.q3a/
diff --git a/.scvimrc b/.scvimrc
index 1c1809d..67fb207 100644
--- a/.scvimrc
+++ b/.scvimrc
@@ -2,6 +2,12 @@ let g:sclangKillOnExit = 1
let g:sclangTerm = "urxvt -e"
let g:sclangPipeLoc = "/tmp/sclang-pipe"
let g:sclangPipeAppPidLoc = "/tmp/sclangpipe_app-pid"
+" Set 1 to split scvim in tmux and screen vertically, 0 for horizontally
+let g:scvimSplitVertical = 1
+" Set the size of the sclang output split in lines or blocks (only for scvim opened in screen and
+" tmux). This setting applies vertically or horizontally, depending on
+" g:scvimSplitVertical
+let g:scvimSplitSize = 25
au BufWinEnter,BufNewFile,BufRead *.sc set filetype=supercollider
au BufWinEnter,BufNewFile,BufRead *.sc let &iskeyword="@,48-57,_,192-255" | runtime ftplugin/supercollider.vim
diff --git a/.tmux.conf b/.tmux.conf
index 6fefcb7..586539c 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -62,7 +62,6 @@ setw -g mode-mouse on
-
# Keep your finger on ctrl, or don't
bind-key ^D detach-client
@@ -73,6 +72,14 @@ set -g status-keys vi
# Use vi keybindings in copy and choice modes
setw -g mode-keys vi
+# v and y like vi in copy-mode
+bind-key -t vi-copy 'v' begin-selection
+bind-key -t vi-copy 'y' copy-selection
+# clipboard settings
+set -s set-clipboard on
+bind-key C-p run "xclip -o | tmux load-buffer - ; tmux paste-buffer"
+bind-key C-y run "tmux save-buffer - | xclip -i"
+
# set first window to index 1 (not 0) to map more to the keyboard layout...
set -g base-index 1
diff --git a/.vundles.local b/.vundles.local
index 0f02485..b020552 100644
--- a/.vundles.local
+++ b/.vundles.local
@@ -9,4 +9,4 @@ Bundle "sophacles/vim-processing"
"latex
Bundle "vim-scripts/LaTeX-Suite-aka-Vim-LaTeX"
"octave
-Bundle "sjas/octave.vim"
+Bundle "sjas/octave.vim" \ No newline at end of file
diff --git a/.zsh.after/aliases.zsh b/.zsh.after/aliases.zsh
index 76c8689..7659e00 100644
--- a/.zsh.after/aliases.zsh
+++ b/.zsh.after/aliases.zsh
@@ -30,6 +30,7 @@ alias llt='ls -ltr'
alias la='ls -A'
alias lla='ls -lA'
alias lsfw='ls -lah /dev|grep fw'
+alias lsvid='ls -lah /dev|grep video'
#grep aliases (with excluded directories)
alias grepdot='grep -rI --exclude-dir=".steam" --exclude-dir=".local" --exclude-dir=".thunderbird" --exclude-dir=".mozilla" --exclude-dir="git" --exclude-dir=".rvm" --exclude-dir=".log" --exclude-dir=".dropbox-dist" --exclude-dir=".config" '
diff --git a/.zsh.after/unixpool b/.zsh.after/unixpool
index d3498a1..e2edade 100644
--- a/.zsh.after/unixpool
+++ b/.zsh.after/unixpool
@@ -49,23 +49,23 @@ fi
## FUNCTIONS
function music_update() {
- echo "updating zip files"
- for i in */*;
- do
- name=`echo $i | sed 's/\ /_/g' | sed 's/\//-/g'`
- if [ ! -e $name.zip ];
- then
- echo "packing $i as $name.zip"
- zip -r $name.zip $i
- fi
- done
- echo "done"
+ echo "updating zip files"
+ for i in */*;
+ do
+ name=`echo $i | sed 's/\ /_/g' | sed 's/\//-/g'`
+ if [ ! -e $name.zip ];
+ then
+ echo "packing $i as $name.zip"
+ zip -r $name.zip $i
+ fi
+ done
+ echo "done"
}
function makantine() {
- wget http://personalkantine.personalabteilung.tu-berlin.de/pdf/MA-aktuell.pdf -O /tmp/makantine.$$.pdf >&/dev/null
- xpdf -cont -z page /tmp/makantine.$$.pdf
- rm -f /tmp/makantine.$$.pdf
+ wget http://personalkantine.personalabteilung.tu-berlin.de/pdf/MA-aktuell.pdf -O /tmp/makantine.$$.pdf >&/dev/null
+ xpdf -cont -z page /tmp/makantine.$$.pdf
+ rm -f /tmp/makantine.$$.pdf
}
function pxeln() {
@@ -121,5 +121,5 @@ function pxeln() {
}
function mailhighscore() {
- for i in /homes/wheel/*; do n=`basename $i`; echo `grep $n /var/spool/mail/konni | grep -c From` $n; done | sort -nr
+ for i in /homes/wheel/*; do n=`basename $i`; echo `grep $n /var/spool/mail/runge | grep -c From` $n; done | sort -nr
}
diff --git a/bin/start_jack b/bin/start_jack
index d28733c..48e97ed 100755
--- a/bin/start_jack
+++ b/bin/start_jack
@@ -13,7 +13,7 @@ case "$HOSTNAME" in
EXTERNAL="card 1"
if [[ "$CARDS" == *$EXTERNAL* ]];then
echo "Starting with external USB card"
- /usr/bin/xvfb-run -s "-screen 0, 1280x800x24" -a -e ~/.log/xvfb-run-jack.error jackd -dalsa -dhw:1,0 -p128 -n3 -s &> ~/.log/jackd.log &
+ /usr/bin/xvfb-run -s "-screen 0, 1280x800x24" -a -e ~/.log/xvfb-run-jack.error jackd -dalsa -dhw:1,0 -p2048 -n3 -s &> ~/.log/jackd.log &
else
echo "Starting with internal HDMI card"
/usr/bin/xvfb-run -s "-screen 0, 1280x800x24" -a -e ~/.log/xvfb-run-jack.error jackd -dalsa -dhw:0,0 -p128 -n3 -s &> ~/.log/jackd.log &