Author: Kyle Fuller <inbox@kylefuller.co.uk> 2013-12-13 15:08:07 +0000 +0000
Committer: Kyle Fuller <inbox@kylefuller.co.uk> 2013-12-13 15:08:07 +0000 +0000
Commit: 883ecdf5edd0a9edfbb0f310d5e795c98dfca3ed
Parent: 1f6138bc414c3746b20241197064ec84ef89a4dd
Updates to vim config
diff --git a/.vimrc b/.vimrc
index 344923175f6452e8c0c0419ed9f960d4c73d74d0..ba2eb55dfbe69e8a5ed3b8301eb8d4d59f48f93e 100644
--- a/.vimrc
+++ b/.vimrc
@@ -22,6 +22,9 @@
set showcmd
set showmode " Show the mode in use
+set hlsearch " Highlight all search matches
+set cursorline " Highlight current line
+
set wrap " Turn on line wrapping
set textwidth=79
set colorcolumn=80
@@ -33,6 +36,12 @@ set visualbell " Disable beeping
set incsearch " Highlight matches as you type
set hlsearch " Highlight matches
+
+set laststatus=2 " Always show status bar
+
+" Highlight the status bar when in insert mode
+au InsertEnter * hi StatusLine ctermfg=235 ctermbg=10
+au InsertLeave * hi StatusLine ctermfg=15 ctermbg=240
" Searching
set ignorecase