Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Update default.json with vimFx-profile #98

Merged
merged 4 commits into from
Nov 13, 2017
Merged

Update default.json with vimFx-profile #98

merged 4 commits into from
Nov 13, 2017

Conversation

DavidGretzschel
Copy link
Contributor

didn't set keys for paste & go/activate clipboard functionality, as it doesn't seem work in my version of FF.

added VimFx-profile
didn't set keys for paste & go/activate clipboard functionality, as it doesn't work in my version of FF.
@DavidGretzschel
Copy link
Contributor Author

Noticed, I missed adding some functionality, I've never used in VimFx, adding that now, so don't pull yet

Copy link
Contributor Author

@DavidGretzschel DavidGretzschel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added open in foreground tab, window, incog window;
seeing, if I can figure out how paste and go/paste and go from VimFx corresponds to Saka

@DavidGretzschel
Copy link
Contributor Author

Can't figure it out. When I mark the String "maybe " and then press the assigned button for "activate clipboard in tab, it changes and follows the url to "https://www.google.de/webhp?gws_rd=cr&dcr=0&ei=txv_WaLyFIjNkwXr9I-wBg", which is a blank google page for me. Expected behaviour (for a VimFx user, at least) would be, that it pastes "maybe " into the address bar and then presses enter, to make a normal search, with whatever search engine or go to the site, if the String is an URL. So I wont add that, as it doesn't do what a VimFx user would expect and/or is broken. Profile is as VimFx-like as it's gonna get, with the current feature set, so please pull.

"focusInput": [
[{ "code": "KeyE", "key": "e" }, { "code": "KeyF", "key": "f" }]
],
"hintChars": "sadfjklewcmpgh",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default VimFx hint chars are: fjdkslaghrueiwoncmv

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

k

"downloadLink": [],
"focusLink": [],
"focusInput": [
[{ "code": "KeyE", "key": "e" }, { "code": "KeyF", "key": "f" }]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ef should be assigned to focusLink, not focusInput, since ef focuses both links and inputs in VimFx (really, anything that is focusable), and focusLink does just that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

k

"scrollToTop": [
[{ "code": "KeyG", "key": "g" }, { "code": "KeyG", "key": "g" }]
],
"scrollToLeft": [],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this works the same as VimFx's scroll_to_left command, the default VimFx shortcuts are 0 and ^.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great

[{ "code": "KeyG", "key": "g" }, { "code": "KeyG", "key": "g" }]
],
"scrollToLeft": [],
"scrollToRight": [],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this works the same as VimFx's scroll_to_right command, the default VimFx shortcut is $.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great

"scrollToRight": [],
"goBack": [[{ "code": "KeyH", "key": "H", "shiftKey": true }]],
"goForward": [[{ "code": "KeyL", "key": "L", "shiftKey": true }]],
"nextPage": [],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What shortcut in Saka Key is this? It sounds a lot like VimFx's follow_next command, but as far as I know Saka Key doesn't have such a command. Confusing. Anyway, the default shortcuts for clicking next/previous links in VimFx are [/].

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be "Go backward/forward in history", which is H/L in VimFx. I don't now what "follow_next" does in VimFx, actually. If it's not in Saka Key, I can't add it anyway.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, nothing to do here then :)

"passOneKey": [[{ "code": "KeyI", "key":"I", "shiftKey": true }]],
"passAllKeys": [{ "code": "KeyI", "key":"i"}],
"exitPassMode": [],
"exitPassMode": [[{ "code": "Escape", "key":"Esc"}]],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You seem to have specified exitPassMode twice here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup, missed that

Copy link
Contributor Author

@DavidGretzschel DavidGretzschel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with lydell's changes, except the one about "goBackward/goForward in history".
Bcs. I'm not a the repo owner I can't approve them.

@lydell
Copy link

lydell commented Nov 9, 2017

@davidermined There's nothing to approve. If you agree with the changes, all you need to do is update the PR. GitHub will collapse comments made on lines of code if they change, signalling that the comment has been addressed.

@eejdoowad
Copy link
Member

Thanks for the contribution. There were a few bugs I had to fix. Please add this version of default.json to your PR. You can do a diff to see the 3 or so lines that changed.

Also, building Saka Key works on Windows. I gave my Windows VM a spin just to confirm. I followed these instructions.

for three missed outer brackets and an accidentally deleted character
@eejdoowad eejdoowad merged commit bc85a12 into lusakasa:master Nov 13, 2017
@eejdoowad
Copy link
Member

Thanks!

@lydell lydell mentioned this pull request Nov 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants