diff --git a/dot-config/vim/init.vim b/dot-config/vim/init.vim index ac9d028..197bf8b 100644 --- a/dot-config/vim/init.vim +++ b/dot-config/vim/init.vim @@ -60,7 +60,11 @@ if has('linebreak') set linebreak showbreak=↩ endif -set relativenumber +# Setting both number and relativenumber gets you a "hybrid" setup where the +# current line's absolute number is displayed, but the other lines have +# relative numbmers displayed. It's more useful than always seeing a 0 for the +# current line. +set number relativenumber set showcmd set title @@ -111,6 +115,12 @@ g:markdown_fenced_languages = [ 'python', 'php', 'scala', ] +# A really quick updatetime is preferable to get vim-signify to check for +# unsaved changes in your buffer more regularly. It's all asynchronous so +# running it more regularly ought to be fine. +set updatetime=100 +g:signify_number_highlight = 1 + g:ale_fixers = { python: ['ruff', 'ruff_format'], }