Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hasufell/ghcup.vim
Vim plugin for GHCup
https://github.com/hasufell/ghcup.vim
haskell vim vim-plugin
Last synced: 23 days ago
JSON representation
Vim plugin for GHCup
- Host: GitHub
- URL: https://github.com/hasufell/ghcup.vim
- Owner: hasufell
- License: mit
- Created: 2020-08-23T11:47:49.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-23T12:44:40.000Z (about 4 years ago)
- Last Synced: 2024-05-01T21:41:46.323Z (6 months ago)
- Topics: haskell, vim, vim-plugin
- Language: Vim script
- Homepage:
- Size: 277 KB
- Stars: 17
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ghcup.vim
Vim plugin to use [GHCup](https://gitlab.haskell.org/haskell/ghcup-hs) from within vim buffers.
* Seamless switching between Vim and GHCup
* Support Vim8 / NeoVim terminalCode and ideas inspired from [tig-explorer](https://github.com/iberianpig/tig-explorer.vim).
![GHCup](./ghcup.vim.gif)
## Requirement
* [GHCup](https://www.haskell.org/ghcup/)
## Installation
```vim
" 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
" vim-plug
Plug 'rbgrouleff/bclose.vim'" NeoBundle
NeoBundle 'rbgrouleff/bclose.vim'
```## Usage
### Keymap on Vim
Add following script to ~/.vimrc
```vim
" open ghcup in the current buffer
nnoremap g :GHCup
```