Commits

Tobias Langhoff committed 6251747

track .hgrc

  • Participants
  • Parent commits f65fe87

Comments (0)

Files changed (2)

+[ui]
+username = Tobias V. Langhoff <tobiasvl@ifi.uio.no>
+
+[hooks]
+changegroup=hg diff --stat -r $HG_NODE -r tip
 " Tobias V. Langhoff (tobiasvl / tvl)
 " tobiasvl@ifi.uio.no
 " http://folk.uio.no/tobiasvl/.vimrc
+" http://bitbucket.org/tobiasvl/pyncho/src/tip/.vimrc
 
 "set nocompatible
 filetype indent on  " choose indentation based on file type
 " folding
 set foldmethod=indent " fold indented regions
 set foldnestmax=10
-set foldenable
+set nofoldenable
 set foldlevel=1     " fold from the beginning
 
 " misc
 inoremap <F12> :w !detex \| wc -w<CR>
 
 " Filetype-specific autocommands.
-" Most importantly: Comment in and out lines using - and _ respectively.
 " The different FileTypes can be found in /usr/share/vim/vim70/filetype.vim
 filetype on         " detect filetypes
 augroup vimrc_filetype
 " Boilerplate
     autocmd FileType    java        abbr psvm public static void main(String[] args) {
     autocmd FileType    java        abbr sop System.out.println
-    " Comment lines with -
+    " Comment lines with - (TODO replace this with http://github.com/scrooloose/nerdcommenter )
     autocmd FileType    c,cpp,java,php  map - :s/^/\/\//<CR>:nohlsearch<CR>
     autocmd FileType    c,cpp,java,php  inoremap {  {<CR>}<Esc>O
     autocmd FileType    vim         map - :s/^/\"/<CR>:nohlsearch<CR>