JeezyVim is a declarative NeoVim configuration built with NixVim.
This configuration aims to keep the familiarity of LunarVim while aggressively stripping away excessive IDE-like features to focus on delivering a fast, stable and reliable editor experience.
JeezyVim aims to keep any manually written Lua code to an absolute minimum, and for the purposes of this project any committed Lua files are considered to be technical debt.
This configuration gradually came to be out of the aggressive pruning of plugins that were unncessary for me in dileep-kishore's neovim configuration, which is also an excellent configuration for people looking for a "maximalist" configuration.
You can run this flake directly to try it out:
nix run github:LGUG2Z/JeezyVim
You can add JeezyVim as an input to your flake configuration like this:
{
inputs.jeezyvim.url = "github:LGUG2Z/JeezyVim";
}
You can add the inputs.jeezyvim.overlays.default
overlay to your nixpkgs
to
make pkgs.jeezyvim
available.
If you are using any of my NixOS starter
templates,
you would add this to the overlays
list in the nixpkgsWithOverlays
function
in flake.nix
.
Is there a plugin or an LSP that you don't see enabled here, but you would like
to enable when you install pkgs.jeezyvim
? No problem!
{pkgs, ...}: {
home.packages = [
(pkgs.jeezyvim.nixvimExtend {
# you can put anything under the "Options" section of the NixVim docs here
# https://nix-community.github.io/nixvim/
# some examples...
# all your regular vim options here
options = {
textwidth = 120;
};
config = {
# add your own personal keymaps preferences
keymaps = [
{
mode = "n";
action = ":vsplit<CR>";
key = "|";
}
{
mode = "n";
action = ":split<CR>";
key = "-";
}
];
plugins = {
lsp.servers = {
# full list of language servers you can enable on the left bar here:
# https://nix-community.github.io/nixvim/plugins/lsp/servers/ansiblels/index.html
graphql.enable = true;
};
# full list of plugins on the left bar here:
# https://nix-community.github.io/nixvim/plugins/airline/index.html
markdown-preview.enable = true;
};
};
})
];
}
You can also just fork this repo and use it as a starting point for your own configuration!
LSPs, formatters and linters are set up for most common languages and configuration file types, as well the common TreeSitter-related plugins you probably remember from LunarVim.
The UI is also largely similar to LunarVim, using the lualine, bufferline and telescope plugins.
The keymaps are what you would expect, and whichkey is also integrated into the configuration to make various plugin keymaps discoverable.
There are a handful of shortcuts that I consider my superpowers in JetBrains IDEs which I have made LSP-equivalents for in this configuration.
,,
to rename whatever is under the cursor - trust me, this is the best
shortcut I've ever made,b
to peek at the definition of whatever is under the cursor,B
to jump to the definition of whatever is under the cursor, or, if
already at the definition, find all usages of the definition in a codebase<C-t>
to toggle in and out of the terminal; if the terminal line is
focused, you can hit <Esc>
to switch to normal mode in the terminal and
then <C-t>
again to hide it<Space>e
to toggle NvimTree, which when opening, will jump to the file in
the current buffer<Space>s
to live grep<Space>f
to search through git-tracked files