opentechinstitute / commotion-router

The build system for the OpenWRT-based Commotion firmware.
https://commotionwireless.net
GNU General Public License v3.0
121 stars 43 forks source link

Set vi autoindent off by default #82

Closed areynold closed 10 years ago

areynold commented 10 years ago

Will help prevent cascading indents when developing directly on router.

To test:

  1. Copy a block of text with multiple indent levels (e.g., a few stanzas of /etc/config/network)
  2. open a scratch file (e.g., vi foo) and paste. The text should appear properly formatted.
  3. In the same file, in command mode (<esc>), type :set ai, then switch to insert and paste again. Each line of text should be indented one additional level.
westbywest commented 10 years ago

Oooh, this is a very handy tweak to vi's profile!

areynold commented 10 years ago

Glad you like it. I figured the response would go one of two ways. You're welcome to test the build so it can be merged.

westbywest commented 10 years ago

All tests for this PR pass on a newly compiled instance of commotion-router. Anything else needed?

jheretic commented 10 years ago

Sounds good Ben, thanks for testing!