Updating the Vim Config
This commit is contained in:
1
.vim/bundle/vim-expand-region
Submodule
1
.vim/bundle/vim-expand-region
Submodule
Submodule .vim/bundle/vim-expand-region added at 966513543d
0
.vim/ftplugin/go.vim
Normal file
0
.vim/ftplugin/go.vim
Normal file
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