vim-floaterm icon indicating copy to clipboard operation
vim-floaterm copied to clipboard

rg always navigates to the first line

Open balazser opened this issue 3 years ago • 0 comments

  • Output of vim --version: NVIM v0.7.0 Build type: Release LuaJIT 2.1.0-beta3

  • Platform:

    • [x] Linux
    • [ ] Mac OS X
    • [ ] Windows

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

balazser avatar Jun 21 '22 09:06 balazser