amix / vimrc

The ultimate Vim configuration (vimrc)
MIT License
30.57k stars 7.29k forks source link

Use inline comments for many set commands #713

Closed jxu closed 1 year ago

jxu commented 2 years ago

This makes it much easier to read in certain situations, for example

" => General
set history=1000                " Save more commands
set autoread                    " Read file when changed externally
set autowrite                   " Autosave before commands like :make
set noswapfile                  " No more .swp!

However there may be line length issues. And this doesn't work for map commands, at least without trailing | https://stackoverflow.com/questions/24716804/inline-comments-in-vimrc-mappings

amix commented 1 year ago

Hi @jxu

You can always add these in my_configs.vim 👍