Skip to content
Discussion options

You must be logged in to vote

Hi! This is not a question, but i couldnt find a better category for this.

If you are a complete newbie in Nix / Vim , this will probably be helpful for you.

If you ever wonder how to have your Keybindings / Keymaps grouped like this

Instead of this

All you have to do is use binds.whichKey.register

For example:

    programs.nvf.settings.vim = {
      # ------------------------------------------
      # WHICH-KEY GROUPS
      # ------------------------------------------
      binds.whichKey.register = {
        "<leader>e" = "+Neotree";
      };
      
      # The actual bindings go here
      keymaps = [
        {
          key = "<leader>ee";
          mode = "n";
          action = "…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by KrappRamiro
Comment options

You must be logged in to vote
1 reply
@KrappRamiro
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants