Update dotfiles.
This commit is contained in:
parent
f67b62fdf0
commit
9372270fdc
2 changed files with 8 additions and 3 deletions
2
.ashrc
2
.ashrc
|
@ -12,7 +12,9 @@ is_ssh() {
|
|||
}
|
||||
|
||||
# The shell might not start in the home directory.
|
||||
if [ "$(pwd)" = "/" ]; then
|
||||
cd "$HOME"
|
||||
fi
|
||||
|
||||
# Signal to some programs that vi is the editor that should be launched.
|
||||
export EDITOR=nvim
|
||||
|
|
|
@ -16,10 +16,11 @@ set fileformat=unix
|
|||
set encoding=UTF-8
|
||||
|
||||
set syntax=on
|
||||
set colorcolumn=72,80,100
|
||||
set colorcolumn=80,100
|
||||
set textwidth=80
|
||||
|
||||
set autoread
|
||||
set spell
|
||||
" set spell
|
||||
|
||||
set ignorecase
|
||||
set smartcase
|
||||
|
@ -31,3 +32,5 @@ set showmode
|
|||
|
||||
set mouse= " Disable mouse support
|
||||
|
||||
" Prevent the terminal from swallowing ESC
|
||||
tnoremap <Esc> <C-\><C-n>
|
||||
|
|
Loading…
Reference in a new issue