Hi again (and sorry for the spam),

I just noticed that Ctrl+Up/Down is already used for the next / previous /physical/ line, as created by hits of the return key, while Up/Down moves between /visual/ lines, as created by either hits of the return key /or/ word wrap at the window boundary. Ctrl+Up/Down is also called "next / previous /paragraph/" somewhere.

Not sure if anyone uses this feature, though.

Best, Steffen

On 10/31/16 10:21, Steffen Schuldenzucker wrote:

Hi Johannes,

Thanks a lot for your plugin.
Regarding keyboard shortcuts, I always loved the way workflowy [1] does it and I had the idea of copying part of its functionality into ZIM. I think your plugin brings us fairly close already.

Workflowy uses the following shortcuts (but I'm happy with Ctrl+Up/Down, too; emphasis and comments added by me)

Zoom in (hoist)
        Alt + Right
Zoom out (de-hoist)
        Alt + Left
Expand / collapse       Control+ Down/Up
Indent  Tab
Outdent         Shift + Tab
(or press Enter on an empty line)
*Move*  *Alt****+ Shift + Up/Down*
/*Indent / Outdent
*/      /*  Alt*//**//*+ Shift + Left/Right*/
*Add a note /(body text)/
*       *Shift + Enter*
Complete        Control+ Enter
*Delete*        *Control****+ Shift +****Backspace*
Search  Escape
Show/hide completed     Control+ O
Star page       Control+ Shift +∗
Switch between pages    Control+ ;
(holdControlwhile switching)
Bold / italic / underline       Control+ B/I/U
Keyboard shortcuts      Control+ ?


Best, Steffen

[1] A text-only, rather minimalist outline editor with hoisting and a beautiful UI.
https://workflowy.com/

On 10/29/16 19:41, Jaap Karssenberg wrote:
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 <m...@johannes-kirschner.de <mailto:m...@johannes-kirschner.de>> 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
    <https://launchpad.net/%7Ezim-wiki>
    >>> Post to     : zim-wiki@lists.launchpad.net
    <mailto:zim-wiki@lists.launchpad.net>
    >>> Unsubscribe : https://launchpad.net/~zim-wiki
    <https://launchpad.net/%7Ezim-wiki>
    >>> More help   : https://help.launchpad.net/ListHelp
    >>
    >> _______________________________________________
    >> Mailing list: https://launchpad.net/~zim-wiki
    <https://launchpad.net/%7Ezim-wiki>
    >> Post to     : zim-wiki@lists.launchpad.net
    <mailto:zim-wiki@lists.launchpad.net>
    >> Unsubscribe : https://launchpad.net/~zim-wiki
    <https://launchpad.net/%7Ezim-wiki>
    >> More help   : https://help.launchpad.net/ListHelp
    >
    >


    _______________________________________________
    Mailing list: https://launchpad.net/~zim-wiki
    <https://launchpad.net/%7Ezim-wiki>
    Post to     : zim-wiki@lists.launchpad.net
    <mailto:zim-wiki@lists.launchpad.net>
    Unsubscribe : https://launchpad.net/~zim-wiki
    <https://launchpad.net/%7Ezim-wiki>
    More help   : https://help.launchpad.net/ListHelp



_______________________________________________
Mailing list:https://launchpad.net/~zim-wiki
Post to     :zim-wiki@lists.launchpad.net
Unsubscribe :https://launchpad.net/~zim-wiki
More help   :https://help.launchpad.net/ListHelp


_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to