aboutsummaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-10-10 12:27:18 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-10-10 12:27:18 +0100
commitdf6a7ef5adfe3a676540809ca1c479b9fade5939 (patch)
treee4c0986e1c9de6d2fd98c0c7f13388544f3ed93f /vim/vimrc
parentad90d0081b17d00caf153d82e72d6eed37ba9a69 (diff)
update
Diffstat (limited to '')
-rw-r--r--vim/vimrc15
1 files changed, 11 insertions, 4 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 64e879b..1ad1d01 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -143,6 +143,7 @@ autocmd BufLeave * call s:copy_filename_as_mdlink()
" vim-plug
call plug#begin('~/.vim/plugged')
Plug 'morhetz/gruvbox'
+Plug 'sickill/vim-monokai'
Plug 'ledger/vim-ledger'
Plug 'ycm-core/YouCompleteMe'
"Plug 'prabirshrestha/vim-lsp'
@@ -175,6 +176,11 @@ Plug 'powerman/vim-plugin-AnsiEsc'
"Plug 'majutsushi/tagbar'
call plug#end()
+" Ultisnips
+let g:UltiSnipsExpandTrigger="<c-space>"
+let g:UltiSnipsJumpForwardTrigger="<c-j>"
+let g:UltiSnipsJumpBackwardTrigger="<c-k>"
+
" YouCompleteMe
let g:ycm_python_interpreter_path = '.venv/bin/python3'
let g:ycm_python_sys_path = []
@@ -191,9 +197,10 @@ nnoremap <leader>jd :YcmCompleter GoTo<CR>
" the mappings below are from vim-test
" https://github.com/vim-test/vim-test
" dispatch opens send test output to quickfix window
-" let test#strategy = "vimterminal"
let test#strategy = "basic"
-let test#python#runner = "pytest"
+"let test#strategy = "basic"
+let test#python#runner = "djangotest"
+"let test#project_root = "./dbasik/"
let test#vim#term_position = "topleft 10"
" let test#python#pytest#options = '-vvv --tb=short'
let test#python#pytest#options = '--tb=short'
@@ -468,7 +475,7 @@ let g:gruvbox_number_column='bg0'
let g:gruvbox_invert_signs='0'
let g:gruvbox_improved_strings='0'
set background=dark
-colorscheme gruvbox
+colorscheme monokai
"colorscheme delek
"
" manual highlights
@@ -503,4 +510,4 @@ augroup languages
autocmd FileType html :syntax sync fromstart
autocmd FileType html,javascript,css,json,yaml,sh
\ setlocal ts=2 sts=2 sw=2 expandtab
-augroup ENDj
+augroup END