miversen33 / miversen-dotfiles

9 stars 0 forks source link

Question related to Hydra #9

Open thepenguinthatwants opened 1 month ago

thepenguinthatwants commented 1 month ago

How do you toggle hydra to show up?

I added https://github.com/miversen33/miversen-dotfiles/blob/master/editors/nvim/lua/plugins/ui/hydra.lua to my own neovim and it used lazy to install it, but not sure how to make it show up the custom hints. I found this repo from your post to https://www.reddit.com/r/neovim/comments/12e4iv4/can_anyone_recommend_a_good_github_dotfiles_repos/

So trying this out.

miversen33 commented 1 month ago

Checkout this section specifically

That hydra is what I am using as the "head" of my mode hydra. It is (in my hydra config) bound to ; (see line 750) but you can change it to whatever you want.

As noted in that post, I still don't have repl working. I should eventually but meh, I don't care enough lol

thepenguinthatwants commented 1 month ago

Thanks for the reply.

; (semicolon) should activate the "Quick/Common Commands" Hydra mode. But for some reasons I am not getting anything up.

But when I click leader and ; -> I get the Extended mode hydra to show up.

miversen33 commented 1 month ago

That sounds like an issue with your config honestly. My hydra was specifically built around quick access on c, and ; in normal mode. That is where a majority of my shortcuts come from. My neovim config isn't quite completely self contained yet (it still needs auto downloaders of buildchain tools and external dependencies for example) but you can still download it and play around with that specifically to see how it works. At one time I had a docker container floating around in this repo (Dockerfile is here -> Dockerfile, not sure how great it is now though, I should really get rid of it lol) that you could build and it would get you a complete working space identical to whatever this repo contains.