← Back to Index
DRAFT: This article is a work in progress

Contents

Edit bash command in vim

From: https://apple.stackexchange.com/a/220145

Your edit-and-execute-command may not be bound for vi mode. Try:

bind -m vi-insert '"\C-x\C-e": edit-and-execute-command'

To make it permanent, add that line to your ~/.inputrc file.