Last active
April 12, 2017 14:16
-
-
Save floriangaechter/381e91b10706c8882fb7 to your computer and use it in GitHub Desktop.
My .vimrc
This file contains hidden or 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
set encoding=utf-8 | |
syntax on | |
filetype plugin indent on | |
" I'm sure until here… | |
color seoul256 | |
set background=dark | |
set nobackup | |
set nowritebackup | |
set noswapfile | |
set history=50 | |
set backspace=indent,eol,start | |
set ruler | |
set showcmd | |
set incsearch | |
set laststatus=2 | |
set autowrite | |
set number | |
set linespace=12 | |
set path+=** | |
set wildignore+=*/node_modules/*,*/vendor/* | |
let mapleader=',' | |
"----------Mappings----------" | |
nmap <Leader>ev :tabedit $MYVIMRC<cr> | |
"----------Auto-Commands---------" | |
augroup reload_vimrc " { | |
autocmd! | |
autocmd BufWritePost $MYVIMRC source $MYVIMRC | |
augroup END " } | |
" Specify the directory for plugins | |
call plug#begin('~/.vim/plugged') | |
Plug 'junegunn/vim-easy-align' | |
Plug 'ctrlpvim/ctrlp.vim' | |
Plug 'junegunn/seoul256.vim' | |
call plug#end() | |
" ctrlp config | |
let g:ctrlp_map = '<leader>f' | |
let g:ctrlp_max_height = 30 | |
let g:ctrlp_working_path_mode = 0 | |
let g:ctrlp_match_window_reversed = 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment