Skip to content

kamack38/portable-nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portable Neovim

This repository contains a fully portable Neovim wrapper which uses Neovide as a terminal emulator.

Dependencies:

  • Git (The portable version) (Required for lazy.nvim)
  • Neovim (The zip package)
  • Neovide (The exe.zip package)

Compiling

To compile run:

g++ .\wrapper.cpp -o prog.exe -lgdi32

To compile and add an icon declared in resources.rc run:

windres resources.rc -o resources.o
g++ .\wrapper.cpp resources.o -o prog.exe -lgdi32

Installation

  1. First compile the executable (see Compiling).
  2. Download Neovim, Neovide, Git and fonts.
  3. Place the unpacked folders in the structure presented below.

Structure:

prog.exe
neovide.exe
📁 fonts
  │ FiraCodeNerdFontMono-Bold.ttf
  │ FiraCodeNerdFontMono-Light.ttf
  │ FiraCodeNerdFontMono-Medium.ttf
  │ FiraCodeNerdFontMono-Regular.ttf
  │ FiraCodeNerdFontMono-Retina.ttf
  └ FiraCodeNerdFontMono-SemiBold.ttf
📁 config
  └ 📁 nvim
📁 git
📁 nvim

Configuration

To use FiraCode as your font set:

vim.o.guifont = "FiraCode Nerd Font Mono:h12"

Useful links

TODO:

  • Argument passing
  • Font loading
  • Setting PATH
  • Set Neovim cache dir and all other directories to contain the application.
  • Compile everything into a single executable
    • Compile Neovim and Neovide from source

About

Fully portable NeoVim on Windows

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages