From d626725dc98daa76123414dca0009c05b6b18e99 Mon Sep 17 00:00:00 2001 From: Brian Buller Date: Thu, 4 Jun 2015 10:13:29 -0500 Subject: [PATCH] Updating the Vim Config --- .vim/bundle/vim-expand-region | 1 + .vim/ftplugin/go.vim | 0 home/.vimrc | 10 ++++++++++ 3 files changed, 11 insertions(+) create mode 160000 .vim/bundle/vim-expand-region create mode 100644 .vim/ftplugin/go.vim diff --git a/.vim/bundle/vim-expand-region b/.vim/bundle/vim-expand-region new file mode 160000 index 0000000..9665135 --- /dev/null +++ b/.vim/bundle/vim-expand-region @@ -0,0 +1 @@ +Subproject commit 966513543de0ddc2d673b5528a056269e7917276 diff --git a/.vim/ftplugin/go.vim b/.vim/ftplugin/go.vim new file mode 100644 index 0000000..e69de29 diff --git a/home/.vimrc b/home/.vimrc index 0b2c49c..2593171 100644 --- a/home/.vimrc +++ b/home/.vimrc @@ -55,3 +55,13 @@ let g:ctrlp_custom_ignore = { nmap sc :Scratch nmap cc :Sscratch " }} + +let g:netrw_sort_sequence='[\/]$,\.[a-np-z]$,main.go$,[^main]\.go$,\.h$,\.c$,\.cpp$,*,\.o$,\.obj$,\.info$,\.swp$,\.bak$,\~$' + + +" now set it up to change the status line based on mode +au InsertEnter * hi StatusLine term=reverse ctermbg=5 gui=undercurl guisp=Magenta +au InsertLeave * hi StatusLine term=reverse ctermfg=0 ctermbg=2 gui=bold,reverse + +vmap v (expand_region_expand) +vmap (expand_region_shrink)