Skip to content

App container for neovim with typescript assistance

Notifications You must be signed in to change notification settings

thled/docker-vim-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Docker Vim TypeScript

A Docker container to run neovim with plugins to assist TypeScript development.

Requirements

Installation

  1. Clone this repository:

    git clone [email protected]:thled/docker-vim-ts.git
  2. Change to project directory:

    cd docker-vim-ts
  3. Build image (arg for Copilot beta key is optional):

    docker build --build-arg COPILOT_TOKEN=XXX -t tvim .

Usage

$ docker run --rm -it -v (pwd):/data tvim

Misc

  • 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

About

App container for neovim with typescript assistance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published