" Ack - Integrata ack (grep replacement) into vim Plug 'mileszs/ack.vim' nmap ck :Ack! nnoremap cc :cclose:pclose function! s:VisualAck() let temp = @" normal! gvy let escaped_pattern = escape(@", "[]().*") let @" = temp execute "Ack! '" . escaped_pattern . "'" endfunction nnoremap K :Ack! '' vnoremap K :call VisualAck() let g:ackprg = 'ag --nogroup --nocolor --column' " vim:ft=vim