Work got me using the vim editor and shell a lot so I configured them to look pleasing to my eyes.
Note: I'm currently using the Starship prompt with the pure preset instead of what's mentioned below.
Zsh shell (default shell of macOS) will show prompt as:
Only the username & current directory is set to show and anything you type will show after =>
.
Vim editor mimics somewhat of the VS Code Dark theme:
psst.. the code is just some C-stuff with strings and ptrs.
Download the files .zshrc
and .vimrc
in your default directory on your mac/linux machine and then restart your terminal session or use source .zshrc
(if a vim session is already open, you'll need to close it and open again for the changes to take effect, but it does not need the source
command)
The VS Code Dark theme for vim can be downloaded and installed by following the directions on this repo by @tomasiser. To summarize, the codedark.vim
file needs to be in the .vim/colors/
directory.