1. 10 Feb, 2016 7 commits
    • Jacek Sowiński's avatar
      02529bdf
    • Jacek Sowiński's avatar
      Wait for further input for 'pri' and 'postpone' · 05575871
      Jacek Sowiński authored
      This way user can type offsets and priorities at ease without rush.
      05575871
    • Jacek Sowiński's avatar
      Add new keymap prefix to force cmd output verbose · 2057dcae
      Jacek Sowiński authored
      From now on user have the choice whether he/she wants the command linked
      to key output anything or not. Commands prefixed with 'cmdv' will output
      to terminal, while those prefixed with 'cmd' will remain silent.
      
      Example:
      ========
      
      ```ini
      [column_keymap]
      x = cmd do {}
      ls = cmdv ls
      ga = cmdv ls -i {}
      
      Credits to @bram85 for the idea.
      2057dcae
    • Jacek Sowiński's avatar
      Correctly recognize special keys in key-shortcuts · d6f2a9a5
      Jacek Sowiński authored
      Special keys in config should follow similiar syntax to that used in
      vim:
      
      left arrow = `<Left>`
      right arrow = `<Right>`
      page down = `<Page down>`
      home = `<Home>`
      esc = `<Esc>`
      F4 = `<F4>`
      Ctrl+s = `<C-s>`
      Meta+k = `<M-k>`
      
      Examples:
      =========
      
      ```ini
      [column_keymap]
      <Left> = prev_column
      <Right> = next_column
      <Esc>k = home
      <C-s> = tag {} foo 1
      <M-s> = tag {} foo
      ```
      d6f2a9a5
    • Jacek Sowiński's avatar
      Give access to keymap of "column_actions" · 52a04262
      Jacek Sowiński authored
      Action names and default config for them:
      
      ```ini
      [column_keymap]
      0 = first_column
      $ = last_column
      h = prev_column
      l = next_column
      A = append_column
      I = insert_column
      E = edit_column
      D = delete_column
      Y = copy_column
      L = swap_left
      R = swap_right
      ```
      52a04262
    • Jacek Sowiński's avatar
      84110a3c
    • Jacek Sowiński's avatar
      Configurable keymap · 2ece2812
      Jacek Sowiński authored
      User can now specify key-shortcuts in main topydo config file under
      'column_keymap' section in form of:
      
      `<SHORTCUT> = <ACTION>`
      
      Two main types of action are supported:
      - built-in (one of: 'home', 'end', 'up', 'down', 'postpone', 'postpone_s'
        and 'pri')
      - topydo commands (aliases included). Prefixed with 'cmd'. Commands to
        call on selected todo item should contain '{}' placeholder to mark its
        place in final command call in similiar fashion as in aliases
        definitions.
      
      postpone, postpone_s and pri shortcuts are sort of prefixes for
      arguments for respective topydo commands triggered on selected todo item:
      - `postpone<COUNT><PERIOD>` will translate to `cmd postpone {}
        <COUNT><PERIOD>`. postpone_s will do the same but with '-s' flag
        added.
      - `pri<PRIORITY>` will translate to `cmd pri {} <PRIORITY>`
      
      Default config as an example:
      
      ```ini
      [column_keymap]
      gg = home
      G = end
      j = down
      k = up
      d = cmd del {}
      e = cmd edit {}
      u = cmd revert
      x = cmd do {}
      pp = postpone
      ps = postpone_s
      pr = pri
      ```
      
      - pp23d will postpone selected item by 23 days
      - ps1m will postpone selected item (threshold date included) by 1 month
      - prz will set priority of selected item to (Z)
      2ece2812
  2. 22 Jan, 2016 4 commits
  3. 14 Jan, 2016 2 commits
  4. 11 Jan, 2016 2 commits
  5. 08 Jan, 2016 7 commits
  6. 07 Jan, 2016 5 commits
  7. 06 Jan, 2016 6 commits
  8. 05 Jan, 2016 1 commit
  9. 04 Jan, 2016 1 commit
  10. 02 Jan, 2016 2 commits
  11. 01 Jan, 2016 3 commits