Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't cycle through views with C-/ #182

Closed
kohanyirobert opened this issue Feb 24, 2016 · 19 comments
Closed

Can't cycle through views with C-/ #182

kohanyirobert opened this issue Feb 24, 2016 · 19 comments
Assignees

Comments

@kohanyirobert
Copy link

The shortcut for cycling through the views doesn't work for me. I'm using OS X El Capitan, installd hh via brew.

$ hh --version
hh version "1.19"
   build   "Nov 28 2015 21:15:07"

I've tried invoking the shortcut from tmux and from the plain Terminal as well, but it doesn't do a single thing. The other shortcuts work. My .bash_profile contains only the defaults produced by hh --show-configuration. I haven't got an .inputrc.

@dvorka
Copy link
Owner

dvorka commented Feb 25, 2016

Alternatively you can use Ctrl-7, if Ctrl-/ doesn't work (check man).

@kohanyirobert
Copy link
Author

Nope, doesn't work. :/

@kohanyirobert
Copy link
Author

Just noticed that \C-- works (that is Ctrl with a -). I'm using the default US keyboard layout on my Mac. Not a big deal, but still weird.

@dvorka
Copy link
Owner

dvorka commented Feb 27, 2016

Just noticed that \C-- works

Reproducible in console terminal (Ubuntu).

Resolution: I will change shortcut used to cycle to Ctrl-7 + I will change man page.

@dvorka dvorka self-assigned this Feb 27, 2016
@dvorka
Copy link
Owner

dvorka commented Mar 24, 2016

I just pushed the proposed changes.

@kohanyirobert
Copy link
Author

Well, C-7 doesn't work for me :D I won't reopen this, because it might be possible that my configuration is somehow messed up, just wanted to let you know. It's not a frequently used shortcut anyway, so don't be bothered by it too much.

@dvorka
Copy link
Owner

dvorka commented Apr 8, 2016

Ad Ctrl-7: it's unfortunate, however, I hope that this is a problem specific to your system... shortcuts became a bit nightmare for me 😅 Thank you for letting me know.

@1-61803
Copy link

1-61803 commented Jan 17, 2018

@dvorka, I can reproduce this issue: neither C-7 nor C-/ rotate the view, C-- works though (hh 1.23, bash 4.4.12(1), OS X 10.8). See also #203.

@dvorka
Copy link
Owner

dvorka commented Jan 18, 2018

Reopening - I need to better understand key mapping on different platforms and perhaps consider platform specific conditional compilation.

@dvorka dvorka reopened this Jan 18, 2018
@1-61803
Copy link

1-61803 commented Jan 18, 2018

@dvorka, and while you're at it, maybe you find a way to customize shortcuts. I cannot praise high enough hstr!

@gertcuykens
Copy link
Contributor

C-7 works in vscode terminal bash but not in default mac terminal bash

@dvorka
Copy link
Owner

dvorka commented Jul 30, 2018

Linux vs macOS vs Win WSL - conditional compilation + platform detection to use the right binding (to be handled in new distro builds).

@dvorka
Copy link
Owner

dvorka commented Aug 12, 2018

I just decided to solve this issue with conditional compilation: Ctrlw to be used on macOS, Ctrl/ or Ctrl7 on other systems. Change will be releases with the new version.

@1-61803
Copy link

1-61803 commented Aug 12, 2018

I wouldn't use C-w in macOS, which usually is unix-word-rubout, but in hstr seems to behave as C-k, that is kill-line.

@dvorka
Copy link
Owner

dvorka commented Aug 13, 2018

I have hard time to choose the right shortcut - would you have any suggestion please?

@1-61803
Copy link

1-61803 commented Aug 13, 2018

Right now on 1.24 (20180221) in macOS I see

view:history (C-7)

but C-7 doesn't work, C-- does and it's fine by me.

Then why don't you just change what's showing to

view:history (C--)

@dvorka
Copy link
Owner

dvorka commented Aug 14, 2018

@1-61803 unfortunately you have an obsolete (8 months old) version. It's fixed in HSTR 1.27 I don't maintain brew. How did you installed HSTR?

@1-61803
Copy link

1-61803 commented Aug 14, 2018

I use MacPorts with a portfile that I maintain locally to download master. I'll see if I update it.

@joihn
Copy link

joihn commented May 31, 2022

swiss-french keyboard, ubuntu 20.04 here,

to cycle trough the view ctrl+shift+"-" works (found it by luck)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants