Giter VIP home page Giter VIP logo

Comments (6)

tpope avatar tpope commented on July 21, 2024 1

Okay, let's lay out some pros and cons. Pros:

  1. People will be less sloppy with whitespace with this enabled.
  2. Commands like { and } behave much more predictably when you can see trailing whitespace on blank lines.

Cons:

  1. It's a bit more cluttered, particularly if whoever wrote the code was an oblivious buffoon. (Note: a majority of code was written by oblivious buffoons.)
  2. It can interfere with copying and pasting from a terminal.

Did I miss anything? I'm not sure what you mean by "an obvious default."

The second pro is a big deal to me. It's why I'm not using @zehrizzatti's autocommands, even though they're really cool. And it's why I'm so reluctant to remove it. Predictability is huge.

Still, after discussing it on IRC, I'm leaning towards yanking it. But not without giving people a bit more time to add their two cents here.

from vim-sensible.

rizzatti avatar rizzatti commented on July 21, 2024

I didn't use to like it either, but I changed my mind, specially due to the following in my vimrc now:

    autocmd InsertEnter * setlocal nolist
    autocmd InsertLeave * setlocal list

from vim-sensible.

sheerun avatar sheerun commented on July 21, 2024

Still, I don't think it's an obvious default.

from vim-sensible.

tpope avatar tpope commented on July 21, 2024

I decided that the same arguments I would make against 'hlsearch' apply to 'list' as well.

Maybe I'll make some maps for easily toggling those options (and 'spell' too, why not?).

from vim-sensible.

sheerun avatar sheerun commented on July 21, 2024

Another plugin :)

from vim-sensible.

chrismytton avatar chrismytton commented on July 21, 2024

I just got tripped up by this, I saw 'listchars' in the source and assumed it would be enabled. Perhaps this decision should be explained in the README?

from vim-sensible.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.