You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
487 B
25 lines
487 B
3 years ago
|
use vim to pointfree your haskell functions
|
||
|
|
||
|
---
|
||
|
|
||
|
### Installation
|
||
|
|
||
|
vim-pointfree depends on
|
||
|
[pointfree](https://hackage.haskell.org/package/pointfree), so make sure that
|
||
|
it is installed and available in your $PATH.
|
||
|
|
||
|
To install using vim-plug:
|
||
|
|
||
|
```viml
|
||
|
Plug 'm00qek/vim-pointfree'
|
||
|
```
|
||
|
|
||
|
### Configuration
|
||
|
|
||
|
add something like the following on your vimrc
|
||
|
|
||
|
```viml
|
||
|
nnoremap <silent> <Leader>. :call pointfree#suggestions()<CR>
|
||
|
vnoremap <silent> <Leader>. :call pointfree#selection()<CR>
|
||
|
```
|