Permalink
Browse files

various fixes

  • Loading branch information...
1 parent b4a7aab commit de2bcb5e354d90fbd8873aec733bacab96228e34 @robertfw committed Apr 23, 2012
Showing with 20 additions and 2 deletions.
  1. +7 −0 .bashrc
  2. +5 −0 .vimrc
  3. +3 −0 .xinitrc
  4. +1 −0 rc.lua
  5. +4 −2 ssh_config
View
7 .bashrc
@@ -14,9 +14,16 @@ source ~/dotfiles/.git-completion.sh
PS1='\u@\h \W$(__git_ps1 " (%s)")\$ '
+export EDITOR="vim"
+
alias ls='ls -alH --color=auto'
alias pi='yaourt -S'
alias pr='yaourt -R'
alias venv2='virtualenv2 --no-site-packages -v'
alias svim='sudo vim'
alias convert_dir_to_unix="find . -type f -exec dos2unix '{}' \;"
+alias clojure="java -cp /usr/share/clojure/clojure.jar clojure.main"
+
+alias koan="cd ~/code/python_koans/python_2"
+alias untar="tar -zxvf"
+alias youtube_mp3="youtube-dl -t --extract-audio --audio-format mp3"
View
5 .vimrc
@@ -24,6 +24,8 @@ set mouse=a " use mouse scroll wheel
colorscheme desert
+set term=aterm " fix for arrow keys spitting out ABCD in insert mode
+
" tab bindings
map <C-t><up> :tabr<cr>
map <C-t><down> :tabl<cr>
@@ -33,3 +35,6 @@ map <C-t><right> :tabn<cr>
" backup in one directory, don't scatter stuff around
set backupdir=~/.vim/backup/
set directory=~/.vim/backup/
+
+" code folding
+set foldmethod=indent
View
3 .xinitrc
@@ -14,6 +14,9 @@ fi
#setup dual monitors
xrandr --output HDMI1 --right-of VGA1
+#start xscreensaver
+/usr/bin/xscreensaver -no-splash &
+
eval $( ssh-agent -s )
exec awesome
eval $( ssh-agent -k )
View
1 rc.lua
@@ -195,6 +195,7 @@ root.buttons(awful.util.table.join(
-- {{{ Key bindings
globalkeys = awful.util.table.join(
+ awful.key({ modkey, }, "F12", function() awful.util.spawn("xscreensaver-command --lock") end),
awful.key({ modkey, }, "Left", awful.tag.viewprev ),
awful.key({ modkey, }, "Right", awful.tag.viewnext ),
awful.key({ modkey, }, "Escape", awful.tag.history.restore),
View
6 ssh_config
@@ -8,12 +8,14 @@ ControlPath ~/.ssh/socket-%r@%h:%p
Compression yes
AddressFamily inet
-
-Host 2mevents.com eventsquare.ca 2mev.com
+Host 2mevents.com eventsquare.ca 2mev.com vphp
ForwardAgent yes
Host eventsquare.ca 2mev.com
Port 31982
Host lem
User rwarner
+
+Host vphp
+User root

0 comments on commit de2bcb5

Please sign in to comment.