ppot / hyper

A terminal built on web technologies
https://hyper.is
MIT License
2 stars 0 forks source link

KeyMap #11

Open ppot opened 7 years ago

ppot commented 7 years ago

The goal is to have 3 json mapping files.

1 for windows 1 for linux 1 for OSX

Tasks

iamstarkov commented 7 years ago

hi, can you submit WIP PR to original repo, so we can track?

ppot commented 7 years ago

Yes will do eventually.

iamstarkov commented 7 years ago

here is WIP pr for everybody coming here https://github.com/zeit/hyper/pull/1509

natejgardner commented 7 years ago

Is there any hope of changing the reload command? ctrl-r is for bash reverse search. Right now the Linux and Windows keymaps make this standard bash feature impossible to use.

ppot commented 7 years ago

The reload command is ctrl+shift+r See: https://github.com/zeit/hyper/pull/1876 https://github.com/zeit/hyper/blob/master/app/config/config-default.js#L121

natejgardner commented 7 years ago

Ctrl-r currently reloads, as does ctrl-r shift-r, by default on both Windows and Linux. The standard reverse search functionality of ctrl-r is impossible to access in Hyper right now unless on a Mac.

On Jun 26, 2017 9:28 PM, "Philippe Potvin" notifications@github.com wrote:

The reload command is ctrl+shift+r See: https://github.com/zeit/hyper/pull/1876 ``https://github.com/zeit/hyper/blob/master/app/config/ config-default.js#L121

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ppot/hyper/issues/11#issuecomment-311249846, or mute the thread https://github.com/notifications/unsubscribe-auth/AIZ80Q401E1jAaFp81yjs7jYFhTWndtnks5sIIUKgaJpZM4L87pl .

ppot commented 7 years ago

@natejgardner In the current master branch you can use the

keymaps: {
}

object extension in config to define your own binding commands keys

lcmartinezdev commented 6 years ago

Hi, I have a question, why the key-maps are different on each operative system?

I want to use this terminal but I work with an Mac Book (job computer) and PC with Ubuntu (Home computer).

Sorry if is silly question

ppot commented 6 years ago

@pycarlos Since OS X have cmd and other doesn't, you can't bind the same keys for commands. But you can tweet you own if you want and they will be set instead.