summaryrefslogtreecommitdiff
path: root/home/neovim/editing-plugins.nix
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2024-12-21 15:47:33 +0100
committerLinnnus <[email protected]>2024-12-21 16:19:04 +0100
commit8353554315564b89dfe27d5130080ed04a0a65ad (patch)
tree896de88b6ea2701692b3ffe977c23947a786318e /home/neovim/editing-plugins.nix
parent9b7ed17b27157a25e57a6e38be3bcfeaa70ec9e8 (diff)
Move to a profile-based configuration where common
This patch makes it so common configuration is now located in shared/ and each host basically just becomes a bunch of import statements. The exception here is host-specific configuration like the `*.linus.onl` that live inside `hosts/ahmed/`. Specifically I have: - moved common configuration `shared/{nixos,home-manager,nix-darwin}`. - moved `hosts/common.nix` to `shared/nixos/common-{nix,shell}-settings.nix`. - split `hosts/muhammed/{dev-utils,neovim}` into per-language configuration. This patch was done in preparation for the arrival of a new host, which will need to share a lot of configuration with Muhammed.
Diffstat (limited to 'home/neovim/editing-plugins.nix')
-rw-r--r--home/neovim/editing-plugins.nix26
1 files changed, 0 insertions, 26 deletions
diff --git a/home/neovim/editing-plugins.nix b/home/neovim/editing-plugins.nix
deleted file mode 100644
index 23c7d63..0000000
--- a/home/neovim/editing-plugins.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-# This module sets up and configures various miscellaneous plugins.
-# TODO: I fear this file will become the utils.lua of my Neovim configuration. Remove it!
-{pkgs, ...}: {
- programs.neovim.plugins = [
- {
- plugin = pkgs.vimPlugins.vim-localvimrc;
- type = "viml";
- config = ''
- let g:localvimrc_persistent = 1
- let g:localvimrc_name = [ "local.vim", "editors/local.vim" ]
- '';
- }
- {
- plugin = pkgs.vimPlugins.vim-sneak;
- type = "viml";
- config = ''
- let g:sneak#s_next = 1
- let g:sneak#use_ic_scs = 1
- map f <Plug>Sneak_f
- map F <Plug>Sneak_F
- map t <Plug>Sneak_t
- map T <Plug>Sneak_T
- '';
- }
- ];
-}