5

In Notepad++ I can use the hotkey Alt+5 to minimize all the first child blocks (the little boxes with +/-). Does Geany have a way to do this?

If not, is there a plugin that will let me create this functionality?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
sam-6174
  • 3,104
  • 1
  • 33
  • 34
  • just a note that **Alt+1** thru **Alt+8** minimze blocks in Notepad++, so if you mention "1st child blocks", generally they get collapsed by **Alt+8** – miroxlav Apr 11 '14 at 20:07

1 Answers1

4

In Geany, only three folding keyboard shortcuts are assignable:

enter image description here

(Maybe you can consider returning to good old Notepad++ :)

miroxlav
  • 11,796
  • 5
  • 58
  • 99
  • 1
    I would, but I don't want to run it through Wine since that brings its own intricacies. Geany seems to have everything of N++ except sub-folding - there's even a N++ color scheme! – sam-6174 Apr 11 '14 at 23:49
  • OK, then simply put, the answer is that folding functionality of sublevels cannot be easily achieved in Geany. – miroxlav Apr 12 '14 at 00:04
  • I'm marking this as the answer. Although if you could point me in the right direction of the hard way to implement this, it would be much appreciated. – sam-6174 Apr 12 '14 at 00:07
  • 1
    Please see [the Geany wishlist](http://www.geany.org/Support/PluginWishlist) - the idea is there already, 6th from the top. Obviously you are not the only one who is missing it so there is a good chance it will be added soon. Regarding your own implementation, you can first check [Geany sources](http://www.geany.org/Download/Releases#source) and tell how do you feel about implementing anything in there. – miroxlav Apr 12 '14 at 00:13
  • 1
    Quick update. I've found that the "Numbered Bookmarks" geany plugin is the best alternative... it allows you to save the folding status for your files. – sam-6174 Apr 24 '14 at 17:32