# HG changeset patch # User Ludovic Chabant # Date 1321924323 28800 # Node ID cec2213f938cc537393794a7bd204457ac3f19df # Parent 3b6f884edf98b02948163291794eae041de9541a Removed some MiniBufExplorer mappings. Disabled command-t (because you need Ruby installed). Some little settings changes. diff -r 3b6f884edf98 -r cec2213f938c vim/vimrc --- a/vim/vimrc Mon Nov 21 17:11:05 2011 -0800 +++ b/vim/vimrc Mon Nov 21 17:12:03 2011 -0800 @@ -19,6 +19,10 @@ let $PLATFORM = "unix" endif +" Disable some plugins. +let g:pathogen_disabled = [] +call add(g:pathogen_disabled, 'command-t') + " Load pathogen. call pathogen#infect() @@ -29,12 +33,22 @@ set columns=135 endif +" Disable modelines. +set modelines=0 + " Don't unload abandoned buffers. set hidden " Show line numbers. set number +" Show what mode we're in, and what command we're typing. +set showmode +set showcmd + +" Keep the cursor off the top/bottom edges. +set scrolloff=3 + " Smart auto-indenting. set autoindent set smartindent @@ -95,6 +109,9 @@ set smarttab set expandtab +" Default encoding +set encoding=utf-8 + " Clipboard buffer. set clipboard=unnamed @@ -119,6 +136,9 @@ " Syntax highlighting syntax on +" Change the current directory to the home directory. +cd ~/ + " Default color scheme colorscheme peaksea set background=dark @@ -128,18 +148,12 @@ " MiniBufExplorer " Navigate with CTRL+Tab/CTRL+Shift+Tab -"let g:miniBufExplMapCTabSwitchBufs = 1 +let g:miniBufExplMapCTabSwitchBufs = 1 " Custom mappings. let mapleader="\\" " MiniBufExplorer mappings map e :MiniBufExplorer -map c :CMiniBufExplorer -map u :UMiniBufExplorer -map t :TMiniBufExplorer -" Close buffer with CTRL+W -"map :bdelete - " Open NERDtree map n :NERDTreeToggle