New nvim setup.

This commit is contained in:
BalrajSinghGidda
2026-03-21 22:13:53 +05:30
parent d3208aeb05
commit a8564e6b8f
2 changed files with 7 additions and 2 deletions

View File

@@ -12,11 +12,13 @@
nc = "nvim ~/nixos-dotfiles/."; # Quick edit dotfiles
btw = "echo I use NixOS, btw"; # Because we have to let everyone know
nrs = "sudo nixos-rebuild switch --flake ~/nixos-dotfiles/#nixos-btw"; # Rebuild system
collect-garbage = "sudo nix-collect-garbage -d";
# Config editing shortcuts
edit-nixos = "nvim ~/nixos-dotfiles/modules/nixos/";
edit-home = "nvim ~/nixos-dotfiles/modules/home-manager/";
edit-host = "nvim ~/nixos-dotfiles/hosts/nixos-btw/";
edit-nvf = "nvim ~/nixos-dotfiles/modules/nixos/nvf.nix";
# Enhanced file operations
ls = "eza --long -ahF --no-user --no-permissions --git --icons=always --color=always --grid";

View File

@@ -9,11 +9,14 @@
vimAlias = false;
theme = {
enable = true;
name = "gruvbox";
style = "dark";
name = "tokyonight";
style = "night";
};
languages = {
enableTreesitter = true;
nix.enable = true;
python.enable = true;
};
lsp = {
enable = true;