Added comments to everything in vimrc and added paste mode
This commit is contained in:
5
vimrc
5
vimrc
@@ -199,6 +199,10 @@ hi Cursor guibg=red
|
|||||||
" Use same color behind concealed unicode characters
|
" Use same color behind concealed unicode characters
|
||||||
hi clear Conceal
|
hi clear Conceal
|
||||||
|
|
||||||
|
" Set paste mode and use system clipboard
|
||||||
|
set paste
|
||||||
|
set clipboard=unnamed
|
||||||
|
|
||||||
" Don't blink normal mode cursor
|
" Don't blink normal mode cursor
|
||||||
set guicursor=n-v-c:block-Cursor
|
set guicursor=n-v-c:block-Cursor
|
||||||
set guicursor+=n-v-c:blinkon0
|
set guicursor+=n-v-c:blinkon0
|
||||||
@@ -235,6 +239,7 @@ augroup sourcing
|
|||||||
autocmd bufwritepost .vimrc source $MYVIMRC
|
autocmd bufwritepost .vimrc source $MYVIMRC
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
" Map Ctrl-S to save
|
||||||
noremap <silent> <C-S> :update<CR>
|
noremap <silent> <C-S> :update<CR>
|
||||||
vnoremap <silent> <C-S> <C-C>:update<CR>
|
vnoremap <silent> <C-S> <C-C>:update<CR>
|
||||||
inoremap <silent> <C-S> <C-O>:update<CR>
|
inoremap <silent> <C-S> <C-O>:update<CR>
|
||||||
|
Reference in New Issue
Block a user