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

[Question] How to launch after cloning this project? #8

Open
miriam-z opened this issue Aug 4, 2021 · 10 comments
Open

[Question] How to launch after cloning this project? #8

miriam-z opened this issue Aug 4, 2021 · 10 comments
Labels
question Further information is requested

Comments

@miriam-z
Copy link

miriam-z commented Aug 4, 2021

nvim but I dont see anything other than the default nvim screen?

MacOSX Big Sur setup

@sukai-cheng
Copy link

can you succeed to create the workflow ? I want to talk about you about that....

@ksaswin
Copy link

ksaswin commented Aug 23, 2022

Brief work flow to set up NeoVim

Clone the repo

git clone https://github.com/craftzdog/dotfiles-public.git

If you only want the NeoVim config, then copy the nvim directory to your .config

mkdir ~/.config/nvim
cp -r dotfiles-public/.config/nvim/ ~/.config/nvim/

Plugin manager installation

packer.nvim is the plugin manager being used here. So, you will need to install that first.

Unix, Linux Installation

git clone --depth 1 https://github.com/wbthomason/packer.nvim\
 ~/.local/share/nvim/site/pack/packer/start/packer.nvim

If you use Arch Linux, there is also an AUR package.

Windows Powershell Installation

git clone https://github.com/wbthomason/packer.nvim "$env:LOCALAPPDATA\nvim-data\site\pack\packer\start\packer.nvim"

Once the plugin manager is installed, you can proceed to install all the plugins.

Plugins installation

Open the plugins.lua file:

nvim ~/.config/nvim/lua/craftzdog/plugins.lua

Switch to COMMAND mode and type the following command

:PackerInstall

The above command will install your plugins.

Tree sitter

Use the following command to display a list of languages you could install.

:TSInstallInfo

Install the required language parsers:

:TSInstall <language_to_install>

I hope this answers your question.

@fisenkodv
Copy link

@ksaswin I'd also recommend to take a look at dotbot to automate setup, here is my dotfiles based on the craftzdog dotfiles for nvim and dotbot. So, in my case I have automated setup for nvim, aliases, functions, zsh, htop, etc.

@craftzdog craftzdog added the question Further information is requested label Oct 10, 2022
@Sachinanand99
Copy link

@ksaswin I am not able to use command :PackerInstall. It says, "PackerInstall is not an editor command". Using Windows Powershell, and also had installed packer.nvim and neovim.

@ksaswin
Copy link

ksaswin commented Dec 2, 2022

@Sachinanand99 Are all the config files in the right place?
Would you be able to share the results of the tree command from the C:\Users\user_name\AppData\Local\nvim and the C:\Users\user_name\AppData\Local\nvim-data directories?

@Sachinanand99
Copy link

@ksaswin

Screenshot 2022-12-02 144428

@ksaswin
Copy link

ksaswin commented Dec 2, 2022

Looks like the config files aren't at the right location.
After cloning the repo, move everything within dotfiles-public\.config\nvim\ to C:\Users\user_name\AppData\Local\nvim\.
Then open the plugins file nvim C:\Users\user_name\AppData\Local\nvim\lua\craftzdog\plugins.lua and try installing the plugins.

In the workflow I provided, the commands were actually for Linux/Mac users! Probably that's what caused the confusion😅

@shubham8550
Copy link

so for windows

Windows			~/AppData/Local/nvim/init.vim	(or init.lua)

@roda404
Copy link

roda404 commented Aug 18, 2024

@ksaswin When I try to install the plugins, I get an error "error is not an editor command :PackerInstall", could you help me please, I really want this configuration
Captura desde 2024-08-17 18-04-45

@ksaswin
Copy link

ksaswin commented Aug 19, 2024

Hi @roda404,

I noticed that he has migrated to LazyVim as his base configuration. I would suggest looking into the documentations for info regarding the same :)

From the docs:

It is recommended to run :LazyHealth after installation. This will load all plugins and check if everything is working correctly.

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

No branches or pull requests

8 participants