GithubHelp home page GithubHelp logo

propose shell function about info.vim HOT 3 CLOSED

hiphish avatar hiphish commented on August 26, 2024
propose shell function

from info.vim.

Comments (3)

HiPhish avatar HiPhish commented on August 26, 2024 1

I just added the little snippet to the README instead of the manual. I think you are right, it's a handy little trick and the README is short enough that it won't bloat anything.

from info.vim.

HiPhish avatar HiPhish commented on August 26, 2024

I have let your idea sink in for a few days, and I have concluded not to. Here are my reasons:

  • Any information you add to the manual increases its "weight", i.e. it makes it harder to find the one thing you are looking for.
  • Shell tricks are neat, but they don't really have anything to do with Vim, so they don't really fit into the manual of a Vim plugin
  • There really is nothing tricky about this function call, if you know your shell and you know Vim it's an obvious thing to do. And if you don't know these things it's just magic

None of these reasons are enough on their own, but I think put together they outweigh whatever benefit there might be. I am open to other opinions though, so if you disagree I would like to hear about it.

from info.vim.

Konfekt avatar Konfekt commented on August 26, 2024

Ok, nothing wrong with that. To elaborate: Opposite to your viewpoint that

Shell tricks are neat, but they don't really have anything to do with Vim.

the proposal was based on people using on my idea that people will use info.vim to replace the info reader by something they are more convenient with, but nowhere it is mentioned how. Just as there is a man reader in Vim, see :help manpager. As it was for me the essence of info.vim, I though it merited a shell script one liner.

from info.vim.

Related Issues (11)

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.