1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 12:45:20 +03:00
aports/main/vim/vimrc
2022-03-16 19:34:30 +00:00

19 lines
629 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
autocmd BufRead APKBUILD set filetype=sh
if filereadable("/etc/vim/vimrc.local")
source /etc/vim/vimrc.local
endif