Last active
September 1, 2018 18:57
-
-
Save souhaiebtar/d6d246b3e038abf26e72be5f113ace75 to your computer and use it in GitHub Desktop.
vim default config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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