diff --git a/.gitignore b/.gitignore index ede74a3..c8db328 100644 --- a/.gitignore +++ b/.gitignore @@ -20,4 +20,5 @@ elm-stuff node_modules dist/bundle.js qian-darwin-x64 +qian-darwin-x64.zip .tool-versions diff --git a/Makefile b/Makefile index 542b2f0..e721955 100644 --- a/Makefile +++ b/Makefile @@ -14,8 +14,11 @@ install: npm install app: install build + rm -rf qian-darwin-x64.zip ./node_modules/.bin/electron-packager . qian --overwrite --icon=icon.icns + zip -r qian-darwin-x64.zip qian-darwin-x64 clean: + rm -rf qian-darwin-x64.zip rm -rf node_modules rm -rf elm-stuff diff --git a/README.md b/README.md index 3efb7f8..7474c47 100644 --- a/README.md +++ b/README.md @@ -43,12 +43,9 @@ In addition, if a feature seems interesting to implement, let's talk about it in - `Tab` : toggle the focus on the searchbar - `Cmd + Alt + Enter` : Open the current folder in finder - `Cmd + Enter` : Open the current folder in a terminal - -> those shortcuts works only if the search bar does not have the focus - -- `Cmd + Left` : Go on the pred view (if it exists) -- `Cmd + Right` : Go on the next view (if it exists) -- `Cmd + Up` : Go to the parent (if it exists) +- `Cmd + <` : Go on the pred view (if it exists) +- `Cmd + >` : Go on the next view (if it exists) +- `Cmd + Shift + Space` : Go to the parent (if it exists) ## About the search bar diff --git a/package.json b/package.json index 5f1d966..5c807c5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "qian", - "version": "1.2.0", + "version": "1.2.1", "description": "A small experience", "main": "main.js", "scripts": { diff --git a/static/js/index.js b/static/js/index.js index fde870c..0c5b1d1 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -84,7 +84,7 @@ const template = submenu: [ { label: 'Pred', - accelerator: 'CmdOrCtrl+Left', + accelerator: 'CmdOrCtrl+<', click: function(item, focusedWindow) { if (focusedWindow) { elmApp.ports.historyNavigation.send(true) @@ -93,7 +93,7 @@ const template = }, { label: 'Next', - accelerator: 'CmdOrCtrl+Right', + accelerator: 'CmdOrCtrl+>', click: function(item, focusedWindow) { if (focusedWindow) { elmApp.ports.historyNavigation.send(false) @@ -102,7 +102,7 @@ const template = }, { label: 'Parent', - accelerator: 'CmdOrCtrl+Up', + accelerator: 'CmdOrCtrl+Shift+Space', click: function(item, focusedWindow) { if (focusedWindow) { elmApp.ports.jumpToParent.send(true)