Underscore.vim

Alex R. Young
usevim
Published in
1 min readMay 5, 2015

Underscore.vim (GitHub: haya14busa/underscore.vim, License: MIT) by haya14busa is a library of functional programming helpers for Vim:

echo s:_.reject([1, 2, 3, 4, 5, 6], 'v:val % 2 == 0')
" => [1, 3, 5]

It’s inspired by Underscore.js, but also lodash which I always felt was more “functional” than Underscore. There are a lot of functions in the library — take a look at the documentation to find each one.

--

--