Reputation: 4867
New to the VIM. Environment: WSL2
Already set VIM to show line number, It works as expected. So I type vi test.txt
in Ubuntu/WSL2, it will show line number.
But In psql, when I type \e
It will not show line number.
Upvotes: 1
Views: 208
Reputation: 4867
sudo su
to enter root mode.
sudo -u postgres -i
After logging as user postgres in Ubuntu then using
vim ~/.vimrc
to create/edit a new vimrc file.
Upvotes: 1