Skip to content

FCEDIT/EDITOR ignored in vi command editor mode #179

Description

@AleksejK1

Describe the bug
I have FCEDIT and EDITOR set to "nvim", but when I press 'v' in vi editing command mode, it opens vi editor.

To Reproduce
Steps to reproduce the behavior:

set -o vi
export FCEDIT=nvim
export EDITOR=nvim
date
fc <get command editing in Nvim>
date <Press Esc and v, get dropped to Vi, not Nvim>

Expected behavior
Open nvim as command editor.

Environment (please complete the following information):

  • OS: Arch
  • Version 2.59
  • Locale en_GB.UTF-8
  • If you built yash yourself, also show your configuration parameters.
  ./configure \
    --prefix=/usr \
    --enable-array \
    --enable-dirstack \
    --enable-double-bracket \
    --enable-help \
    --enable-history \
    --enable-lineedit \
    --enable-nls \
    --enable-printf \
    --enable-socket \
    --enable-test \
    --enable-ulimit

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions