Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Image showcase #4

Open
mjlbach opened this issue Feb 4, 2021 · 5 comments
Open

Image showcase #4

mjlbach opened this issue Feb 4, 2021 · 5 comments

Comments

@mjlbach
Copy link
Collaborator

mjlbach commented Feb 4, 2021

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
Copy link
Collaborator Author

mjlbach commented Feb 4, 2021

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
Copy link
Collaborator Author

mjlbach commented Feb 4, 2021

Notifications adopted from Neogit:

image

@smolck
Copy link
Collaborator

smolck commented Feb 5, 2021

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
  },
}

@danielo515
Copy link

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

@mjlbach
Copy link
Collaborator Author

mjlbach commented Jun 9, 2022

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants