doctorfree / nvim-lazyman

Neovim configuration manager and Lazy/Lua/Mason based Neovim config. Manage multiple Neovim configurations with the lazyman command. ☕
https://lazyman.dev
MIT License
263 stars 8 forks source link

Awesome Project. A few suggestions. #55

Open wxguy opened 8 months ago

wxguy commented 8 months ago

I have recently started learning neovim and found it to be interesting. Soon after I got hooked, I started vimo-hoping similar to that of distro-hoping which I did during my early days of Linux a decade and a half back. Started testing various nvim distributions, configurations, and did my own settings. Thats when I discovered your project. Your project to me is similar to multibootusb project that helps people to test various Linux distributions.

Though, you help us to find the best configurations from other's configurations, I have to settle down to your own configuration lazyman. lazyman nvim configuration is fantastic. It is beautiful, visually pleasing, easy to access key bindings etc. There was no requirement of tweaking a single config file to change settings. It just worked. This helped me settle down to one config, at least at the moment.

Coming back to my suggestions/ input for your consideration:-

  1. How do I open lazyman nvim directly from command line instead of invoking nvims every time. For example, I would like to open a file like lazyman /path/to/file.txt. How do I do that?
  2. Cheatsheet command is good. But if you have cheatsheet UI similar to NvChad as seen in https://www.reddit.com/r/neovim/comments/12qku4w/nvchad_cheatsheet/ would be excellent.
  3. Does lazyman require Internet all the time? When I opened the editor without internet, a few plugins have thrown some errors.
  4. You have done lot of documentation at your official website https://lazyman.dev/. It is good. But it looks like more of a blog rather than website meant for technical documentation. Request you to consider doc hosting sites such as readthedoc for professional look and better reach.
  5. When I openeda Python file in lazyman, there was lot of warning as shown in https://mypy.readthedocs.io/en/stable/running_mypy.html#library-stubs-not-installed. I believe it is from pylsp. But I never had an issue with other plugins such as pyright.

Keep up the good work.

doctorfree commented 8 months ago

Thank you for your kind words and excellent suggestions. I will try to address each suggestion.

  1. To open nvim using the Lazyman config, set the NVIM_APPNAME environment variable and invoke nvim directly:
export NVIM_APPNAME="nvim-Lazyman"
nvim /path/to/file.txt

You can add the export to your .bashrc or .zshrc shell initialization to set this when you login. You can still use nvims if you want to switch configs.

  1. I agree the NvChad cheatssheet is excellent and I have looked into porting that for use with Lazyman but found it to be quite NvChad specific. Others have tried and failed to incorporate the NvChad cheatssheet into a non-NvChad config. This is still something I would like to do and may be possible, just not easy. Let me know if you find a way to do this.
  2. Lazyman supported configs should work without Internet connectivity but it does not surprise me that some plugins may phone home or otherwise need the Internet. Some plugins require Internet access (e.g. AI code assistants, Wakatime). Those plugins can be disabled using the Lazyman Config menu. Feel free to open an issue if there are other plugins expected to work offline but complain and we can work on improving this.
  3. Using readthedoc is a good suggestion and I maintain other projects that use that as their primary documentation. It just requires more work and time. I will consider it as time permits.
  4. There may be missing Python modules for the filetype your are editing. Try installing the relevant module with something like python3 -m pip install types-PyYAML. I may need to add those to the initial installation procedure. Open an issue and we can work on it.

Thank you so much for your suggestions. I hope I have addressed each sufficiently but followup if more info is needed or you have further suggestions.

svrvt commented 7 months ago

I'm currently using the nvchad configuration, I like it a lot, well implemented demonstration and changing themes, although I only use one. Now once again I'm having trouble overriding its basic settings, particularly the cmp setting, so I'm looking at options for the basis of my new neovim configuration. When I think about which configuration is technically better, I guess it might be lazyman, since its author has at least reviewed many configurations and also writes awesome scripts. I plan to figure out which files and directories from the whole lazyman repository are necessary only for its functioning.