More editor updates

This commit is contained in:
Mahesh Asolkar 2025-04-20 10:51:04 -07:00
parent fd9de58b0f
commit 257c6a0b38
Signed by: asolkar
GPG Key ID: 371CA8164433BDCC
2 changed files with 11 additions and 4 deletions

View File

@ -13,12 +13,13 @@ export PATH=~/bin:$PATH
#
# Editor setup
#
export PATH=/opt/neovim:$PATH
export EDITOR=nvim
function n () {
/opt/neovim/nvim $* || nvim $*
}
export EDITOR=n
#
# Aliases
#

View File

@ -19,16 +19,18 @@ PS1='${debian_chroot:+($debian_chroot)}\[\033[01;92m\]$(hostnamectl hostname)\[\
#
export PATH=~/bin:~/.local/bin:$PATH
export IGNOREEOF=50 # Ignore first 50 Ctrl-D on shell
export GPG_TTY=$(tty)
#
# Editor setup
#
export PATH=/opt/neovim:$PATH
export EDITOR=nvim
function n () {
/opt/neovim/nvim $* || nvim $*
}
export EDITOR=n
#
# Aliases
#
@ -57,3 +59,7 @@ function pgrep () {
function start_tmux () {
TERM=screen-256color tmux new -A -s DevEnv
}
function start_gitui() {
GPG_TTY=$(tty) gitui
}