set noloadplugins
set hls
set nocompatible
set laststatus=2
set noswapfile
set viminfo=
set hidden
set laststatus=2
set backspace=indent,eol,start
set nowrap
set wildmode=list:longest
set completeopt=menu,longest
set ruler
set autoindent

":com Scratch e scratch|bd scratch|sp|e scratch|setlocal bt=nofile bh=wipe nu
:com Scratch sp|e scratch|bp|bd scratch|e scratch|setlocal bt=nofile bh=wipe nu
:com Run     r ! make
map  <F1>  :e /share/seed7/doc/manual.txt<cr>
map  <F2>  :update<cr>:Scratch<cr>:Run<cr>
imap <F2>  <esc><F2>
map  <F3>  :bd! scratch<cr>
map  <F4>  :bd<cr>
map  <tab> :bn<cr>

autocmd BufNewFile,BufRead *.sd7,*.s7i :setlocal filetype=seed7 expandtab ts=2
autocmd BufNewFile,BufRead /config/terminal :setlocal filetype=hid expandtab ts=2
syn on
