Updating the Vim Config
This commit is contained in:
parent
cf57dd3ce6
commit
d626725dc9
1
.vim/bundle/vim-expand-region
Submodule
1
.vim/bundle/vim-expand-region
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 966513543de0ddc2d673b5528a056269e7917276
|
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>sc :Scratch<CR>
|
||||||
nmap <leader>cc :Sscratch<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)
|
||||||
|
Loading…
Reference in New Issue
Block a user