Skip to content

edittools: add plugin

Mark Nauwelaerts requested to merge mnauwelaerts/kate:plugin_edittools into master

As mentioned in !145 (merged) this plugin adds a "history location list" (per view). So if a jump occurs by any means (LSP goto symbol, CTags goto, etc), then the previous position is tracked and can be returned to. Note that the list of positions and navigating back and forth in it is per view rather than global. That allows for 2-dimensional navigation; moving to another view/document is by one's own choice (and the history there is typically tracked by the Document switcher plugin). Simply put; if a GoTo leads to another document, then a document switch (to the previous one) gets you back. If it was within the same document, then a "go back" (in this history list) gets you back. It also avoids jumping around documents when one is just interested in moving around the "interesting locations" in present document.

Besides this history location, it also has some other miscellaneous thingies,

  • moving/selecting back/forward over parts of word (e.g. camelCase based, rather than the whole word)
  • rewrap a paragraph's text (= select paragraph + join lines action + wrap)

Merge request reports

Loading