[pacman-dev] [PATCH] Remove ts and sw from vim modeline when noet is set

Dan McGee dpmcgee at gmail.com
Sun Jan 26 15:45:18 EST 2014

On Wed, Jan 22, 2014 at 5:06 PM, Florian Pritz <bluewind at xinu.at> wrote:

> Forcing vim users to view files with a tabstop of 2 seems really
> unnecessary when noet is set. I find it much easier to read code with
> ts=4 and I dislike having to override the modeline by hand.
> Command run:
> find . -type f -exec sed -i '/vim.* noet/s# ts=2 sw=2##' {} +
> Signed-off-by: Florian Pritz <bluewind at xinu.at>
> ---
I'm fine with this. Might be wise to add a note in HACKING or somewhere
that the preferred 80 character width might only hold true if tabs are
viewed as two spaces wide.

More information about the pacman-dev mailing list