Changes to vimrc

master
Jonathan Hodgson 7 years ago
parent d36f6f6fd3
commit b06df75d83
  1. 21
      .vimrc

@ -4,6 +4,9 @@ set nocompatible
" set syntax highlighting
syntax on
" Enable netrw
filetype plugin on
" start pathogen
call pathogen#infect()
call pathogen#helptags()
@ -12,6 +15,12 @@ call pathogen#helptags()
set relativenumber
set number
" search in sub folders
set path+=**
" Display matching files when tab completing
set wildmenu
" set tabwidth
set autoindent
set smartindent
@ -24,12 +33,14 @@ set list listchars=tab:»\ ,trail:\␣,eol:↩
" make search highlight as you type
set incsearch
" Make search case insensitive unless I type a capital letter
set ignorecase smartcase
set backspace=indent,eol,start
" Show commands as you type them
set showcmd
" Set default buffer to system clipboard
set clipboard=unnamedplus
" Move lines up/down using arrow keys
nmap <Down> ddp
nmap <Up> ddkP
@ -93,3 +104,7 @@ endfun
" Run after "doing all the startup stuff"
" autocmd VimEnter * call Start()
" Folding
au FileType html,css,less,javascript,php setl foldmethod=indent foldenable

Loading…
Cancel
Save