Various changes

master
Dario Ernst 5 years ago committed by Dario Ernst
parent 627c2eb18e
commit 45ed82a058

@ -0,0 +1,18 @@
include ./theme.conf
font_family Liberation Mono
bold_font auto
italic_font auto
bold_italic_font auto
font_size 14
cursor_shape beam
scrollback_lines 50000
map ctrl+shift+s paste_from_selection
map ctrl+shift+n paste_from_clipboard
map ctrl+0 change_font_size all +2.0
map ctrl+minus change_font_size all -2.0
update_check_interval 0

@ -0,0 +1,21 @@
background #fdf6e3
foreground #52676f
cursor #52676f
selection_background #e9e2cb
color0 #e4e4e4
color8 #ffffd7
color1 #d70000
color9 #d75f00
color2 #5f8700
color10 #585858
color3 #af8700
color11 #626262
color4 #0087ff
color12 #808080
color5 #af005f
color13 #5f5faf
color6 #00afaf
color14 #8a8a8a
color7 #262626
color15 #1c1c1c
selection_foreground #fcf4dc

@ -45,3 +45,6 @@ Useful Shortcuts
* Misc
* ,p: toggle paste-mode
* ESC ESC: deselect search results, \*-highligh or similar
nvim -n -c "PlugUpgrade | PlugInstall | q | PlugUpdate | q | q" && nvim -n -c "CocInstall -sync coc-css coc-vetur coc-docker coc-eslint coc-git coc-gitignore coc-html coc-json coc-yaml coc-pairs coc-python coc-sh coc-tsserver coc-prettier coc-docker | CocUpdateSync | UpdateRemotePlugins | q"

@ -1,10 +1,13 @@
{
"diagnostic.messageTarget": "echo",
"signature.target": "echo",
"suggest.maxCompleteItemCount": 20,
"coc.preferences.hoverTarget": "echo",
"python.jediEnabled": false,
"suggest.timeout": 15000,
"smartf.timeout": 2500,
"smartf.jumpOnTrigger": false
//"diagnostic.messageTarget": "echo",
//"signature.target": "echo",
//"suggest.maxCompleteItemCount": 20,
//"coc.preferences.hoverTarget": "echo",
//"python.jediEnabled": false,
//"python.analysis.memory.keepLibraryAst": true,
//"python.analysis.memory.keepLibraryLocalVariables": true,
"python.formatting.provider": "black",
//"coc.preferences.formatOnSaveFiletypes": ["python"],
"python.linting.pylintEnabled": true,
//"suggest.timeout": 15000
}

@ -17,12 +17,22 @@ set shortmess+=c
" always show signcolumns
set signcolumn=yes
" python .env-contains-pythonpath support
autocmd FileType python let b:coc_root_patterns = ['.cocroot', '.git', '.env']
" useful key shortcuts
nmap <silent> rn <Plug>(coc-rename)
nmap <silent> td <Plug>(coc-definition)
nmap <silent> ty <Plug>(coc-type-definition)
nmap <silent> ti <Plug>(coc-implementation)
nmap <silent> tr <Plug>(coc-references)
nmap <silent> te <Plug>(coc-diagnostic-next-error)
nmap <silent> tn <Plug>(coc-diagnostic-next)
xmap ,r <Plug>(coc-format-selected)
nmap ,r <Plug>(coc-format-selected)
" Add `:Format` command to format current buffer.
command! -nargs=0 Format :call CocAction('format')
nmap f <Plug>(coc-smartf-forward)
nmap F <Plug>(coc-smartf-backward)

@ -0,0 +1 @@
let g:pydocstring_formatter = 'google'

@ -26,7 +26,7 @@ Plug 'jparise/vim-graphql'
Plug 'posva/vim-vue'
" Python formatter
Plug 'psf/black'
Plug 'psf/black', {'commit': 'ce14fa8b497bae2b50ec48b3bd7022573a59cdb1'}
" tag finder
Plug 'majutsushi/tagbar'
@ -34,6 +34,15 @@ Plug 'majutsushi/tagbar'
" auto-matching for parentheses
Plug 'Raimondi/delimitMate'
" process .editorconfig files
Plug 'editorconfig/editorconfig-vim'
" jenkinsfile syntax
Plug 'martinda/Jenkinsfile-vim-syntax'
" To autogenerate docstrings
Plug 'heavenshell/vim-pydocstring', { 'do': 'make install' }
call g:plug#end()
for fpath in split(globpath('~/.config/nvim/conf.d', '*.vim'), '\n')

Loading…
Cancel
Save