Skip to content

'Ep' 'Edit-profile' 'edit' uses vim instead of Editor Override #179

@Sopnil0013

Description

@Sopnil0013

In line 301 it auto sets vim as the default editor for the edit function
I'm trying use micro or hx but it rests every time I update the profile
heres the line 301

function Edit-Profile {
    vim $PROFILE.CurrentUserAllHosts
}
Set-Alias -Name ep -Value Edit-Profile


also I get the following error after setting
$EDITOR_Override = 'notepad++' or $EDITOR_Override = 'micro'
and running edit ep or edit-profile

The term 'vim' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

I have both nvim and vim installed so.. idk what's that about

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions