TODOs for the TODO
- setting up gnome panel correctly
- irssi config
- AWS stuff?
- media keys still need to be disabled?
- setup keys
- full screen support in xmonad
- watch for errors and actually nail them down this time
- Install debian-based distro
apt-get install xmonad gnome-panel dconf-tools inotify-tools vim git-core gitk gitg ctags dmenu gmrun irssi
Ubuntu will come with working XSession/Gnome-Session files, you just need the gnome-panel dependency- Download John Yates config and copy to .xmonad/xmonad.hs
- in
.xmonad/xmonad.hs
comment out the keys in toRemove and toAdd (except for "don't strand naive users")
in toAdd add((modMask x .|. shiftMask, xK_l ), spawn "gnome-screensaver-command -l"), ((modMask x .|. shiftMask, xK_p ), spawn "gmrun")
- Fix
/usr/share/xsessions/gnome-flashback-xmonad.desktop
and dconf-editor
Disable media keys in org.gnome.settings-daemon.plugins.media-keysecho "set noswapfile" >> ~/.vimrc
while inotifywait -e close_write -r . ; do $TEST_RUNNER; done
git config --global user.name "Michael Edwards" && git config --global user.email "[email protected]" && git config --global core.editor vim && git config --global color.ui true && git config --global alias.stat 'status -sb'
- Gnome terminal: preferences -> turn off menu bar, profile preferences -> green on black text, tango colours
- ssh-keygen, post to github.com + AWS?
- Grab .bash_aliases from gist
- copy .irsssi_config to .irssi/config, place the notify script (see http://lewk.org/blog/tags/irssi ) and https://scripts.irssi.org/scripts/splitlong.pl in .irssi/scripts/autorun
Other .vimrc
stuff:
http://vim.wikia.com/wiki/Highlight_unwanted_spaces
highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
autocmd BufWinLeave * call clearmatches()
ctags stuff:
noremap <silent><Leader><C-]> <C-w><C-]><C-w>T
mkdir -p .vim/ftplugin
then in .vim/ftplugin/python.vim
set tabstop=8
set expandtab
set shiftwidth=4
set softtabstop=4
syntax on
filetype indent on