1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 22:55:10 +01:00

Merge branch 'master' of github.com:aquatix/dotfiles

This commit is contained in:
Michiel Scholten
2014-06-20 17:09:34 +02:00
6 changed files with 31 additions and 0 deletions

View File

@@ -46,3 +46,14 @@ function fuck() {
echo ; echo " (╯°□°)╯︵$(echo "$2"|toilet -f term -F rotate)"; echo
fi
}
#20140614 wrapper around bpython to load the virtualenv's python path
bpython() {
if test -n "$VIRTUAL_ENV"
then
PYTHONPATH="$(python -c 'import sys; print ":".join(sys.path)')" \
command bpython "$@"
else
command bpython "$@"
fi
}

View File

@@ -127,4 +127,8 @@ if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
if [ -x ~/.privdotfiles/bin ]; then
PATH=$PATH:~/.privdotfiles/bin
fi
PATH=$PATH:/usr/local/bin/android-sdk-linux/platform-tools

BIN
.terminfo/s/screen-256color Normal file

Binary file not shown.

View File

@@ -70,5 +70,8 @@ bind C-a last-window
# Bigger history
set -g history-limit 10000
# Fix for shift-keys with Fn; needs correct terminfo too
setw -g xterm-keys on
# Local config
if-shell "[ -f ~/.tmux.conf.user ]" 'source ~/.tmux.conf.user'

9
.vimrc
View File

@@ -17,6 +17,15 @@ Plugin 'mhinz/vim-signify'
Plugin 'tpope/vim-sensible'
" Nice colour scheme
Plugin 'jnurmine/Zenburn.git'
" Python autocompletion
Plugin 'davidhalter/jedi-vim'
" Handy Markdown stuff
Plugin 'tpope/vim-markdown'
" Pandoc, for stuff like autocompletion of citations from bibtex, other LaTeX
" stuff
Plugin 'vim-pandoc/vim-pandoc'
" Distraction-free writing, start with <Leader>V (\V)
Plugin 'mikewest/vimroom'
" All of your Plugins must be added before the following line
call vundle#end() " required

View File

@@ -6,3 +6,7 @@ After having my homedirs in subversion for years, move to Git.
```
sh install.sh
```
# Fix for shift+F6 in tmux (and screen probably)
In tmux, do `infocmp > screen-256color`. Add the line `kf16=\E[17;2~,` and compile the file with tic. This will result in `~/.terminfo/s/screen-256color` with the correct keycode for shift+F6. `.tmux.conf` needs the line `setw -g xterm-keys on` for it to register correctly.