The current default editor of manjaro is kate and replaced with vscode
xdg-mime default code.desktop text/plain
Setting VS Code as the default text editor