sisyphus/config/.vimrc

43 lines
743 B
VimL
Raw Normal View History

2022-04-22 14:54:27 +02:00
"
" ~/.vimrc
"
filetype on
filetype plugin on
filetype indent on
2022-04-25 12:39:34 +02:00
set tabstop=4
set shiftwidth=0
2022-04-22 14:54:27 +02:00
set expandtab
2022-04-26 16:31:05 +02:00
set smarttab
set autoindent
set smartindent
2022-04-22 14:54:27 +02:00
set incsearch
set number
set showmatch
set title
set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx
syntax on
2022-04-26 16:31:05 +02:00
" Automatically add closing parts
inoremap { {}<Left>
inoremap ( ()<Left>
inoremap [ []<Left>
inoremap < <><Left>
inoremap ' ''<Left>
inoremap " ""<Left>
2022-04-22 14:54:27 +02:00
" PLUGINS --------------------------------------------------------------- {{{
call plug#begin('~/.vim/plugged')
Plug 'dense-analysis/ale'
call plug#end()
" }}}
if has("autocmd")
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
endif