Dotfiles/.config/nvim/init.vim
2024-04-02 08:19:52 -04:00

36 lines
547 B
VimL

" Supported by almost all vi implementations.
set autoindent
set number
set ruler
set tabstop=4
set shiftwidth=4
set expandtab
set showmatch
set exrc
" vim-specific options
"set compatible " Be compatible with vi (not supported in nvim)
set fileformat=unix
set encoding=UTF-8
set syntax=on
set colorcolumn=80,100
set textwidth=80
set autoread
" set spell
set ignorecase
set smartcase
set showcmd
set showmode
" nvim-specific options
set mouse= " Disable mouse support
" Prevent the terminal from swallowing ESC
tnoremap <Esc> <C-\><C-n>