Quote:
Originally Posted by beavers
I have tried setting EDITOR and/or VISUAL in ~/.profile. This works fine; however, I do not want either of these parameters to take effect for the ksh command-line editing mode
|
Add this line to ~/.profile (if it does not already exist):
Code:
export ENV="${HOME}/.kshrc"
Then add this line to ~/.kshrc:
This will allow you to set VISUAL to vim but keep ksh's stock editing mode.