A Docker container to run neovim with plugins to assist TypeScript development.
-
Clone this repository:
git clone [email protected]:thled/docker-vim-ts.git
-
Change to project directory:
cd docker-vim-ts
-
Build image (
arg
for Copilot beta key is optional):docker build --build-arg COPILOT_TOKEN=XXX -t tvim .
$ docker run --rm -it -v (pwd):/data tvim
-
Useful key bindings: https://gist.github.com/thled/a6fcf4a02108598ae9ba5a8ab01d84e0#neovim
-
Remap detach keys:
echo '{ "detachKeys": "ctrl-q,q" }' > ~/.docker/config.json
-
Save as alias "tvim":
-
Fish:
function tvim docker run --rm -it -v (pwd):/data tvim end
funcsave tvim
-
Bash:
echo 'alias tvim="docker run --rm -it -v $(pwd):/data tvim"' >> ~/.bashrc
-