Skip to content

Commit

Permalink
Vim handling zip files, ReST width set to 80 chars, EuroPython aliase…
Browse files Browse the repository at this point in the history
…s updated
  • Loading branch information
ambv committed Jul 20, 2010
1 parent 0df2206 commit cecdbd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion profile_machine/darwin
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ fi
alias pro='cd ~/Documents/Projekty;lt 1'
alias propy='cd ~/Documents/Projekty/Python;lt 1'
alias prostx='cd ~/Documents/Projekty/STX-Next;lt 1'
alias proeuro='cd ~/Documents/Projekty/STX-Next/EuroPython;lt 1'
alias proeuro='cd ~/Documents/Projekty/STX-Next/EuroPython10;lt 1'
alias proeuro9='cd ~/Documents/Projekty/STX-Next/EuroPython09;lt 1'
alias ptar='tar --use-compress-program /opt/local/bin/pbzip2 '
alias pgstart="sudo su postgres -c '/opt/local/lib/postgresql83/bin/pg_ctl -D /opt/local/var/db/postgresql83/defaultdb -l /opt/local/var/log/postgresql83/postgres.log start'"
alias pgstop="sudo su postgres -c '/opt/local/lib/postgresql83/bin/pg_ctl -D /opt/local/var/db/postgresql83/defaultdb stop -m fast'"
Expand Down
4 changes: 2 additions & 2 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ autocmd BufRead,BufNewFile *.py,*.pyw match BadWhitespace /^\t\+/
autocmd BufNewFile,BufRead *.txt set filetype=human
autocmd BufNewFile,BufRead *.json set filetype=javascript
autocmd FileType mail,human set formatoptions+=t textwidth=72
autocmd FileType rst set formatoptions+=t textwidth=100
autocmd FileType rst set formatoptions+=t textwidth=80
autocmd FileType c set formatoptions+=ro
autocmd FileType perl set smartindent
autocmd FileType css set smartindent
Expand All @@ -94,7 +94,7 @@ autocmd FileType make set noexpandtab shiftwidth=8 tabstop=8 softtabstop=8
autocmd FileType python call Python_init()
autocmd FileType pyrex call Python_init()
autocmd BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g`\"" | endif "return to the last edited line in opened files:

autocmd BufReadCmd *.egg,*.odp,*.ods,*.odt,*.jar,*.xmap,*.xmind,*.xpi call zip#Browse(expand("<amatch>"))


"
Expand Down

0 comments on commit cecdbd7

Please sign in to comment.