Using Nushell's native if/else syntax to avoid '&&' syntax errors in the nvim-remote editor preset. Closes #5211