Comments (11)
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.
Agreed
from neovim.
I agree with this. Can someone send a PR?
from neovim.
Will do.
from neovim.
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.
+1 to ~/.config. At the least, vim should respect $XDG_CONFIG_HOME
and friends on systems which implement the XDG spec.
from neovim.
I'm not opposed to using the .config directory if we're already going to be moving the configs.
from neovim.
Some goals I had in mind are :
- Its easy to create a new setup to test
- Its easy to create a new environment to develop in
- 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.
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 :
- Its easy to create a new setup to test
- Its easy to create a new environment to develop in
- 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/zBSo5Xnno9QReply to this email directly or view it on GitHubhttps://github.com//issues/26#issuecomment-35820645
.
from neovim.
Vundle looks like it will work from a quick search of the code.
Given runtimepath can set any path everything should work.
from neovim.
Closed by #44
from neovim.
Related Issues (20)
- winbar common to all splits HOT 1
- Signature issue on latest macos nightly HOT 10
- jobstart(cmd) does not create $NVIM environment variable for subprocess in WSL distros HOT 6
- windo should not change the current window HOT 1
- Scrolling with `<C-b>` does not always make virtual lines above first buffer visible HOT 5
- <Ctrl-O> and :ju after startup causes temporary lockup HOT 5
- --listen --headless displays long messages incorrectly HOT 1
- Assertion `buf->osigncols.count[prevwidth -1] >= 0 failed. HOT 14
- `vim.ui.open` locks up Neovim until the opened process closes due to `:wait()` HOT 3
- vim.cmd() simply doesn't work on windows HOT 1
- diff fold not synced after insert mode
- ctrl-c get replaced by <80>ΓΌ^DC when on .sql file HOT 1
- use terminal colorscheme as default if not install plugin color scheme
- vim.iter doesn't respect `take(n)` when called after `rev()`
- Cursor returns to the left-most split, after the lsp popup closes HOT 4
- Add sync version of vim.lsp.buf.rename HOT 2
- How to only use OSC 52 clipboard for copy only?
- attach current Nvim to peer Nvim server (on-demand / after startup) HOT 3
- vim.cmd.close(2) does not work as vim.cmd.close{count=2} HOT 2
- Run treesitter "offline" to not affect performance HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neovim.