Skip to content

Neovim plugin to see a file on current buffer via Github WebUI.

License

Notifications You must be signed in to change notification settings

FGtatsuro/github.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github.nvim

Build Status

Neovim plugin to see a file on current buffer via Github WebUI.

Requirements

The dependencies on other softwares/libraries for this project. This software may work even if these requirements aren't met, but the behavior on that case can't be supported officially.

  • Neovim (>= 0.5.x)
  • Python (>= 3.8.x)

Installation

  1. Create a directory to put this plugin.
$ mkdir -p ~/.config/nvim/bundle
  1. Clone this project under step1's directory.
$ git clone git@github.com:FGtatsuro/github.nvim.git ~/.config/nvim/bundle/github.nvim
  1. Add a directory of cloned this project to $runtimepath.
" Your vimrc
let &runtimepath.=','.$HOME.'/.config/nvim/bundle/github.nvim'
  1. Update plugin info.
# In Neovim
:UpdateRemotePlugins
:qa!

How to

Development

  1. Start Neovim with NVIM_PYTHON_LOG_FILE and NVIM_PYTHON_LOG_FILE, you can check logs of Neovim.
# FYI: https://github.com/neovim/python-client/blob/master/docs/usage/remote-plugins.rst
$ NVIM_PYTHON_LOG_LEVEL=DEBUG NVIM_PYTHON_LOG_FILE=./github.log nvim -u tests/vimrc
  1. Update the remote plugin manifest and restart Neovim. After that, please check futures of your plugin.
# In Neovim
:UpdateRemotePlugins
:qa!

...

$ (Same command to step1)
:(Run plugin's command/function/mapping and so on)

About

Neovim plugin to see a file on current buffer via Github WebUI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published