New answers tagged


@Zeta's answer/comment helped me come up with this solution (copied from this duplicate question): C-x C-z will suspend the frame and return you to the shell. C-z as you mention toggles evil mode on/off. I swap their behavior in evil like so: (define-key evil-motion-state-map (kbd "C-z") 'suspend-frame) (define-key evil-emacs-state-map (kbd "C-...


You’re currently positioned inside the folded text. Visually the cursor is drawn on the same line as the headline, but that’s slightly misleading. Also, the three dots indicating that something is folded aren’t really part of the document; they’re just an overlay. You can’t position the cursor within it, only before or after it. As I understand it, character ...


From the doc: (evil-next-visual-line &optional COUNT) Move the cursor COUNT screen lines down. Since lots of evil commands take an optional count (usually provided with digit-argument), you can write one easily like this: (define-key evil-normal-state-map (kbd "J") (lambda nil (interactive) (evil-next-visual-line 5)))


It's ] ] to go forward a section and [ [ to go back one. You can also use C-f and C-b to scroll up and down pages. I've found using marks to be helpful, you set them with m and go to them with ' or ] '. Those might be worth looking into.

Top 50 recent answers are included