neovim-ui icon indicating copy to clipboard operation
neovim-ui copied to clipboard

Image showcase

Open mjlbach opened this issue 4 years ago • 5 comments

This is an issue to post pictures of WIP elements from nvim-ui. Please don't comment here, but open individual issues for feedback.

mjlbach avatar Feb 04 '21 05:02 mjlbach

From plenary:

Screen Shot 2021-02-03 at 9 32 24 PM Screen Shot 2021-02-03 at 9 25 11 PM Screen Shot 2021-02-03 at 9 32 02 PM

mjlbach avatar Feb 04 '21 05:02 mjlbach

Notifications adopted from Neogit:

image

mjlbach avatar Feb 04 '21 05:02 mjlbach

ui.layout

Screen Shot 2021-02-05 at 10 41 55 AM

Code to do it (using a slightly-modified version of make_win() to get the windows, but you should be able to use any window you like for the most part):

layout {
  { make_win(),
    { make_win('col left'), make_win('col right'), top = 5, left = 5, right = 5, bottom = 5 },
    top = 5,
    left = 5,
    right = 5,
  },
  {
    make_win(),
    top = 5,
    left = 5,
    right = 5,
    bottom = 5
  },
}

smolck avatar Feb 05 '21 16:02 smolck

What does from plenary mean? Are those already available there?

danielo515 avatar Jun 09 '22 05:06 danielo515

The original idea of this repo was to create a series of UI widgets for building basic applications that could be bunded in core, like pickers, dialogues, pop-ups, etc. Part of that entailed upstreaming parts of plenary, so some of plenary's code is copied/modified in this repo. I'm no longer working on this (or anything neovim related for that matter), so this project is effectively dead.

mjlbach avatar Jun 09 '22 06:06 mjlbach