← Back to team overview

zim-wiki team mailing list archive

Re: Move line up/down functionality

 

Hi Johannes,

Patch looks good, so want to merge it. Just one question about the key
bindings you choose, is there a specific rationale for these specific keys
(other tools that use the same, interface guidelines, ...) or did you
choose them on availability ?

Thanks,

Jaap


On Thu, Oct 27, 2016 at 9:46 PM Johannes Kirschner <
mail@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Hi all,
>
> I pushed new changes to the branch. The linesorter plugin now includes a
> delete and duplicate line shortcut. Furthermore the move line up/down
> shortcut works also when multiple lines are selected.
>
> Best,
> Johannes
>
> On 22.10.2016 08:29, Johannes Kirschner wrote:
> > Hi all,
> >
> > thanks for the feedback. So it looks like there is some interest in
> > the feature. Regarding the implementation, for now I will combine the
> > code with the linesorter plugin. Let me know if you have any concerns
> > with that.
> >
> > I will also look into including further features like:
> > - delete line (Thanks to Andrey Bratukhin's branch this is already done)
> > - duplicate line
> > - move multiple selected lines
> >
> > The branch is up on the project homepage. Feel free to check it out
> > and give further comments.
> >
> > Best,
> > Johannes
> >
> >
> > On 16.10.2016 23:21, Marcio Tibirica wrote:
> >> Hi Johannes,
> >>
> >> I would suggest the Move Line feature to be implemented in plugin
> >> format. Maybe the integration with the Line Sorter plugin should be
> >> considered, but this is up to you.
> >>
> >> Maybe you could also consider to add some other line operations which
> >> can make your implementation more universal.
> >> For example:
> >> >Insert blank line
> >> >Duplicate current line
> >> >Delete current line
> >>
> >> Anyway, thank you for your initiative with the Move Line feature. I
> >> am sure it will help many people, I included, to better organize
> >> lists with check-boxes or without.
> >>
> >> Marcio
> >>
> >>
> >> Em 16/10/2016 08:16, Johannes Kirschner escreveu:
> >>> Hi all,
> >>>
> >>> I recently started to use zim to organize my research activity, and I
> >>> like it a lot!
> >>>
> >>> Besides the note taking I am using the checkbox feature to set the
> >>> goals
> >>> for a day or a week, but as things go I often end up reordering
> >>> todos or
> >>> moving points to another day. That's why I am missing a shortcut to
> >>> move
> >>> a line up or down (I use Strg+Up/Down) which is much faster than a
> >>> select-cut-paste.
> >>>
> >>> I have implemented the feature in a new branch. Do you think this is a
> >>> feature of wider interest? I would be happy to prepare the branch for
> >>> merging. Regarding the implementation, should this go in the main code
> >>> or as a separate plugin, similar to the line-sorter plugin (or even as
> >>> part of the line-sorter plugin)?
> >>>
> >>> Best,
> >>> Johannes
> >>>
> >>> _______________________________________________
> >>> Mailing list: https://launchpad.net/~zim-wiki
> >>> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
> >>> Unsubscribe : https://launchpad.net/~zim-wiki
> >>> More help   : https://help.launchpad.net/ListHelp
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~zim-wiki
> >> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~zim-wiki
> >> More help   : https://help.launchpad.net/ListHelp
> >
> >
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~zim-wiki
> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References