Skip to content

Instantly share code, notes, and snippets.

@mhakeem
Created December 7, 2015 12:40
Show Gist options
  • Select an option

  • Save mhakeem/60322b35b98ec4ba26f2 to your computer and use it in GitHub Desktop.

Select an option

Save mhakeem/60322b35b98ec4ba26f2 to your computer and use it in GitHub Desktop.
Vim config file after installing Janus
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment