https://github.com/maxmellon/ramda.vim
[WIP] Support your functional programming by Vim script.
https://github.com/maxmellon/ramda.vim
Last synced: 4 months ago
JSON representation
[WIP] Support your functional programming by Vim script.
- Host: GitHub
- URL: https://github.com/maxmellon/ramda.vim
- Owner: MaxMEllon
- License: mit
- Created: 2017-10-19T17:43:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-31T02:13:53.000Z (over 8 years ago)
- Last Synced: 2025-10-04T00:52:41.156Z (9 months ago)
- Language: Vim script
- Homepage:
- Size: 68.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Ramda.vim
---
[](https://travis-ci.org/MaxMEllon/Ramda.vim)
[](https://circleci.com/gh/MaxMEllon/Ramda.vim)
[](https://ci.appveyor.com/project/MaxMEllon/ramda-vim)

[](LICENSE)
[](./doc/ramda.txt)
About
---
This plugin is inspired by [Underscore.vim](https://github.com/haya14busa/underscore.vim) and [Ramda](http://ramdajs.com).
Ramda.vim support your functional programming by Vim script.
Installation
---
[Neobundle](https://github.com/Shougo/neobundle.vim) / [Vundle](https://github.com/gmarik/Vundle.vim) / [vim-plug](https://github.com/junegunn/vim-plug)
1. Install [vital.vim](https://github.com/vim-jp/vital.vim) and Ramda.vim with any plugin manager.
```vim
NeoBundle 'vim-jp/vital.vim'
NeoBundle 'MaxMEllon/Ramda.vim'
Plugin 'vim-jp/vital.vim'
Plugin 'MaxMEllon/Ramda.vim'
Plug 'vim-jp/vital.vim'
Plug 'MaxMEllon/Ramda.vim'
```
2. Embed Ramda.vim into your plugin with :Vitalize.
```vim
:Vitalize . --name={plugin_name} Ramda
```
3. Import Ramda.vim in your plugins.
```vim
let s:V = vital#of('vital')
let s:R = s:V.import('Ramda').new()
echo s:R.pipe(s:R.map({ v -> v + 2 }), s:R.filter({ v -> 4 <= v }))([1, 2, 3])
" => [4, 5]
```
Requirements
---
- Vim 8.0.0039 or above. (need `has('lambda')`)
Auther
---
- MaxMEllon (https://github.com/MaxMEllon)
LICENSE
---
- MIT License