Comments (1)
fzf needs to know the file path and the line number to go to the position, so you can't use an rg
command that doesn't print them. However, you can hide the parts using --with-nth
option like so.
" command (string), [spec (dict)], [fullscreen (bool)]
command! -bang -nargs=* Rg call fzf#vim#grep("rg --column --line-number --no-heading --color=always --smart-case -- ".fzf#shellescape(<q-args>), { 'options': '--with-nth 4..' }, <bang>0)
You should note that --with-nth
makes fzf slower.
As well as this padding:
Nope, not possible. One column is for "pointer" and another is for "marker" (for --multi
selection).
from fzf.vim.
Related Issues (20)
- Let FZF_PREVIEW_COMMAND take over for binary files too HOT 1
- Search text in files of certain type HOT 1
- vim.ui.select wrapper for fzf.vim HOT 1
- fzf Doesn't load all Helptags before showing entries when runnign `nvim +Helptags` from bash HOT 4
- :Rg [pattern] [file or folder location] not behaving as expected HOT 3
- Marks has no preview
- Perform different sink actions on Enter and Shift+Enter HOT 1
- `preview.sh` is inaccessible under Windows by default. HOT 3
- GitBranchFiles ?
- :Tags<cr>Query behaves differently from :Tags Query<cr> HOT 6
- The preview window pops up and then crashes before you can see it clearly on Windows 10 HOT 8
- [bug] :Commands command do not fuzzy find in windows HOT 2
- [bug] g:fzf_vim.preview_bash forced to always use backlash in windows
- Show enclosing object for line in preview window
- Use <C-enter> in fzf_actions HOT 2
- Errors running any command inside neovim HOT 4
- rfv works in vim HOT 1
- Using Ctrl+R to paste from a register in the fzf window
- support skim/fzy as fzf is really too slow HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fzf.vim.