chrisant996 / clink

Bash's powerful command line editing in cmd.exe
https://chrisant996.github.io/clink/
GNU General Public License v3.0
3.62k stars 143 forks source link

How to define another editor in _inputrc? #485

Closed vbd closed 1 year ago

vbd commented 1 year ago

I feel pretty stupid right now as I am failing to define another editor.

chrisant996 commented 1 year ago

It looks like you're trying to set environment variables in the inputrc file. That doesn't work in Windows, nor in Linux. The Clink docs have a section on the syntax and purpose of the inputrc file.

This question is about where to set environment variables. That doesn't have anything to do with Clink. You could set them in the Windows system control panel or in a batch script.

vbd commented 1 year ago

Thank you for your feedback. set EDITOR=vim.exe fixed it. Don't know why I want it to set it in _inputrc. Sorry for PEBKAC.