vimrc updates

This commit is contained in:
Rob Watson 2021-01-17 14:13:17 +01:00
parent bbf81ac04e
commit 6368455160
1 changed files with 6 additions and 5 deletions

11
vimrc
View File

@ -50,7 +50,6 @@ set ttymouse=sgr
set mouse=a
set mousemodel=popup_setpos
set lazyredraw
set completeopt=menu,menuone,preview,longest
set timeoutlen=600
set ballooneval
set balloonevalterm
@ -62,8 +61,8 @@ set pastetoggle=<f2>
set thesaurus=$HOME/Documents/thesaurus/thesaurus_pkg/thesaurus.txt
" Colour scheme:
colorscheme flattened_dark
set background=dark
colorscheme iceberg
set background=light
" Automatically load/save views on files.
" https://vi.stackexchange.com/posts/13874/revisions
@ -94,7 +93,7 @@ map <leader>v :vsplit<cr>
map <leader>h :split<cr>file browser
map <leader>! <esc>:only<cr>
" ctrl-c to unload a buffer
nnoremap <c-c> :bp\|bd #<cr>
nnoremap <silent> <c-c> :bp\|bd #<cr>
function! ToggleQuickFix()
if empty(filter(getwininfo(), 'v:val.quickfix'))
@ -119,7 +118,9 @@ map <Leader>* :call RequestGrep()<CR>
map <Leader>8 :call RequestGrep()<CR>
" deoplete configuration
packadd! deoplete.nvim
let g:deoplete#enable_at_startup = 1
call deoplete#custom#option('num_processes', 2)
" vim-markdown configuration:
let g:vim_markdown_conceal = 1
@ -128,7 +129,7 @@ let g:vim_markdown_conceal = 1
let switchbuf="usetab"
map <leader>T :CommandTFlush<CR>
map <Leader>r :CommandTMRU<CR>
map <Leader>H :CommandTHelp<CR>
map <Leader>k :CommandTHelp<CR>
map <Leader>c :CommandTCommand<CR>
let g:CommandTFileScanner="git"
let g:CommandTGitScanSubmodules=1