Skip to content

Instantly share code, notes, and snippets.

@souhaiebtar
Last active September 1, 2018 18:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save souhaiebtar/d6d246b3e038abf26e72be5f113ace75 to your computer and use it in GitHub Desktop.
Save souhaiebtar/d6d246b3e038abf26e72be5f113ace75 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment