📚 docs(README): add a section to change your default code editor

This commit is contained in:
Sergio Laín 2024-09-29 19:23:19 +02:00
parent b7cdbec020
commit ed784cecec
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150

11
.github/README.md vendored
View file

@ -395,6 +395,17 @@ yay -Sy selectdefaultapplication-fork-git
If you wanna change the default apps used in the Hyprland bindings, change the variables over on [this file](../.config/hypr/configs/default_apps.conf). If you wanna change the default apps used in the Hyprland bindings, change the variables over on [this file](../.config/hypr/configs/default_apps.conf).
- **Default Editor**
The default editor is Neovim, but you can change it to whatever editor you want. You only need to edit the [fish variables file](../.config/fish/user_variables.fish), and find where the EDITOR variable is defined.
Here's and example on how to change it to use VSCode.
```fish
# set -xg EDITOR nvim
set -xg EDITOR code
```
- **Git Changes** - **Git Changes**
If you are going to use git, be sure to change the user definition as well as the credentials over on the [gitconfig file](../.config/git/config). If you are going to use git, be sure to change the user definition as well as the credentials over on the [gitconfig file](../.config/git/config).