dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 691a0a9de4d857ede87edcc0b206728fe7669888
parent c0956af1aea2435b712df92f8151f4674574fd1e
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Fri, 28 Nov 2014 18:53:50 +0100

Merge branch 'master' of github.com:anders-dc/dotfiles

Diffstat:
M.mutt/muttrc | 3++-
M.tmux.conf | 1+
M.tmuxinator/dev.yml | 2+-
M.vimrc | 3+++
M.zshrc | 2++
Mbin/umount-usb.sh | 2+-
6 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/.mutt/muttrc b/.mutt/muttrc @@ -24,7 +24,8 @@ set my_del=`rm -f ~/.sec/.tmp` # IMAP: offlineimap set folder = "~/Mail" source ~/.mutt/mailboxes -set spoolfile = "+riseup/INBOX" +#set spoolfile = "+riseup/INBOX" +set spoolfile = "+riseup" set record = "+riseup/Sent\ Items" set postponed = "+riseup/Drafts" set mbox_type=Maildir diff --git a/.tmux.conf b/.tmux.conf @@ -36,6 +36,7 @@ bind r source-file ~/.tmux.conf \; display "Source file reloaded" set -g base-index 1 # start window numbering at 1 set -g pane-base-index 1 # start pane numbering at 1 +set -g renumber-windows on # renumber remaining windows when a window is closed # mouse behavior setw -g mode-mouse on diff --git a/.tmuxinator/dev.yml b/.tmuxinator/dev.yml @@ -28,7 +28,7 @@ windows: - run: layout: main-vertical panes: - - cd python && ipython -i -c 'import sphere' + - cd python && ipython -i -c 'import numpy; import sphere' - cd python - cd python - log: cd python diff --git a/.vimrc b/.vimrc @@ -301,6 +301,9 @@ nmap <leader>E :VimProcRead nmap <leader>m :Make<CR> +" spawn interactive process +nmap <leader>S :Start + nmap <leader>g :Gcommit<CR> " Switch split focus with leader+hjkl diff --git a/.zshrc b/.zshrc @@ -46,6 +46,7 @@ function lT() { ls -ltrsa "$@" | head; } function psgrep() { ps axuf | grep -v grep | grep "$@" -i --color=auto; } function fname() { find . -iname "*$@*"; } function sayfile() { festival --tts $@; } +function tnew { tmux new-session -As `basename $PWD` } # Start tmux on shell login #[[ -z "$TMUX" ]] && exec tmux @@ -66,6 +67,7 @@ alias gcgp='git commit && git push' alias gcagp='git commit -a && git push' alias clear='clear && tmux clear-history' alias ct='ctags -R .' +alias findgrep='find . | grep -i ' alias zshreload="source ~/.zshrc" diff --git a/bin/umount-usb.sh b/bin/umount-usb.sh @@ -1,2 +1,2 @@ #!/bin/sh -sudo umount /media/usb +sudo umount /media/usb && echo "/media/usb unmounted"