From ed784cecec42c1a8c2cc46736ce35a3fb0097405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sun, 29 Sep 2024 19:23:19 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20docs(README):=20add=20a=20sectio?= =?UTF-8?q?n=20to=20change=20your=20default=20code=20editor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/README.md b/.github/README.md index a3a83cfd..7f09837b 100644 --- a/.github/README.md +++ b/.github/README.md @@ -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). +- **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** 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).