more nvim configs

This commit is contained in:
Vivian 2022-12-09 11:54:59 +01:00
parent a3d77e2845
commit a4294731bc
4 changed files with 6 additions and 2 deletions

View file

@ -1 +1 @@
*_dconf_dump
*dconf_dump*

View file

@ -72,5 +72,6 @@ with lib.hm.gvariant;
};
"org/gnome/tweaks" = { show-extensions-notice = false; };
"org/gnome/boxes" = { first-run = false; };
};
}

View file

@ -62,7 +62,7 @@ in {
clock24 = true;
};
programs.firefox = { enable = true; };
programs.firefox.enable = true;
programs.vscode = {
enable = true;

View file

@ -10,6 +10,7 @@
maps.normal = {
"<leader>ff" = "<cmd>lua require('telescope.builtin').find_files()<cr>";
"<leader>fg" = "<cmd>lua require('telescope.builtin').live_grep()<cr>";
"<C-_>" = "<cmd>lua require('Comment.api').toggle.linewise.current()<cr>"; # map ctrl+/ to commenting code
};
extraPlugins = with pkgs.vimPlugins; [ catppuccin-nvim luasnip ];
@ -25,6 +26,7 @@
};
surround.enable = true;
fugitive.enable = true;
gitgutter.enable = true;
lualine = {
enable = true;
theme = "catppuccin";
@ -34,6 +36,7 @@
extensions.fzf-native.enable = true;
extensions.fzf-native.fuzzy = true;
};
comment-nvim = { enable = true; };
lsp = {
enable = true;
servers.rust-analyzer.enable = true;