souhaiebtar
7/15/2018 - 7:48 PM

vim default config

vim default config

call plug#begin('~/.vim/plugged')

" Plugins go here
Plug 'sickill/vim-monokai'
Plug 'tpope/vim-sensible'
Plug 'ekalinin/Dockerfile.vim'
Plug 'mattn/vim-fz'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'scrooloose/nerdtree'
call plug#end()

syntax enable
color monokai
set cursorline
set expandtab
set modelines=0

set number
set encoding=utf-8
set showcmd                     " display incomplete commands
filetype plugin indent on       " load file type plugins + indentation

"" Whitespace
set nowrap                      " don't wrap lines
set tabstop=2 shiftwidth=2      " a tab is two spaces (or set this to 4)
set expandtab                   " use spaces, not tabs (optional)
set backspace=indent,eol,start  " backspace through everything in insert mode
"" Searching
set hlsearch                    " highlight matches
set incsearch                   " incremental searching
set ignorecase                  " searches are case insensitive...
set smartcase                   " ... unless they contain at least one capital letter
set splitbelow					" open split in below