Yanıtlar:
$ vim -c 'set ai'
Bkz :h -c, :h startupve $ vim --help.
vim -c 'set wrap' /path/to/file.txt
vim -c 'set ai | set nowrap'
set ai nowrapsizin için @wisbucky işi değildir? Tek bir setkomutla birden fazla seçenek belirleyebilmelisiniz .
vim -Oveyavim -o) açmak niyetindeyseniz ve bu komutu hepsi için ayarlamak istiyorsanız, kullanın-c windo <option>. Örnek:vim -O -c 'windo set ai').