Skip to content

Instantly share code, notes, and snippets.

@tbeckr
Created October 30, 2019 18:47
Show Gist options
  • Select an option

  • Save tbeckr/5732bd2deab89eab4a3d2e7d395100a0 to your computer and use it in GitHub Desktop.

Select an option

Save tbeckr/5732bd2deab89eab4a3d2e7d395100a0 to your computer and use it in GitHub Desktop.
syntax on
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'scrooloose/nerdtree'
Plugin 'scrooloose/syntastic'
Plugin 'jesseleite/vim-noh'
Plugin 'itchyny/lightline.vim'
Plugin '907th/vim-auto-save'
Bundle 'OmniSharp/omnisharp-vim'
Plugin 'pangloss/vim-javascript'
Plugin 'leafgarland/typescript-vim'
Plugin 'junegunn/fzf'
Plugin 'doums/darcula'
call vundle#end() " required
filetype indent on
colorscheme darcula
set tabstop=4
set shiftwidth=4
set autoindent
set expandtab
set number
set showcmd
set cursorline
set wildmenu
set lazyredraw
set showmatch
set incsearch
set hlsearch
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
set go-=T
"Syntastic"
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_python_flake8_args='--ignore=F821,E302,E501,W291,W293'
let g:syntastic_java_checkers = []
let g:syntastic_cs_checkers = ['code_checker']
let g:syntastic_javascript_checkers = ['standard']
let g:syntastic_javascript_standard_exec = 'happiness'
let g:syntastic_javascript_standard_generic = 1
"Autosave"
let g:auto_save = 0
"You Complete Me"
let g:ycm_autoclose_preview_window_after_completion = 1
let g:ycm_key_list_select_completion = ['<TAB>', '<Down>', '<Enter>']
"DBG Vim"
let g:dbg#command_shell = 'bash'
let g:dbg#shell_prompt = '>'
let g:dbg#command_jdb = 'jdb'
"OmniSharp"
let g:OmniSharp_selector_ui = 'ctrlp'
let g:OmniSharp_highlight_types = 2
let g:ctrlp_working_path_mode = 'ra'
"Remove search highlight"
map <C-o> :NERDTreeToggle<CR>
nnoremap <leader>cd :cd %:p:h<CR>:pwd<CR>
set runtimepath+=~/.vim-plugins/LanguageClient-neovim
set runtimepath+=~/.vim/bundle/YouCompleteMe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment