Skip to content

daliendev/gitpod-install-neovim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 

Repository files navigation

Installing Neovim in Gitpod

Goal:

Use Neovim as primary IDE inside Gitpod workspaces.
Just by connecting to the workspace from a terminal or directly through the browser.
🔋 Batteries are included with tmux

How:

By setting https://github.com/daliendev/gitpod-install-neovim as Gitpod Dotfiles repository in gitpod.io/preferences,
Neovim will be installed with an Astro-Neovim configuration in any Gitpod workspace you'll use.

You may fork this repository and update the setup.sh file with the URL of your own repository.

Gitpod Docs: Create and connect to a workspace with SSH

(Optional) Get a Nerd Font

install it on the system, e.g. on Windows for WSL2 Terminal, or directly in the web browser for the Gitpod Browser Terminal

If you haven't installed it yet, you might need a Nerd Font on the terminal you'll use to connect to the Gitpod Workspace via SSH.
https://www.nerdfonts.com/font-downloads

(Optional) Share a port

As you work on creating something new, you might want to view your changes in a web browser. To do this, you'll need to run the following command on your local machine:

ssh -L $PORT$:localhost:$PORT$ username@remote-server

Gitpod docs: Local port forwarding via SSH

(Optional) Mount the workspace directory

You also may need to upload some file to the workspace from your local machine (e.g. your homepage banner).
For one unique file you may just use scp, but you also can mount the whole workspace with sshfs:

sudo apt install sshfs
mkdir ~/local-folder-name
sshfs -o default_permissions username@remote-server:/workspace/$repository-name$ ~/local-folder-name

Once you finished your work, you should unmount:

fusermount -u ~/local-folder-name

About

Neovim for Gitpod as primary IDE

Resources

Stars

Watchers

Forks

Languages

  • Shell 100.0%