Vim plugin to use GHCup from within vim buffers.
- Seamless switching between Vim and GHCup
- Support Vim8 / NeoVim terminal
Code and ideas inspired from tig-explorer.
" vim-plug
Plug 'hasufell/ghcup.vim'
" NeoBundle
NeoBundle 'hasufell/ghcup.vim'
NOTE: If you use Neovim, you have to add the dependency to the plugin bclose.vim:
" vim-plug
Plug 'rbgrouleff/bclose.vim'
" NeoBundle
NeoBundle 'rbgrouleff/bclose.vim'
Add following script to ~/.vimrc
" open ghcup in the current buffer
nnoremap <Leader>g :GHCup<CR>