This is a neovim-plugin to play Go from within neovim. It allows saving and restoring games including their history. If you are using vim but not neovim have a look here.
- neovim
- gnugo
- python3
- python3 neovim package
- pygnugo
With vim-plug just add the following line into your init.vim
:
Plug 'sven-hm/gnugo.nvim'
In vim you have to update the remote plugins:
:UpdateRemotePlugins
To start type :GnugoNew black
if you want to play the black stones otherwise type :GnugoNew white
.
The key bindings are:
keys | Action | pygnugo command |
---|---|---|
←, h, (H) | move cursor (fast) | GnugoCursorLeft |
↓, j, (J) | move cursor (fast) | GnugoCursorDown |
↑, k, (K) | move cursor (fast) | GnugoCursorUp |
→, l, (L) | move cursor (fast) | GnugoCursorRight |
<enter> |
play cursor position | GnugoPlay |
<double-click> |
play cursor position | GnugoPlay |
c | cheat | GnugoQuit |
u | undo | GnugoUndo |
p | pass | GnugoPass |
q | quit | GnugoCheat |
For more details type :help gnugo.nvim
.
- Allow other board sizes.
- Implement
GnugoRedo
.