• Stars
    star
    155
  • Rank 233,269 (Top 5 %)
  • Language
    Lua
  • License
    MIT License
  • Created about 3 years ago
  • Updated 5 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A GUI library for Neovim plugin developers

guihua Guihua: A Lua Gui and util library for nvim plugins

  • Provide floating windows
  • A modified wrapper for fzy
  • TextView, ListView, Preview etc
  • Listview listview

  • Listview with fzy finder listview

  • Neovim multigrid external buffer/terminal

multigrid

  • Neovim vim.ui.input and vim.ui.select patch

This cool screen shows an external terminal running lazygit and an external floating window running guihua listview

More screen shot please refer to Navigator.lua

Please refer to test file of how to use it

Lua OOP is powered by middleclass fzy is powered by romgrk fzy-lua-native with modified version of sorter/quicksort to sort list of tables

Install

Plugin has implementation of fzy with both ffi and native lua. If you like to try ffi please run make

Packer

 use {'ray-x/guihua.lua', run = 'cd lua/fzy && make'}

Setup

  -- default mapping
  maps = {
    close_view = '<C-e>',
    send_qf = '<C-q>',
    save = '<C-s>',
    jump_to_list = '<C-w>k',
    jump_to_preview = '<C-w>j',
    prev = '<C-p>',
    next = '<C-n>',
    pageup = '<C-b>',
    pagedown = '<C-f>',
    confirm = '<C-o>',
    split = '<C-s>',
    vsplit = '<C-v>',
    tabnew = '<C-t>',
  }

  --
  require('guihua.maps').setup({
  maps = {
    close_view = '<C-x>',
  }
  })

Plug

Plug 'ray-x/guihua.lua', {'do': 'cd lua/fzy && make' }

Usage: check the test files on how the api is used.

More Repositories

1

lsp_signature.nvim

LSP signature hint as you type
Lua
1,817
star
2

go.nvim

A feature-rich Go development plugin, leveraging gopls, treesitter AST, Dap, and various Go tools to enhance the dev experience.
Lua
1,805
star
3

navigator.lua

Code analysis & navigation plugin for Neovim. Navigate codes like a breeze๐ŸŽ Exploring LSP and ๐ŸŒฒTreesitter symbols a piece of ๐Ÿฐ Take control like a boss ๐Ÿฆ
Lua
1,220
star
4

nvim

Personal neovim setup with 180+ plugins.
Lua
347
star
5

aurora

A vivid dark theme for (Neo)Vim. Optimized for treesitter, LSP.
Lua
298
star
6

cmp-treesitter

cmp source for treesitter
Lua
215
star
7

starry.nvim

A pack of modern nvim color schemes: material, moonlight, Dracula (blood), Monokai, Mariana, Emerald, earlysummer, middlenight_blue... Fully support Treesitter, LSP and a variety of plugins.
Lua
205
star
8

sad.nvim

Space Age seD in Neovim. A project-wide find and replace plugin for Neovim.
Lua
183
star
9

web-tools.nvim

Neovim plugin for web developers
Lua
131
star
10

forgit.nvim

Interactive fzf+git for Neovim. I remembered the git commands so you wont forget.
Lua
76
star
11

dotfiles

Lua
34
star
12

material_plus.nvim

A pack of modern nvim color schemes: material, moonlight, Dracula (blood), Monokai, Mariana, Emerald, earlysummer, middlenight_blue... Fully support Treesitter, LSP and a variety of plugins.
Lua
23
star
13

Wifi-TI3200

iOS APP for WIFI starter of TI 3200, fix multiple issue on building
Objective-C
21
star
14

viewdoc.nvim

Search and view your (vim plugins) markdown & help files with glow
Lua
20
star
15

telescope-ast-grep.nvim

AST grep extension for telescope.nvim
Lua
20
star
16

rtems_book

rtems internal and development
15
star
17

ButtonAnimationCollage

Animate the iOS button with CABasicAmimation. Provide Ripple, border, invert effects.
Objective-C
12
star
18

mkdn.nvim

markdown note taking tools with LSP
Lua
10
star
19

Revised_II

RenPy Visual editor
C++
4
star
20

AudioAnalysis

Java
2
star
21

ray-x

2
star
22

blog

django-blog
CSS
1
star
23

Gululu

Gamify Your Fitness
Swift
1
star