From 95d1e35049e786415116e262062f3dba6ea736c0 Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 9 Oct 2017 13:24:54 +0200 Subject: l vim: add ack-vim --- lass/2configs/vim.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lass') diff --git a/lass/2configs/vim.nix b/lass/2configs/vim.nix index 71c3aaada..698344b09 100644 --- a/lass/2configs/vim.nix +++ b/lass/2configs/vim.nix @@ -97,10 +97,13 @@ let noremap [b | noremap! [b noremap [c | noremap! [c noremap [d | noremap! [d - vnoremap u + + let g:ackprg = 'ag --vimgrep' + cnoreabbrev Ack Ack! ''; extra-runtimepath = concatMapStringsSep "," (pkg: "${pkg.rtp}") [ + pkgs.vimPlugins.ack-vim pkgs.vimPlugins.Gundo pkgs.vimPlugins.Syntastic pkgs.vimPlugins.undotree -- cgit v1.2.3