Skip to content

Instantly share code, notes, and snippets.

@mtusman
Created September 29, 2020 13:24
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 mtusman/eedc4887cb3bbb38122d2cccbbdea6dc to your computer and use it in GitHub Desktop.
Save mtusman/eedc4887cb3bbb38122d2cccbbdea6dc to your computer and use it in GitHub Desktop.
set nocompatible " be iMproved, required
filetype off " required
let g:dracula_italic = 0
set termguicolors
" This is only necessary if you use "set termguicolors".
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
" fixes glitch? in colors when using vim with tmux
set background=dark
set t_Co=256
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" custom plugins
Plugin 'scrooloose/nerdtree'
Plugin 'dracula/vim', { 'name': 'dracula' }
Plugin 'airblade/vim-gitgutter'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" custom config
set number
syntax on
colorscheme dracula
set relativenumber
set cursorline
" other configs
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif " open NERDTree automatically
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment