# HG changeset patch # User ludovicchabant # Date 1321313295 28800 # Node ID 00cac5ebf5463efdd686d57be2ba71e4730a7589 # Parent b79a2f8f544a681cd04909890538481fcea31097 Added default window size. Added buffer keyboard shortcuts. diff -r b79a2f8f544a -r 00cac5ebf546 vim/vimrc --- a/vim/vimrc Mon Nov 14 15:10:49 2011 -0800 +++ b/vim/vimrc Mon Nov 14 15:28:15 2011 -0800 @@ -22,9 +22,11 @@ " Load pathogen. call pathogen#infect() -" Hide the toolbar in MacVim/gVIM +" Hide the toolbar in MacVim/gVIM, and set a nice window size. if has("gui_running") set guioptions=-t + set lines=50 + set columns=135 endif " Don't unload abandoned buffers. @@ -124,9 +126,19 @@ " Enable file type detection. filetype indent plugin on +" MiniBufExplorer +" Navigate with CTRL+Tab/CTRL+Shift+Tab +let g:miniBufExplMapCTabSwitchBufs = 1 + " Custom mappings. -let mapleader="," -map nt :tabnew " New tab = ,nt +let mapleader="\\" +" MiniBufExplorer mappings +map e :MiniBufExplorer +map c :CMiniBufExplorer +map u :UMiniBufExplorer +map t :TMiniBufExplorer +" Close buffer with CTRL+W +map :bdelete " Temporary stuff "let mapleader="," " Use , as Leader