Mercurial > dotfiles
changeset 18:cec2213f938c
Removed some MiniBufExplorer mappings.
Disabled command-t (because you need Ruby installed).
Some little settings changes.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 21 Nov 2011 17:12:03 -0800 |
parents | 3b6f884edf98 |
children | 89c7493e3442 |
files | vim/vimrc |
diffstat | 1 files changed, 21 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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 <leader>e :MiniBufExplorer<cr> -map <leader>c :CMiniBufExplorer<cr> -map <leader>u :UMiniBufExplorer<cr> -map <leader>t :TMiniBufExplorer<cr> -" Close buffer with CTRL+W -"map <C-w> :bdelete<cr> - " Open NERDtree map <leader>n :NERDTreeToggle<cr>