Skip to content

Instantly share code, notes, and snippets.

@mhakeem
Created December 7, 2015 12:40
Show Gist options
  • Save mhakeem/60322b35b98ec4ba26f2 to your computer and use it in GitHub Desktop.
Save mhakeem/60322b35b98ec4ba26f2 to your computer and use it in GitHub Desktop.

Revisions

  1. mhakeem created this gist Dec 7, 2015.
    46 changes: 46 additions & 0 deletions .vimrc.after
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,46 @@
    syntax enable

    filetype plugin on
    set omnifunc=syntaxcomplete#Complete

    " Setttings for solarized
    let g:solarized_termcolors=256
    set t_Co=256
    set background=dark
    colorscheme solarized
    "color default

    " uncomment to use molokai color scheme
    " color molokai

    set encoding=utf-8

    let g:SuperTabDefaultCompletionType = "<C-X><C-O>"
    let g:SuperTabDefaultCompletionType = "context"

    " disable auto-commenting for a new line after a comment
    autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o

    " settings for airline
    set laststatus=2
    let g:airline#extensions#tabline#enabled = 1
    let g:airline_powerline_fonts = 1
    " uncomment to add gui font for gvim or MacVim
    " set guifont=Ubuntu\ Mono\ derivative\ Powerline:h15

    " powerline symbols
    let g:airline_left_sep = ''
    let g:airline_left_alt_sep = ''
    let g:airline_right_sep = ''
    let g:airline_right_alt_sep = ''
    let g:airline_symbols.branch = ''
    let g:airline_symbols.readonly = ''
    let g:airline_symbols.linenr = ''

    " Emmet config
    let g:user_emmet_install_global = 0
    autocmd FileType html,css EmmetInstall " only html/css files

    " Uncomment if using rsense
    " let g:rsenseHome = "/opt/rsense-0.3/"
    " let g:rsenseUseOmniFunc = 1