All Projects → gabesoft → Vim Ags

gabesoft / Vim Ags

Silver searcher plugin for vim

Projects that are alternatives of or similar to Vim Ags

Simple Jekyll Search
A JavaScript library to add search functionality to any Jekyll blog.
Stars: ✭ 1,133 (+532.96%)
Mutual labels:  search, plugin
Hexo Generator Search
A plugin to generate search data for Hexo.
Stars: ✭ 318 (+77.65%)
Mutual labels:  search, plugin
Mongoose Fuzzy Searching
Mongoose Fuzzy Searching Plugin
Stars: ✭ 94 (-47.49%)
Mutual labels:  search, plugin
Hideseek
A simple, mobile-friendly, yet customizable quick/live search jQuery plugin.
Stars: ✭ 430 (+140.22%)
Mutual labels:  search, plugin
Vim Subversive
Vim plugin providing operator motions to quickly replace text
Stars: ✭ 168 (-6.15%)
Mutual labels:  search, plugin
Rusticsearch
Lightweight Elasticsearch compatible search server.
Stars: ✭ 171 (-4.47%)
Mutual labels:  search
Hyper Tabs Enhanced
Enhanced Tabs Plugin for Hyper
Stars: ✭ 173 (-3.35%)
Mutual labels:  plugin
Muzonchik
iOS Music App that let you search, download and play music
Stars: ✭ 170 (-5.03%)
Mutual labels:  search
Http Loader
A loader for ngx-translate that loads translations with http calls
Stars: ✭ 170 (-5.03%)
Mutual labels:  plugin
Njt
njt (npm jump to): a quick navigation tool for npm packages
Stars: ✭ 179 (+0%)
Mutual labels:  search
Lookingglass
Intuitive and configurable search interface for document archives.
Stars: ✭ 176 (-1.68%)
Mutual labels:  search
Emoji
💌 Find the emoji that echoes your mind.
Stars: ✭ 2,072 (+1057.54%)
Mutual labels:  search
Keyvi
Keyvi - a key value index that powers Cliqz search engine. It is an in-memory FST-based data structure highly optimized for size and lookup performance.
Stars: ✭ 171 (-4.47%)
Mutual labels:  search
Searchview
This a view that waiting for network connection to resolve with cool animation .
Stars: ✭ 174 (-2.79%)
Mutual labels:  search
Dlfcn Win32
Official dlfcn-win32 repo
Stars: ✭ 170 (-5.03%)
Mutual labels:  plugin
Mcfly
Fly through your shell history. Great Scott!
Stars: ✭ 3,206 (+1691.06%)
Mutual labels:  search
Sketch2ae
A Sketch plugin to export sketch file to Adobe After Effect
Stars: ✭ 170 (-5.03%)
Mutual labels:  plugin
Jkes
A search framework and multi-tenant search platform based on java, kafka, kafka connect, elasticsearch
Stars: ✭ 173 (-3.35%)
Mutual labels:  search
Tensorflow Ue4 Examples
Drag and drop Unreal Engine TensorFlow examples repository
Stars: ✭ 176 (-1.68%)
Mutual labels:  plugin
Ttrss plugin Feediron
Evolution of ttrss_plugin-af_feedmod
Stars: ✭ 172 (-3.91%)
Mutual labels:  plugin
_____     ____  ______
\__  \   / ___\/  ___/
 / __ \_/ /_/  >___ \ 
(____  /\___  /____  >
     \//_____/     \/ 

Silver searcher (AG) plugin for Vim

A Vim plugin for the silver searcher or ripgrep that focuses on
clear display and easy navigation of the search results

Installation

Install via pathogen, vundle, plug or copy to the Vim directory
The ag or rg executable must be installed as well.

Usage

See the docs or press u (for usage) while in the search results window.

Using ripgrep instead of ag

Despite the name vim-ags works with ripgrep as well if configured as below:

let g:ags_agexe = 'rg'

let g:ags_agargs = {
  \ '--column'         : ['', ''],
  \ '--line-number'    : ['', ''],
  \ '--context'        : ['g:ags_agcontext', '-C'],
  \ '--max-count'      : ['g:ags_agmaxcount', ''],
  \ '--heading'        : ['',''],
  \ '--smart-case'     : ['','-S'],
  \ '--color'          : ['always',''],
  \ '--colors'         : [['match:fg:green', 'match:bg:black', 'match:style:nobold', 'path:fg:red', 'path:style:bold', 'line:fg:black', 'line:style:bold'] ,''],
  \ }

Sample Shortcut Mappings

" Search for the word under cursor
nnoremap <Leader>s :Ags<Space><C-R>=expand('<cword>')<CR><CR>
" Search for the visually selected text
vnoremap <Leader>s y:Ags<Space><C-R>='"' . escape(@", '"*?()[]{}.') . '"'<CR><CR>
" Run Ags
nnoremap <Leader>a :Ags<Space>
" Quit Ags
nnoremap <Leader><Leader>a :AgsQuit<CR>

Notes

Works with ag version >= 0.29.1 or ripgrep >= 11.0.2

Screenshots

Here are a couple of screenshots of the search results window

View mode (with lightline integration)

Edit mode

Similar Plugins

ctrlsf

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].