What are you working on? - Programming On Unix
Users browsing this thread: 4 Guest(s)
|
|||
First: it is still some half-baked draft.
I am learning a few C. I am trying to do some dmenu-style tool for the terminal. It is really not the first time that someone try: - fzf (go): https://github.com/junegunn/fzf - fzy (C, that I use): https://github.com/jhawthorn/fzy - peax (awk): https://github.com/josuah/Config/blob/87...e/bin/peax - vis-menu (C, fork of slmenu): https://github.com/martanne/vis/blob/master/vis-menu.c - slmenu (C, fork from dmenu): https://bitbucket.org/rafaelgg/slmenu/ - pick (C, from thoughbot): https://github.com/thoughtbot/pick - pick (C, from calleerlandsson): https://github.com/calleerlandsson/pick - selecta (ruby): https://github.com/garybernhardt/selecta - ivy (emacs lisp, emacs-only): https://github.com/abo-abo/swiper And a lot more, in a lot more languages... This one will not be fuzzy, but in the future, spaces will be treated as wildchars. It purpose is to get the whole vimperator completion workflow: 1. Start to type to match a command and get grayed completion after the input; 2. Tab to complete; 3. Space to select the command and start to type the next; 4. Have comments at the end of the lines, describing what each command does; 5. Different sections (I call them headers) from different kind of completions, all at the same time; Any other command can not have 'space' as a key to validate a command. And none can have headers or comments. I also want to bring the Swiper workflow from emacs: have the lines from vim buffer filtered out in a completion engine like this one, and each time I move up or down in it, jump to the corresponding line in the vim window accordingly. https://github.com/abo-abo/swiper I only spent a day writing it, so I am far from finishing it! If curious, maybe you can compile it and get a segfault at http://github.com/josuah/iomenu |
|||