5 ms·
I love org mode (with evil for vim goodness), but the one problem I really wish was easier is image support. Also sometimes a few missed key strokes can really
by roland35 7y ago
I love org mode (with evil for vim goodness), but the one problem I really wish was easier is image support. Also sometimes a few missed key strokes can really screw up a document! My normal mistake is hitting "J" instead of "j" (vim command for combining the next two lines vs just navigating down one line).
I am always interested in seeing what else is out there for organizing, glad to see org mode is still popular!
- corney91 7y agoI've tried Org+Evil a couple of times and really liked it, but missing key strokes always make me go back to Vim+Markdown. If I mistype something in Vim it's trivial to undo/redo to get where I need to be, but I never managed to get my head around the Emacs undo behaviour and that just scared me away.
- dan-robertson 7y agoIf you don’t use undo-tree then emacs undo works like this: 1. You have a linked list of states with your current state: A->B->C->D->(E) 2. Pressing undo moves you to earlier states. Once: A->B->C->(D)->E Twice: A->B->(C)->D->E Doing anything that isn’t undoing again will add your undoings to the history: A->B->C->D->E->D->(C) So now when you undo you in some sense redo what you had preciously undone, then undo it again, then undo further. The advantage is that you never lose history by undoing. The disadvantage is that it can be confusing. Undo in region complicates this.
- corney91 7y agoThanks for the explanation, that makes sense. Good to know that states A and B are still accessible, I remember thinking they'd disappeared forever. Next time I try emacs (no doubt there'll be a next time!) I'll bear this in mind.
- aasasd 7y agoI'd consider using undo-tree instead. First, it might make more sense. Second, afaik Vim has about the same model (haven't used it in a while though). Undo-tree's navigation interface isn't a pinnacle of intuitiveness, however.
- dan-robertson 7y agoThe tree in vim is weird and hidden. Basically there is an operation to go from a state to the state from which it was derived (“up the tree”) and an operation to go forward/backward in time (of state creation), which is basically navigation in changenum space. Ie if you make some changes: A -> B -> C -> D Undo: A -> B Make some other changes: A -> B -> E Then undo takes you up the ABE chain but if you use g- and g+, you navigate through the list ABCDE
- aasasd 7y ago> g- and g+ Those are the operations, yeah! They went a long way for me. I think there's also a command or a third-party addon to see the undo states, in the undo-tree spirit—but surprisingly I've never needed it.
- BeetleB 7y agoWhat would you like to see for image support?
- lappa 7y ago>I love org mode (with evil for vim goodness), but the one problem I really wish was easier is image support. Yes, inline images are an important part of rich documents. I'm not sure what you're looking for in terms of images, but I've written this function which allows you to paste images directly from the clipboard into documents: https://paste.debian.net/plain/1144961 https://paste.debian.net/plain/1144961