This implements some functionality of https://github.com/kien/ctrlp.vim
Note to self: there's already readLnB :: BufferM String in Yi.Buffer.Highlevel, no need to invent getLine :: BufferM String
readLnB :: BufferM String
getLine :: BufferM String
Fuzzy open action for yi (like ctrlp or command-t for vim)
Some documentation for Yi.FuzzyOpen
Simplify Yi.Completion.subsequenceMatch to return Bool instead of unn…
…eeded Maybe String.
Use readLnB instead of reimplementing it.
Move BufferM action for replacing character under cursor to Yi.Buffer…
Move textChar from Yi.Keymap.Vim to Yi.Keymap.Keys for reuse.
Fix FuzzyOpen choosing always the first match instead of selected.
Some TODOs for FuzzyOpen.
Closing for resubmission
Oh, github is kind enough to catch all the commits in the same branch. I guess no need to make another pull request then.
Fix missing import.
Bug: ^j is opening the first match in current tab.
Feature request: Not sure if good idea, but in command-t ^j, ^k works as ^n and ^p. At least add binding support for this actions.
^j is always treated as Enter, I don't know why. Looks like It happens anywhere in yi, so it's not a bug of fuzzyopen.
^k is already bound to standard readline-like "delete from cursor to EOL". I'd rather not change it to "move down".