X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/85dfcae2cc75dfb52495ffd183359363751b6eb1..e24c5f1fbc5a7d61116eb50f55e30cdc2bccb2c7:/vim/vimrc?ds=inline diff --git a/vim/vimrc b/vim/vimrc index 86d5bfb..10e86f4 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -172,6 +172,8 @@ set formatoptions+=r " Insert comment leader after hitting set formatoptions+=n " Recognize numbered lists set formatoptions+=q " Allow formatting of comments with "gq". set formatoptions+=l " do not wrap lines that have been longer when starting insert mode already +set formatoptions+=t " Auto-wrap text using textwidth +set formatoptions-=o " Do not insert comment leader after hitting o or O in normal mode set nrformats=hex " number formats recognized for CTRL-A and CTRL-X commands @@ -180,6 +182,8 @@ set complete+=w " scan buffers from other windows set complete+=b " scan other loaded buffers that are in the buffer list set complete+=u " scan the unloaded buffers that are in the buffer list set complete+=t " scan tags +set complete+=i " scan current and included files +set complete+=kspell " use the currently active spell checking |spell| " whether to use a popup menu for Insert mode completion set completeopt=longest,menuone,preview