Skip to content

Lualine, Noice, and Macro Recording #1653

Closed Answered by MattSturgeon
lplawlor asked this question in Q&A
Discussion options

You must be logged in to vote

I'd still rather use the lualine solution, as I'd like some indicator to stay on screen as long as I'm recording a macro, not just a notification when I start a recording. So if anyone knows how to do that with NixVim, please let me know!

This is made more complex because we haven't migrated lualine to use rfc42 style settings options. If it supported that, you could translate the lua config you linked as follows:

plugins.lualine.settings = {
  sections = {
    lualine_x = [
      {
        "__unkeyed.1".__raw = "require('noice').api.statusline.mode.get";
        cond.__raw = "require('noice').api.statusline.mode.has";
        color = { fg = "#ff9e64"; };
      }
    ];
  };
};

Because …

Replies: 1 comment 1 reply

Comment options

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

Answer selected by lplawlor
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