From 3f600ab07dbad3b6dd7655587ddea158b19aea71 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 26 Aug 2023 23:42:21 +0200 Subject: Refactor(treewide): Abbreviate path names --- .../neovim/nixvim/plugins/goto-preview/default.nix | 42 ---------------------- 1 file changed, 42 deletions(-) delete mode 100644 home-manager/soispha/config/neovim/nixvim/plugins/goto-preview/default.nix (limited to 'home-manager/soispha/config/neovim/nixvim/plugins/goto-preview/default.nix') diff --git a/home-manager/soispha/config/neovim/nixvim/plugins/goto-preview/default.nix b/home-manager/soispha/config/neovim/nixvim/plugins/goto-preview/default.nix deleted file mode 100644 index 740bb04c..00000000 --- a/home-manager/soispha/config/neovim/nixvim/plugins/goto-preview/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ - pkgs, - lib, - ... -}: { - programs.nixvim = { - # TODO: package goto-preview though a module - extraConfigLuaPost = '' - ${lib.strings.fileContents ./lua/goto-preview.lua} - ''; - extraPlugins = [ - pkgs.vimExtraPlugins.goto-preview - ]; - maps.normal = { - "gd" = { - action = "require('goto-preview').goto_preview_definition"; - lua = true; - desc = "[G]oto [D]efinition"; - }; - "gtd" = { - action = "require('goto-preview').goto_preview_type_definition"; - lua = true; - desc = "[G]oto the [t]ype [D]efinition"; - }; - "gi" = { - action = "require('goto-preview').goto_preview_implementation"; - lua = true; - desc = "[G]oto [I]mplementations"; - }; - "gr" = { - action = "require('goto-preview').goto_preview_references"; - lua = true; - desc = "[G]o to all [R]eferences of the symbol"; - }; - "\\" = { - action = "require('goto-preview').close_all_win"; - lua = true; - desc = "close all preview windows"; - }; - }; - }; -} -- cgit 1.4.1