- Notifications
You must be signed in to change notification settings - Fork4
PyGTK3 frontend to Neovim with some visual GUI elements.
License
NotificationsYou must be signed in to change notification settings
rliang/nvim-pygtk3
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
PyGTK3 frontend to Neovim with some visual GUI elements.
- Provides GTK's clipboard (no need for xclip/xsel)
- Buffers on header bar
- GUI Tabs
- Overlay scrollbars
- Applies GTK's light/dark themes according to
&bg - Applies font from
:GuiFont, or from GSettings'org.gnome.desktop.interface:monospace-font-name - Customizable with Python scripts
Requirements:
python 3.6+python-setuptools(make)python-neovimpython-gobjectvte3
Per-user:
$ python setup.py install --user --root=/
System-wide:
$ sudo python setup.py install --root=/
Scripts in$XDG_CONFIG_HOME/nvim_pygtk3/*.py areexec'd at startup,exposing the following globals:
connect: Utility wrapper to connect GObject signals.window: The GTK top-level window.Docs
Thewindow object has the following additional signals:
nvim-setup: Emitted when neovim has started.nvim-notify: Emitted when neovim has notified the GUI.nvim-request: Emitted when neovim has requested the GUI.
Example script~/.config/nvim_pygtk3/a.py:
@connect(window,'nvim-setup')defa(nvim):nvim.command(f'call rpcnotify({nvim.channel_id}, "hello", "world")')@connect(window,'nvim-notify')defb(nvim,event,args):ifevent=='hello':print('hello',args)@connect(window.terminal,'cursor-moved')defc():print('cursor moved!')
About
PyGTK3 frontend to Neovim with some visual GUI elements.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.
