summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-10-09 13:24:54 +0200
committerlassulus <lassulus@lassul.us>2017-10-09 13:24:54 +0200
commit95d1e35049e786415116e262062f3dba6ea736c0 (patch)
tree70cd150f0bc90acbbd04c83af2b04b54d3be98a4 /lass
parent80788b158f5b13ad7b638cc8252d5a7b905092df (diff)
l vim: add ack-vim
Diffstat (limited to 'lass')
-rw-r--r--lass/2configs/vim.nix5
1 files changed, 4 insertions, 1 deletions
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 <esc>[b <nop> | noremap! <esc>[b <nop>
noremap <esc>[c <nop> | noremap! <esc>[c <nop>
noremap <esc>[d <nop> | noremap! <esc>[d <nop>
- vnoremap u <nop>
+
+ 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