Skip to content

Instantly share code, notes, and snippets.

@devinus
Created April 29, 2022 10:54
Show Gist options
  • Save devinus/1c0dc41da5c5df1b6be66bb8f8940d95 to your computer and use it in GitHub Desktop.
Save devinus/1c0dc41da5c5df1b6be66bb8f8940d95 to your computer and use it in GitHub Desktop.
if &compatible
set nocompatible
endif
function! PackInit() abort
packadd minpac
call minpac#init()
call minpac#add('k-takata/minpac', {'type': 'opt'})
call minpac#add('tpope/vim-sensible')
call minpac#add('vim-airline/vim-airline')
call minpac#add('vim-airline/vim-airline-themes')
call minpac#add('ryanoasis/vim-devicons')
call minpac#add('scrooloose/nerdtree')
call minpac#add('ctrlpvim/ctrlp.vim')
call minpac#add('lotabout/skim.vim')
endfunction
command! PackUpdate source $MYVIMRC | call PackInit() | call minpac#update()
command! PackClean source $MYVIMRC | call PackInit() | call minpac#clean()
command! PackStatus packadd minpac | call minpac#status()
command! -bang -nargs=* Ag call fzf#vim#ag_interactive(<q-args>, fzf#vim#with_preview('right:50%:hidden', 'alt-h'))
command! -bang -nargs=* Rg call fzf#vim#rg_interactive(<q-args>, fzf#vim#with_preview('right:50%:hidden', 'alt-h'))
set title
set mouse=a
let g:airline_powerline_fonts = 1
let g:indentLine_setColors = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment