Celeste d6d54724d5 community/vim: move from main
part of the effort to move gtk+3.0 to community (https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/94930)

as gvim depends on gtk+3.0, and i do not think it is a good idea to split vim-gvim, because upstream tags versions very often, the whole vim aport has been moved to community
2025-12-21 03:15:55 +00:00

19 lines
588 B
VimL

set nocompatible " Use Vim defaults (much better!)
set bs=2 " Allow backspacing over everything in insert mode
set ai " Always set auto-indenting on
set history=50 " keep 50 lines of command history
set ruler " Show the cursor position all the time
" Don't use Ex mode, use Q for formatting
map Q gq
" When doing tab completion, give the following files lower priority.
set suffixes+=.info,.aux,.log,.dvi,.bbl,.out,.o,.lo
set nomodeline
syntax on
if filereadable("/etc/vim/vimrc.local")
source /etc/vim/vimrc.local
endif