voldikss / vim-floaterm

:computer: Terminal manager for (neo)vim
MIT License
2.47k stars 78 forks source link

rg always navigates to the first line #363

Open balazser opened 2 years ago

balazser commented 2 years ago

If you are using neovim, just run :checkhealth floaterm and post the content

below.

floaterm: health#floaterm#check
========================================================================
## common
  - INFO: Platform: linux
  - INFO: Nvim: NVIM v0.7.0
  - INFO: Plugin: 6244d17

## terminal
  - OK: Terminal emulator is available

## floating
  - OK: Floating window is available

Configurations related to vim-floaterm in vimrc(i.e. g:floaterm_xxx):

let g:floaterm_wintype = 'split'
let g:floaterm_autoclose = 1
let g:floaterm_opener = "drop"

Describe your question, feature request, or bug.

Steps to reproduce

Search for something like :FloatermNew rg "some text to search"

Actual behavior

Does navigate to the matching line. After selecting the match rg always ends up on the first line. Is this because it cannot parse the line number only the filename? :thinking:

Expected behavior

Navigates to the matching line

Screenshots(Optional, GIF is better)

Always jumps to the first line or the last position in the buffer image