Can I change text editor of pamac to vim?

when I use pamac install in terminal and want to verify the build files, I found the default text editor is nano. Can I change it to vim?

pamac grabs the EDITOR env variable. If it’s not specified then it defaults to nano:

Edit your .bashrc/.profile/whatever (depending on your distro/shell) and add export EDITOR=vim. and logout and logback in. You can also verify your changes with printenv EDITOR.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.