aboutsummaryrefslogtreecommitdiffstats
path: root/home/sadbeast/features/vim.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/sadbeast/features/vim.nix')
-rw-r--r--home/sadbeast/features/vim.nix49
1 files changed, 49 insertions, 0 deletions
diff --git a/home/sadbeast/features/vim.nix b/home/sadbeast/features/vim.nix
new file mode 100644
index 0000000..5bad38b
--- /dev/null
+++ b/home/sadbeast/features/vim.nix
@@ -0,0 +1,49 @@
+{pkgs, ...}: {
+ programs.vim = {
+ enable = true;
+ defaultEditor = true;
+
+ plugins = with pkgs.vimPlugins; [
+ ale
+ asyncomplete-vim
+ asyncomplete-lsp-vim
+ asyncrun-vim
+ base16-vim
+ copilot-vim
+ lightline-vim
+ # lightline-ale
+ lightline-lsp
+ fugitive
+ fzf-vim
+ vim-commentary
+ vim-dadbod
+ vim-dispatch
+ vim-dotenv
+ vim-eunuch
+ vim-lsp
+ vim-lsp-ale
+ vim-lsp-settings
+ vim-mustache-handlebars
+ vimspector
+ vim-rails
+ vim-rhubarb
+ vim-signify
+ vim-test
+ vim-wayland-clipboard
+ vim-vsnip
+ vim-vsnip-integ
+ zig-vim
+ ];
+
+ settings = {
+ hidden = true;
+ ignorecase = true;
+ # mouse = "a";
+ number = true;
+ relativenumber = true;
+ smartcase = true;
+ };
+
+ extraConfig = builtins.readFile ./vimrc;
+ };
+}