3 ms·
Thanks for this link. For some reason, neither helm, ivy or selectrum allows to open a candidate buffer / file in either the current buffer, a vertical or hori
by jeromenerf 6y ago
Thanks for this link.
For some reason, neither helm, ivy or selectrum allows to open a candidate buffer / file in either the current buffer, a vertical or horizontal split window, like what I have grown an addiction for with fzf.vim.
As I have also grown an addiction to org mode, emacs ergonomics always feel weird to me, even with evil mode.
Selectrum seems to explicitly exclude "alternate actions" :(
- hsitz 6y agoOrg-mode is another package that is due to "non-professional" developers. Carsten Dominik, the original creator of org-mode, is a professor of astronomy. [1] A lot of people who've contributed to org-mode are academics in fields other than computer science. Not as unrelated as mountain guides, but certainly not professional developers. [1] https://staff.fnwi.uva.nl/c.dominik/ https://staff.fnwi.uva.nl/c.dominik/
- jorams 6y ago> For some reason, neither helm, ivy or selectrum allows to open a candidate buffer / file in either the current buffer, a vertical or horizontal split window, like what I have grown an addiction for with fzf.vim. I use ivy and counsel, and both counsel-find-file and ivy-switch-buffer offer the alternate action "other window" under M-o j. I'm not sure if that covers your entire use-case, but it works fine for me.
- jeromenerf 6y agoThanks, I have found this "menu", but it felt awkward and limited to either horizontal or vertical. I have come to split first and search second. It’s all about personal preferences.
- githubalphapapa 6y agoBeing Emacs, it's just a matter of customization. In your example, it would probably be enough to apply advice to one of the Ivy functions to split the window appropriately when a candidate is selected. A few lines of code.
- jeromenerf 6y ago> being emacs ... customization ... a few lines of code I see where you are heading and I am not following you in this rabbit hole ;) I came to use emacs for org mode, when what I really wanted was to use org mode in vim. We can’t have All the nice things, so it’s okay, I’ll live with that. I actually found out I could use emacs as a "org mode beautifier" in neoformat.vim; it is slow, but it can tangle the org file and output back to vim. Good enough.