Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get started question #3

Open
molleweide opened this issue Jul 21, 2021 · 6 comments
Open

how to get started question #3

molleweide opened this issue Jul 21, 2021 · 6 comments

Comments

@molleweide
Copy link

molleweide commented Jul 21, 2021

Hi,

have i gotten the concept right here??

  • ~/.config/nvim_configs/personal.nvim
    mv config with init.lua
    here i can store all my cloned local configs that i want to checkout with cheovim

  • ~/.config/nvim
    fork of cheovim project where I store
    my various profiles, which means my nvim
    directory mostly becomes a list of profiles, right?
    eg, my_config = { "~/.config/nvim_configs/personal", {

@NTBBloodbath
Copy link
Owner

Hey, sorry for the late reply, was occupied.

Yeah, that's how it works. Then you'll only need to change the return statement value in your profiles.lua to match the config that you want to use and cheovim will handle it for you :)

Regards

@molleweide
Copy link
Author

molleweide commented Jul 21, 2021

Yo I got it to work with my own config but not with doom-nvim right away. But I think that I am almost there!!
Do you know what the problem is. I cloned doom-nvim to .config/nvim.config/doom

I guess my question is: is there a way to make nvim tell me where this lua callback is ??

this is the error that i get:

Error executing vim.schedule lua callback: cannot open /Users/hjalmarjakobsson/.config/doom-nvim/doom_config.lua: No such file or directory
Press ENTER or type command to continue

and this is my profiles.lua

 molleweide = { "~/.config/nvim.config/molleweide", {
            plugins = "packer",
            preconfigure = "packer",
        }
    },
    doom_nvim = { "~/.config/nvim.config/doom", {
            plugins = "packer",
            preconfigure = "doom-nvim"
        }
    },
    neovhy = { "~/.config/nvim.config/neovhy", {
            plugins = "packer",
            preconfigure = "neovhy",
        }
    },

@NTBBloodbath
Copy link
Owner

Ahh that's a doom-nvim issue. The path to doom-nvim root directory is hardcoded at the moment. :(

However you can hack it by modifying this line

@molleweide
Copy link
Author

great thanks! brb when i tried it!!

@molleweide
Copy link
Author

lol it works this is so cool!! and doom nvim looks pretty dope. this is just so great.

@matu3ba
Copy link

matu3ba commented Jul 21, 2021

I would appreciate very much a wiki entry with a minimal configuration to "just make it work".

Also its unclear to me, if/how packer still works with this plugin and if I can run multiple independent instances of neovim that use all a different packer path.
The README elaborates, but is quite noisy with words instead of giving some short and simple config examples to understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants