Skip to content

composewell/nixpack-editors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim and vscodium editors

A ready-to-use Nix shell environment with nvim and vscodium editors. Includes:

  • nvim: Stylish Vim IDE with plugins
  • codium: Visual Studio Code with extensions

The version of nixpkgs can be changed in the default.nix or flake.nix files whichever you use.

Starting a Nix Shell

There are two ways to start the nix shell.

Directly using github URL

To get a shell with the development environment installed in it, use the following command:

nix-shell https://github.com/composewell/nixpack-editors/archive/master.tar.gz

By cloning the github repo

You can clone the nixpack-editors repo and run nix-shell command from the repo root directory.

git clone https://github.com/composewell/nixpack-editors
cd nixpack-editors
nix-shell

You can comment out any packages you do not need in packages.nix.

Installing the packages

If you want to permanently install the packages in your nix profile:

nix-env -i -f https://github.com/composewell/nixpack-editors/archive/master.tar.gz

Using vim editor

Inside the nix shell, run the following command:

nvim

Use ESC :q to quit. Use ,h for help. Use :colorscheme morning if you want a light theme.

To customize vim plugins edit the nix/vim/plugins.nix file.

Using VSCode editor

To run VSCodium, the open source version of Microsoft VSCode, run the following command in the nix-shell:

codium

To customize vscode extensions edit the nix/vscodium/extensions.nix file.

Testing changes to vim config

To test your own vimrc appending to the existing settings:

vim -c "source ./vimrc"

To completely nuke the existing settings and use your own:

export VIMINIT='source ./vimrc'
vim -u ./vimrc
vim -u NONE -N

About

nvim and vscodium editors fully configured with plugins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors