diff options
author | tv <tv@krebsco.de> | 2019-05-21 21:48:36 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-05-21 21:48:36 +0200 |
commit | 36ecf283d253a24f2ff3c434a5cda4f69119beff (patch) | |
tree | 37e3d2b02b9db44e3b0ffd7bf39c101307545ae5 /tv | |
parent | 8837981c5972d745af6ce0a6a5a7d956b579575e (diff) |
tv vim: move fzf to overlay
Diffstat (limited to 'tv')
-rw-r--r-- | tv/2configs/vim.nix | 10 | ||||
-rw-r--r-- | tv/5pkgs/vim/fzf.nix | 11 |
2 files changed, 12 insertions, 9 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix index a45e040e6..948058216 100644 --- a/tv/2configs/vim.nix +++ b/tv/2configs/vim.nix @@ -14,15 +14,7 @@ let { }; extra-runtimepath = concatMapStringsSep "," (pkg: "${pkg.rtp}") [ - # cannot use pkgs.vimPlugins.fzf-vim as it's missing :Rg - (pkgs.vimUtils.buildVimPlugin { - name = "fzf-2018-11-14"; - src = pkgs.fetchgit { - url = https://github.com/junegunn/fzf.vim; - rev = "ad1833ecbc9153b6e34a4292dc089a58c4bcb8dc"; - sha256 = "1z2q71q6l9hq9fqfqpj1svhyk4yk1bzw1ljhksx4bnpz8gkfbx2m"; - }; - }) + pkgs.tv.vimPlugins.fzf pkgs.vimPlugins.fzfWrapper pkgs.vimPlugins.undotree (pkgs.vimUtils.buildVimPlugin { diff --git a/tv/5pkgs/vim/fzf.nix b/tv/5pkgs/vim/fzf.nix new file mode 100644 index 000000000..14b6900b5 --- /dev/null +++ b/tv/5pkgs/vim/fzf.nix @@ -0,0 +1,11 @@ +{ pkgs }: + +# cannot use pkgs.vimPlugins.fzf-vim as it's missing :Rg +pkgs.vimUtils.buildVimPlugin { + name = "fzf-2018-11-14"; + src = pkgs.fetchgit { + url = https://github.com/junegunn/fzf.vim; + rev = "ad1833ecbc9153b6e34a4292dc089a58c4bcb8dc"; + sha256 = "1z2q71q6l9hq9fqfqpj1svhyk4yk1bzw1ljhksx4bnpz8gkfbx2m"; + }; +} |