Skip to content

Conflict while using fzf.vim plugin #246

Open

Description

@xliiv

There is some kind of conflict between

  1. editorconfig/editorconfig-vim
  2. junegunn/fzf.vim

This is the result of vim session

/./some-file

while i expect

./some-file

Steps

  1. open empty file (like vim main)
  2. Edited Hit i to enter Insert mode
  3. type ./
  4. press <c-x><c-f> (the imap <c-x><c-f> <plug>(fzf-complete-path) binding must be in your .vimrc, see https://github.com/junegunn/fzf.vim?tab=readme-ov-file#mappings)
  5. pick some-file
    The file gets extra / as aforementioned. It works OK, when I remove .editorconfig file (or comment the [*] section).
    It also could be a fzf issue, but I didn't track it further. Just showing what I found.

Activity

  1. changed the title [-]Conflict while using `fzf.vim`[/-] [+]Conflict while using `fzf.vim` plugin[/+] on Oct 29, 2025
  2. cxw42 commented on Dec 27, 2025

    @cxw42
    Member
    • What plugin version?
    • Could you please upload .editorconfig file(s) you have in and above your path (up to one with root=true) when you experience the problem?
  3. xliiv commented on Dec 29, 2025

    @xliiv
    Author
    • What plugin version?
    > cd editorconfig-vim/
    commit 6a58b7c11f79c0e1d0f20533b3f42f2a11490cf8 (HEAD -> master, origin/master, origin/HEAD)
    Author: Josh Soref <2119212+jsoref@users.noreply.github.com>
    Date:   Mon Apr 21 03:21:57 2025 -0400
    
        spelling: https (#245)
    
        Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
    
    
    > cd ../fzf.vim/
    > git log
    commit 879db51d0965515cdaef9b7f6bdeb91c65d2829e (grafted, HEAD -> master, origin/master, origin/HEAD)
    Author: Junegunn Choi <junegunn.choi@linecorp.com>
    Date:   Wed Sep 3 09:59:37 2025 +0900
    
        Update README.md
    
    
    • Could you please upload .editorconfig file(s) you have in and above your path (up to one with root=true) when you experience the problem?

    I found that an issue is in the following config

    # root = true
    
    [*]
    end_of_line = lf
    insert_final_newline = true
    trim_trailing_whitespace = true
    charset = utf-8
    

    Let me know, if that helps

  4. cxw42 commented on Jan 3, 2026

    @cxw42
    Member

    Thanks! I am able to repro with the given file and with root=true uncommented. Also, if I don't load editorconfig-vim, I indeed get ./some-file in the buffer rather than /./some-file. Vim 8.2, Lin x86_64.

    Edit this still happens using the change from #152.

  5. deleted a comment from on Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportRequest for direct support

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions