lots of new keybinds

toast
Kit Kasune 3 years ago
parent 110f695a1f
commit 0e7414d8cc
  1. 8
      json/shortcuts.json
  2. 1
      scripts/contextmenu/refresh.js
  3. 1
      scripts/keybinds/renderer/changeascend.js
  4. 1
      scripts/keybinds/renderer/changesort.js
  5. 1
      scripts/keybinds/renderer/refresh.js

@ -1,10 +1,14 @@
{
"process": {
"ctrl+r": "reload",
"ctrl+shift+r": "reload",
"command+r": "reload",
"ctrl+shift+i": "devtool"
},
"renderer": {
"ctrl+n": "newfolder"
"ctrl+n": "newfolder",
"ctrl+r": "refresh",
"alt+a": "changeascend",
"alt+s": "changesort",
"alt+t": "changesort"
}
}

@ -1,3 +1,4 @@
module.exports = () => {
require('../toast/createtoast')("Refresh", "View refreshed!");
require('../fileview/lightrefresh')(window.kade.cpath);
};

@ -0,0 +1 @@
module.exports = () => {require('../../buttons/changeascend')();};

@ -0,0 +1 @@
module.exports = () => {require('../../buttons/changesort')();};

@ -0,0 +1 @@
module.exports = () => {require('../../contextmenu/refresh')();};
Loading…
Cancel
Save