Giter Site home page Giter Site logo

Build and use neovim files about neovim HOT 11 CLOSED

neovim avatar neovim commented on May 3, 2024
Build and use neovim files

from neovim.

Comments (11)

wellle avatar wellle commented on May 3, 2024

That sounds like a good idea to reduce the friction of trying neovim without breaking the current vim setup.

In the meantime you could use an alias like this

alias neovim='/usr/bin/neovim -u ~/.neovimrc'

and put this in your ~/.neovimrc:

set nocompatible
set runtimepath=~/.neovim/

I use a similar setup to have a stock installation where I can test vim plugins independently from my vim setup.

from neovim.

ashleyh avatar ashleyh commented on May 3, 2024

Agreed

from neovim.

tarruda avatar tarruda commented on May 3, 2024

I agree with this. Can someone send a PR?

from neovim.

wellle avatar wellle commented on May 3, 2024

Will do.

from neovim.

enehring avatar enehring commented on May 3, 2024

This might be beyond the scope of the issue opened, but I know there is somewhat of a push (at least in the linux circle) to move config files to ~/.config/ instead of just populating $HOME with lots of dotfiles.

So instead of having ~/.neovim/ and ~/.neovimrc, what if config files were looked for in ~/.config/neovim/ and ~/.config/neovimrc (or even ~/.config/neovim/neovimrc)?

I know this goes against the conventions that vim has established, but I figure:
a.) It helps keep the home directory less cluttered and
b.) If people don't like the behavior, changing it is just a symlink away. Neovim could even make the symlinks itself as a "legacy" option.

What does everyone think?

from neovim.

Soares avatar Soares commented on May 3, 2024

+1 to ~/.config. At the least, vim should respect $XDG_CONFIG_HOME and friends on systems which implement the XDG spec.

from neovim.

tbelaire avatar tbelaire commented on May 3, 2024

I'm not opposed to using the .config directory if we're already going to be moving the configs.

from neovim.

sbeckeriv avatar sbeckeriv commented on May 3, 2024

Some goals I had in mind are :

  1. Its easy to create a new setup to test
  2. Its easy to create a new environment to develop in
  3. Easy to config conventions

The config directory would achieve my goal of not messing with my vim configs.

I didn't want to suggest permanently moving the files or change the values. I want to help support the project and I think this will be slightly easier for me if neovim lived in a sandbox from my vim. I know about the configs now, however, low friction helps the cause.

Research:
XDG https://groups.google.com/forum/#!topic/vim_dev/zBSo5Xnno9Q

from neovim.

tbelaire avatar tbelaire commented on May 3, 2024

Would we have a .vim directory inside config? I'm a bit fuzzy on what we
are planning.

Will things like Vundle continue to work?
If so, then everything is great.

On Sat, Feb 22, 2014 at 5:11 PM, Stephen Becker IV <[email protected]

wrote:

Some goals I had in mind are :

  1. Its easy to create a new setup to test
  2. Its easy to create a new environment to develop in
  3. Easy to config conventions

The config directory would achieve my goal of not messing with my vim
configs.

I didn't want to suggest permanently moving the files or change the
values. I want to help support the project and I think this will be
slightly easier for me if neovim lived in a sandbox from my vim. I know
about the configs now, however, low friction helps the cause.

Research:
XDG https://groups.google.com/forum/#!topic/vim_dev/zBSo5Xnno9Q

Reply to this email directly or view it on GitHubhttps://github.com//issues/26#issuecomment-35820645
.

from neovim.

sbeckeriv avatar sbeckeriv commented on May 3, 2024

Vundle looks like it will work from a quick search of the code.

Given runtimepath can set any path everything should work.

from neovim.

tarruda avatar tarruda commented on May 3, 2024

Closed by #44

from neovim.

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.