dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

draft_global.talon (961B)


      1 # These are available globally (in command mode)
      2 mode: command
      3 -
      4 ^draft show:
      5     # Do this toggle so we can have focus when saying 'draft show'
      6     user.draft_hide()
      7     user.draft_show()
      8 
      9 ^draft show <user.draft_window_position>:
     10     # Do this toggle so we can have focus when saying 'draft show'
     11     user.draft_hide()
     12     user.draft_show()
     13     user.draft_named_move(draft_window_position)
     14 
     15 ^draft show small:
     16     # Do this toggle so we can have focus when saying 'draft show'
     17     user.draft_hide()
     18     user.draft_show()
     19     user.draft_resize(600, 200)
     20 
     21 ^draft show large:
     22     # Do this toggle so we can have focus when saying 'draft show'
     23     user.draft_hide()
     24     user.draft_show()
     25     user.draft_resize(800, 500)
     26 
     27 ^draft empty: user.draft_show("")
     28 
     29 ^draft edit:
     30     text = edit.selected_text()
     31     key(backspace)
     32     user.draft_show(text)
     33 
     34 ^draft edit all:
     35     edit.select_all()
     36     text = edit.selected_text()
     37     key(backspace)
     38     user.draft_show(text)