4 ms·
i sometimes need to use the split window to show me 2 or 3 code chunks that are sequential, so that they scroll together. i mean, not 3 different, distant part
by fedd 15y ago
i sometimes need to use the split window to show me 2 or 3 code chunks that are sequential, so that they scroll together.
i mean, not 3 different, distant parts of a document, but like one longer part of a document, where a core function with several recursions and nested loops is defined, in many lines, and i want to see them all.
usually i print them out and then inspect.
is there any editor to do this? maybe chocolat will?..
- mechanical_fish 15y agoEmacs. You're looking for follow-mode: http://www.gnu.org/software/emacs/manual/html%5Fnode/emacs/Follow-Mode.html http://www.gnu.org/software/emacs/manual/html%5Fnode/emacs/F... The ability to edit the same file (or, in emacs terms, "buffer") in two or more windows is a killer feature.
- llimllib 15y agoIn Vim, you want scrollbinding: http://vim.wikia.com/wiki/Scrolling_synchronously http://vim.wikia.com/wiki/Scrolling_synchronously
- etcet 15y agoRelevant HN post: http://news.ycombinator.com/item?id=2797790 http://news.ycombinator.com/item?id=2797790