dotfiles/.config/nvim/init/pluginConfig.vim

28 lines
1.1 KiB
VimL
Raw Normal View History

command! PU PlugClean! | PlugUpdate | PlugUpgrade
2022-01-21 18:57:10 +00:00
" TODO Automatically do this in topgrade
2022-01-16 13:14:17 +00:00
" TODO auto-update on start/error
lua require 'colorizer'.setup({ '*'; markdown = { names = false; }; })
let g:strip_whitespace_on_save=1
autocmd FileType taskedit,crontab,markdown DisableStripWhitespaceOnSave
let g:show_spaces_that_precede_tabs=1
let g:better_whitespace_skip_empty_lines=1
let g:better_whitespace_guicolor=$THEME == 'light' ? 'LightGrey' : 'DarkGrey'
" see https://github.com/ntpeters/vim-better-whitespace/issues/134 - autocmd OptionSet background let g:better_whitespace_guicolor=&background == 'light' ? 'LightYellow' : 'Brown'
" remap movement commands to respect CamelCase
map <silent> w <Plug>CamelCaseMotion_w
map <silent> b <Plug>CamelCaseMotion_b
map <silent> e <Plug>CamelCaseMotion_e
map <silent> ge <Plug>CamelCaseMotion_ge
omap <silent> iw <Plug>CamelCaseMotion_iw
xmap <silent> iw <Plug>CamelCaseMotion_iw
omap <silent> ib <Plug>CamelCaseMotion_ib
xmap <silent> ib <Plug>CamelCaseMotion_ib
omap <silent> ie <Plug>CamelCaseMotion_ie
xmap <silent> ie <Plug>CamelCaseMotion_ie
2023-03-13 13:45:59 +00:00
source $INITDIR/init/firenvim.vim