Discussion:
a GUI minimap, like Sublime Text
Penn Su
2014-04-12 20:51:26 UTC
Permalink
Instead of a minimap that does nothing except a glorified scrollbar in my
opinion, why not think of a better way to jump between places in a large
file?

vim will be mainly keyboard based, so I would suggest to have something
similar to easymotion.vim (https://github.com/Lokaltog/vim-easymotion) to
display a visual overview of all motion commands for lines out of screen to
jump to or anything similar to that.
I've always been interested in getting a minimap a la Sublime Text into
Vim's GUI. (Could be an interesting shiny-new-feature for promoting
neovim.) There's a plugin out there that gets a few features working (
https://github.com/koron/minimap-vim), but I figured a good
implementation would always have to be built into the GUI itself. I'm
wondering if anyone working on the new Qt UI has thought about adding in
this feature? I'd be interested in helping with it.
Jack O'Connor
https://github.com/oconnor663
--
You received this message because you are subscribed to the Google Groups "neovim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neovim+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Joseph Orbegoso Pea
2015-08-27 22:18:25 UTC
Permalink
Easymotion only works on the parts of the text that are visible. IMHO, a
minimap is incredibly powerful because it gives you extra mental ability to
know where in a file you are based on the visual shape of the code. With
large files, this can be helpful to people who are more visually inclined.

(Some people learn visually, others don't. Some people like to use buffer
navigation for everything and store a mental map of everything mentally,
others don't).

Adding a minimap will provide an amazing way of navigating for some people,
and that coupled with Vim's already amazing keyboard-based navigation can
be really powerful.

For example, imagine holding ctrl+f to move forward page by page rapidly.
With a minimap, you can now estimate when to let go of ctrl+f when you see
in the minimap that the window approaches your destination.

I use Easymotion, but I'd also love to have a minimap.
Post by Penn Su
Instead of a minimap that does nothing except a glorified scrollbar in my
opinion, why not think of a better way to jump between places in a large
file?
vim will be mainly keyboard based, so I would suggest to have something
similar to easymotion.vim (https://github.com/Lokaltog/vim-easymotion) to
display a visual overview of all motion commands for lines out of screen to
jump to or anything similar to that.
I've always been interested in getting a minimap a la Sublime Text into
Vim's GUI. (Could be an interesting shiny-new-feature for promoting
neovim.) There's a plugin out there that gets a few features working (
https://github.com/koron/minimap-vim), but I figured a good
implementation would always have to be built into the GUI itself. I'm
wondering if anyone working on the new Qt UI has thought about adding in
this feature? I'd be interested in helping with it.
Jack O'Connor
https://github.com/oconnor663
--
You received this message because you are subscribed to the Google Groups "neovim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neovim+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Oliver Berger
2015-08-28 10:38:26 UTC
Permalink
There is also https://github.com/majutsushi/tagbar for getting an overview
of your file
--
You received this message because you are subscribed to the Google Groups "neovim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neovim+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...