Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.04 KB

README.md

File metadata and controls

58 lines (41 loc) · 1.04 KB

nvim-container

neovim in a container with coc all setup to work with rust and python.

Usage

Build

docker build -t casonadams/vi .

Run in bash

docker run -v $(pwd):/p:z -it casonadams/vi bash

Setup to run from anywhere

cp ide /usr/local/bin
cd /some/project
ide <file>

Inside container

Install wanted coc-extentions

CocInstall marketplace
CocList marketplace

extentions are saved to `~/.nvim-container`

Navigation

  • These are the few I use all the time there are others look at the init.vim file
Keys Command
gd Go to def
gr Show usages
SPACE rn Rename
SPACE e Show diag
gcc Toggle comment
Shift + K Show Hover
g[ Buffer previous
g] Buffer next
d[ Diag previous
d] Diag next