Git Product home page Git Product logo

Comments (4)

cknadler avatar cknadler commented on July 22, 2024 1

No worries.

You bring up a great point. I actually have the same problem, but I'm trying to think of any way other than adding a .vim-anywhererc. Another solution would be to force the file type of the GVim instance to be text or markdown. That or allowing you to put a vim-anywhere configuration section in your .vimrc or .gvimrc and only activate it when vim-anywhere is invoked.

I'll look in to all three ideas and see what I come up with over the weekend.

Thanks! ^_^

from vim-anywhere.

cknadler avatar cknadler commented on July 22, 2024

vim-anywhere just invokes regular MacVim or GVim depending on your system. These both automatically source ~/.gvimrc and you can override your defaults to have them source whatever you'd like.

from vim-anywhere.

lesguillemets avatar lesguillemets commented on July 22, 2024

Sorry I was terribly unclear. My suggestion was to have yet another file, say .vimanywhererc, that is sourced in addition to ~/.gvimrc only when gvim is invoked by vim-anywhere. I use GVim for coding, but I usually write plain texts or markdowns when I invoke it by vim-anywhere, so I thought it might be convenient to have GVim ready for writing texts (not codes) when I press ctrl+alt+v.

To be clear:

  • Regular GVim automatically sources ~/.vimrc and ~/.gvimrc.
  • How about having GVim when activated by vim-anywhere (e.g. pressing ctrl+alt+v) source ~/.vimrc, ~/.gvimrc and .vim-anywhererc?

This is a tiny suggestion and vim-anywhere is amazing anyway. Thank you very much.

from vim-anywhere.

lesguillemets avatar lesguillemets commented on July 22, 2024

Thanks. Your ideas seems nice.

from vim-anywhere.

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.