Adding a bunch of random stuff to vimrc
This commit is contained in:
parent
71f6315dde
commit
45ea5d3088
1 changed files with 21 additions and 2 deletions
23
vimrc
23
vimrc
|
|
@ -2,9 +2,16 @@
|
||||||
call pathogen#runtime_append_all_bundles()
|
call pathogen#runtime_append_all_bundles()
|
||||||
call pathogen#helptags()
|
call pathogen#helptags()
|
||||||
|
|
||||||
" turn off vi compatability
|
" turn off vi compatability, although i hear when vimrc exists this is set
|
||||||
|
" automatically
|
||||||
set nocompatible
|
set nocompatible
|
||||||
|
|
||||||
|
" allow hidden buffers
|
||||||
|
set hidden
|
||||||
|
|
||||||
|
" longer history
|
||||||
|
set history=1000
|
||||||
|
|
||||||
" turn off swapfiles
|
" turn off swapfiles
|
||||||
set noswapfile
|
set noswapfile
|
||||||
|
|
||||||
|
|
@ -15,6 +22,19 @@ set undofile
|
||||||
" line numbers
|
" line numbers
|
||||||
set nu
|
set nu
|
||||||
|
|
||||||
|
" wild menu
|
||||||
|
set wildmenu
|
||||||
|
set wildmode=longest:full
|
||||||
|
|
||||||
|
" show the command as it is typed
|
||||||
|
" set sc
|
||||||
|
|
||||||
|
" remap the leader to ,. hate doing this but \ is so far away
|
||||||
|
let mapleader = ","
|
||||||
|
|
||||||
|
" when a file is changed externally
|
||||||
|
set autoread
|
||||||
|
|
||||||
" indentation
|
" indentation
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
filetype indent on
|
filetype indent on
|
||||||
|
|
@ -32,7 +52,6 @@ set smarttab
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
|
|
||||||
set autoread
|
|
||||||
set mat=2
|
set mat=2
|
||||||
set ruler
|
set ruler
|
||||||
set nohls
|
set nohls
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue