Updating the Vim Config
This commit is contained in:
10
home/.vimrc
10
home/.vimrc
@@ -55,3 +55,13 @@ let g:ctrlp_custom_ignore = {
|
||||
nmap <leader>sc :Scratch<CR>
|
||||
nmap <leader>cc :Sscratch<CR>
|
||||
" }}
|
||||
|
||||
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 <Plug>(expand_region_expand)
|
||||
vmap <C-v> <Plug>(expand_region_shrink)
|
||||
|
Reference in New Issue
Block a user