Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 1.62 KB

README.md

File metadata and controls

57 lines (40 loc) · 1.62 KB

NVaMe

My personal Neovim flake!

A preview image of my Neovim config. It displays an ASCII image of Shinji sobbing on a chair along with some hotkeys and a footer saying "Stay wild, star child <3".

Includes

Main config (mainConfig)

Neovim:

  • Catppuccin Mocha + rainbow-delimeters
  • Treesitter setup for plenty of languages
  • LSP configuration for plenty of languages
  • Completions and snippets (Provided by friendly-snippets)
  • Telescope setup
  • A Git intergrations with fugitive and git-signs

Bonus tools:

  • ripgrep for faster live grepping
  • fd for faster file finding
  • nixfmt-rfc-style for formatting
  • LSPs for Nix, Latex + text docs and Lua

Usage

To get started all you need is a system with Nix installed! If you don't have Nix installed, you shouldn't be looking at this anyway.

Adding LSPs

The actual language servers themselves aren't installed (Besides the Nix, Latex and Lua LSP's). This is intentional as ideally you should be installing the language servers within your projects devshell.

Temporary usage

To run it once on a file just do: nix run github:namescode/nvame -- file.txt

For use in a shell just do: nix shell github:namescode/nvame --command $SHELL

Installing as a package

Firstly add nvame.url = "github:namescode/nvame"; to your inputs; this will pull in the flake for use.

Then, install the packages you need through inputs.nvame.packages.${system} (Make sure to pass inputs as an attribute) For example:

environment.systemPackages = with pkgs; [
  git
  hyfetch

  # Installs the main nvame config
  (inputs.nvame.packages.${system}.mainConfig)
];