From b06df75d8306167f06b78b21912c3e2f7d6c791f Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Fri, 17 Feb 2017 16:31:15 +0000 Subject: [PATCH] Changes to vimrc --- .vimrc | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.vimrc b/.vimrc index 6754e03..efba530 100644 --- a/.vimrc +++ b/.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 ddp nmap 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