Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In gvim i was trying to customize it a bit. I see under the edit menu is an option to change Settings Window. It opens up but then I get the following error.

E382 cannot write, 'buftype' option is set.

How do I write the options I change. Online I see people saying I need to add options to the vimrc file either in ~/.vimrc or /etc/vimrc or /etc/gvimrc. I thought that I would be able to do it through the gvim editor, straight not adding options to my ~/.vimrc file.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

A serious case of RTFM, on my account. The top few lines explain how to edit it.

" Each "set" line shows the current value of an option (on the left).
" Hit <CR> on a "set" line to execute it.
"            A boolean option will be toggled.
"            For other options you can edit the value.
" Hit <CR> on a help line to open a help window on this option.
" Hit <CR> on an index line to jump there.
" Hit <Space> on a "set" line to refresh it.

I then pressed enter and my setting took affect imidately

on line 155
lines   number of lines in the display
    set lines=50
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.