Ipfs-desktop: Keyboard shortcuts

Created on 11 Aug 2015  路  8Comments  路  Source: ipfs-shipyard/ipfs-desktop

I would like to have the electron app listening to 2 keyboard shortcuts:

  • listen to {cmd, ctrl}+i+d - If a piece of text is selected and if that piece of text is a valid hash, it gets downloaded
  • listen to {cmd, ctrl}+i+u - If a file or a group of files are selected, those files get uploaded

Does someone have opinions/thoughts on this? Maybe other hotkeys for better UX?


Todo

  • [ ] ctrl+alt+u = upload selected
  • [x] ctrl+alt+s = screenshot upload
  • [x] ctrl+alt+d = download hash selected

All 8 comments

veyr much :+1: to this.

one thing: may not be able to do +i+{d,u} because those are letters, not modifiers. afaik keyboards dont like that?

More than one 'non modifier key' ref: https://github.com/atom/electron/issues/2486

Ok, can't do 2 key codes

Going for:
ctrl+alt+u = upload selected
ctrl+alt+s = screenshot upload
ctrl+alt+d = download hash selected

Gonna start this 馃槃

@diasdavid what if you did CTRL+C on your hash and then CTRL+ALT+D to download the copied hash? ~(The same for uploading the files).~ (Electron doesn't have support to 'read' files from clipboard)

Download the last copied hash is now working 馃槃 I don't know if we should let this opened or not. I can't find any "positive" information about reading files from the clipboard on Electron. /cc @diasdavid

馃憦馃徑馃憦馃徑馃憦馃徑 Thank you @hacdias :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Luflosi picture Luflosi  路  5Comments

Evanito picture Evanito  路  4Comments

MicahZoltu picture MicahZoltu  路  5Comments

zerotrzy picture zerotrzy  路  4Comments

svitekpavel picture svitekpavel  路  4Comments