Skip to content

Instantly share code, notes, and snippets.

@jlstr jlstr/vimrc.txt Secret
Created Jul 15, 2016

Embed
What would you like to do?
My current .vimrc file
set exrc
set secure
"options required by bundle
set nocompatible
filetype off
" show line numbers
set number
"set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
"Vundle plugins block
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'Valloric/YouCompleteMe'
call vundle#end()
"another option required by Vundle
filetype plugin indent on
"Vim thematization options
set background=dark
colorscheme dracula
"preserve relative indentation
filetype plugin indent on
set expandtab
set shiftwidth=2
set softtabstop=2
"Open file Explorer correctly
command! -nargs=* -bar -bang -count=0 -complete=dir E Explore <args>
" Indent line
let g:indentLine_color_gui = '#a4e57e'
let g:indentLine_enabled = 0
" font size
set guifont=Monaco:h11
let $PATH = '/usr/local/bin:'.$PATH
let g:ycm_confirm_extra_conf = 0
let g:ycm_global_ycm_extra_conf = "~/.vim/.ycm_extra_conf.py"
let g:ycm_min_num_of_chars_for_completion = 1
let g:ycm_autoclose_preview_window_after_completion = 1
let g:ycm_autoclose_preview_window_after_insertion = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.