Update dotfiles.

This commit is contained in:
Jordan Bancino 2024-04-02 08:19:52 -04:00
parent f67b62fdf0
commit 9372270fdc
Signed by: jordan
SSH key fingerprint: SHA256:lRUOrki6+e1vo47tj4BoyALNvOhW/yGXq08lqmaNvkw
2 changed files with 8 additions and 3 deletions

4
.ashrc
View file

@ -12,7 +12,9 @@ is_ssh() {
} }
# The shell might not start in the home directory. # The shell might not start in the home directory.
cd "$HOME" if [ "$(pwd)" = "/" ]; then
cd "$HOME"
fi
# Signal to some programs that vi is the editor that should be launched. # Signal to some programs that vi is the editor that should be launched.
export EDITOR=nvim export EDITOR=nvim

View file

@ -16,10 +16,11 @@ set fileformat=unix
set encoding=UTF-8 set encoding=UTF-8
set syntax=on set syntax=on
set colorcolumn=72,80,100 set colorcolumn=80,100
set textwidth=80
set autoread set autoread
set spell " set spell
set ignorecase set ignorecase
set smartcase set smartcase
@ -31,3 +32,5 @@ set showmode
set mouse= " Disable mouse support set mouse= " Disable mouse support
" Prevent the terminal from swallowing ESC
tnoremap <Esc> <C-\><C-n>