Quantcast
Viewing all articles
Browse latest Browse all 2810

Any way to use Visual Studio Code editor instead of nano/vim/emacs to edit files?

I'm having an issue where I can only edit .bashrc or .zshrc files with the nano command.

When I input code .bashrc it just opens up an empty .bashrc file. With nano it works within the shell and it displays the file properly through the command nano .bashrc, but I hate editing files through nano and I'd rather do that on Visual Studio, any idea how to fix this so that Visual Studio Code could read . files?

Hell, even when editing normal files (i.e. files that aren't hidden with .) with code, while it works, git status doesn't register the change, but it does register it if the file was edited with nano. Super frustrating as someone who dislikes editing through shell and it's making me consider going back to Git Bash.. even though I much prefer working with zsh on WSL.


Viewing all articles
Browse latest Browse all 2810

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>