From 597150b8722e3a93f67bcf85c2db8270dd20aad1 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Fri, 10 May 2024 19:51:55 +0100 Subject: Updated to use Helix as the default editor instead of Neovim --- .bashrc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index 5903792..5b9e51c 100644 --- a/.bashrc +++ b/.bashrc @@ -62,8 +62,8 @@ if [[ $TERM = "foot" ]]; then alias ssh='TERM=linux ssh' fi -export EDITOR="nvim" -export VISUAL="nvim" +export EDITOR="hx" +export VISUAL="hx" export MANPATH=$HOME/.local/share/man/:$MANPATH export PATH=$PATH:~/.local/bin export STARSHIP_CONFIG=~/.config/starship/config.toml @@ -85,6 +85,13 @@ export SAL_USE_VCLPLUGIN=gtk3 # Path to Zig binary export PATH=$PATH:~/Downloads/zig/zig-linux-x86_64-0.11.0/ +# Path to Helix binary +export PATH=$PATH:~/.cargo/bin/ +# I cloned Helix master in ~/Git and setup a link to the runtime instead of +# using export as below. +# export HELIX_RUNTIME=~/Git/helix/runtime +# This is the command I ran after building: ln -s ~/Git/helix/runtime ~/.config/helix/runtime + # Enable the use of ssh-agent if ! pgrep -u "$USER" ssh-agent > /dev/null; then ssh-agent -t 1h > "$XDG_RUNTIME_DIR/ssh-agent.env" -- cgit v1.2.3