nvf getting better

This commit is contained in:
Vali 2024-07-06 18:17:02 +02:00
commit a9a0264011
12 changed files with 24 additions and 41 deletions

View file

@ -1,6 +1,4 @@
{config, ...}: let
inherit (config.modules.other.system) username;
in {
_:{
programs.neovim-flake.settings.vim = {
assistant.copilot = {
enable = true;

View file

@ -1,6 +1,4 @@
{config, ...}: let
inherit (config.modules.other.system) username;
in {
_:{
programs.neovim-flake.settings.vim = {
autocomplete = {
enable = true;
@ -12,6 +10,7 @@ in {
previous = "<C-p>";
scrollDocsDown = "<C-j>";
scrollDocsUp = "<C-k>";
};
};
};

View file

@ -1,10 +1,8 @@
{config, ...}: let
inherit (config.modules.other.system) username;
in {
_:{
programs.neovim-flake.settings.vim = {
binds = {
whichKey.enable = true;
cheatsheet.enable = false;
cheatsheet.enable = true;
};
};
}

View file

@ -8,7 +8,7 @@ in {
openOnSetup = true;
mappings = {
toggle = "<C-w>";
#toggle = "<C-w>";
};
setupOpts = {

View file

@ -1,6 +1,4 @@
{config, ...}: let
inherit (config.modules.other.system) username;
in {
_:{
programs.neovim-flake.settings.vim = {
git = {
enable = true;

View file

@ -1,11 +1,4 @@
{
config,
pkgs,
lib,
...
}: let
inherit (config.modules.other.system) username;
in {
_:{
programs.neovim-flake.settings.vim = {
languages = {
enableLSP = true;
@ -14,7 +7,6 @@ in {
enableExtraDiagnostics = true;
markdown.enable = true;
nix.enable = true;
html.enable = true;
css.enable = true;
tailwind.enable = true;
@ -33,6 +25,10 @@ in {
lsp.neodev.enable = true;
};
nix = {
enable = true;
lsp.enable = true;
};
rust = {
enable = true;
crates.enable = true;

View file

@ -1,6 +1,4 @@
{config, ...}: let
inherit (config.modules.other.system) username;
in {
_:{
programs.neovim-flake.settings.vim = {
lsp = {
formatOnSave = true;

View file

@ -1,6 +1,4 @@
{config, ...}: let
inherit (config.modules.other.system) username;
in {
_: {
programs.neovim-flake.settings.vim = {
telescope.enable = true;
};

View file

@ -1,6 +1,4 @@
{config, ...}: let
inherit (config.modules.other.system) username;
in {
_:{
programs.neovim-flake.settings.vim = {
terminal = {
toggleterm = {
@ -12,6 +10,7 @@ in {
lazygit = {
enable = true;
direction = "tab";
mappings.open = "<leader>gg";
};
};
};