65 lines
2.5 KiB
VimL
65 lines
2.5 KiB
VimL
|
|
|
|
set runtimepath=~/.mbenv/config/vim
|
|
|
|
|
|
"----------------------------------------------------------------------------------
|
|
"--------------- DEBIAN CONFIG ------------------------------------------------
|
|
"----------------------------------------------------------------------------------
|
|
|
|
" Normally we use vim-extensions. If you want true vi-compatibility
|
|
" remove change the following statements
|
|
set nocompatible " Use Vim defaults instead of 100% vi compatibility
|
|
set backspace=indent,eol,start " more powerful backspacing
|
|
|
|
" Now we set some defaults for the editor
|
|
set history=50 " keep 50 lines of command line history
|
|
set ruler " show the cursor position all the time
|
|
|
|
" modelines have historically been a source of security/resource
|
|
" vulnerabilities -- disable by default, even when 'nocompatible' is set
|
|
set nomodeline
|
|
|
|
" Suffixes that get lower priority when doing tab completion for filenames.
|
|
" These are files we are not likely to want to edit or read.
|
|
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
|
|
|
|
" We know xterm-debian is a color terminal
|
|
if &term =~ "xterm-debian" || &term =~ "xterm-xfree86"
|
|
set t_Co=16
|
|
set t_Sf=^[[3%dm
|
|
set t_Sb=^[[4%dm
|
|
endif
|
|
|
|
|
|
"----------------------------------------------------------------------------------
|
|
"----------------------------------------------------------------------------------
|
|
"----------------------------------------------------------------------------------
|
|
|
|
set showcmd " Show (partial) command in status line.
|
|
set showmatch " Show matching brackets.
|
|
set ignorecase " Do case insensitive matching
|
|
set smartcase " Do smart case matching
|
|
set incsearch " Incremental search
|
|
set autowrite " Automatically save before commands like :next and :make
|
|
set hidden " Hide buffers when they are abandoned
|
|
|
|
|
|
"----------------------------------------------------------------------------------
|
|
"----------------------------------------------------------------------------------
|
|
"----------------------------------------------------------------------------------
|
|
|
|
inoremap jk <ESC>
|
|
syntax on
|
|
set background=dark
|
|
|
|
"----------------------------------------------------------------------------------
|
|
"----------------------------------------------------------------------------------
|
|
"----------------------------------------------------------------------------------
|
|
|
|
call plug#begin()
|
|
|
|
" syntax highlighting for many languages
|
|
Plug 'sheerun/vim-polyglot'
|
|
|
|
call plug#end() |