Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update vimrc.

  • Loading branch information...
commit c51be2cbdea8c576b28ea6ddf81fd1b1b7b1fed5 1 parent 293fa52
@nelstrom authored
Showing with 9 additions and 24 deletions.
  1. +9 −24 vimrc
View
33 vimrc
@@ -1,40 +1,30 @@
" vim: nowrap fdm=marker
+set nocompatible
-" Manage plugins. {{{1
+" Activate plugins that ship with Vim
runtime macros/matchit.vim
runtime ftplugin/man.vim
+
+" Manage plugins
call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
-" pathogen dynamically sets the runtimepath, like this:
-" set runtimepath+=~/.vim/bundle/vim-abolish/
-" An example for a vimrc file. {{{1
-"
-" Use Vim settings, rather then Vi settings (much better!).
-" This must be first, because it changes other options as a side effect.
-set nocompatible
-
-" allow backspacing over everything in insert mode
set backspace=indent,eol,start
-set history=50 " keep 50 lines of command line history
-set ruler " show the cursor position all the time
-set showcmd " display incomplete commands
-set incsearch " do incremental searching
-
if has('mouse')
set mouse=a
endif
-" Switch syntax highlighting on, when the terminal has colors
-" Also switch on highlighting the last used search pattern.
+" When the terminal has colors, enable syntax+search highlighting
if &t_Co > 2 || has("gui_running")
syntax on
set hlsearch
endif
-
-
+set history=50
+set ruler
+set showcmd
+set incsearch
set visualbell t_vb=
set number
set cursorline
@@ -56,8 +46,3 @@ set nobackup
set noswapfile
let mapleader = ","
-
-nmap gV `[v`]
-" http://stackoverflow.com/questions/6228079/remove-newlines-from-a-register-in-vim/6235707#6235707
-nnoremap <expr> gV "`[".getregtype(v:register)[0]."`]"
-
Please sign in to comment.
Something went wrong with that request. Please try again.