Update dotfiles.
This commit is contained in:
parent
f67b62fdf0
commit
9372270fdc
2 changed files with 8 additions and 3 deletions
4
.ashrc
4
.ashrc
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue