-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
[kitty & tmux & fzf] better way of changing some default bindings? #209
Comments
You do not need to unbind C-hjkl in
The exception for C-RET is So, if you are fine with C-RET to run a command in the multiline mode of # blerc
ble-bind -m vi_imap -f C-RET accept-line
This is because you are in the Emacs editing mode but haven't configured C-z in the
It is designed for vim modes and does not support the emacs mode. Nevertheless, doesn't it work to replace |
Oh, yes, you are absolutely right about no need to unbind anything! I changed my snippet to your single line example. After also updating On the note of the emacs mode: I was unaware I got there, but my intention is to be in vi mode. What did I do wrong to get there? |
I'd say it's the fault of kitty's design. This is a compatibility issue, so strictly speaking, it is not the fault of any projects, but just kitty cannot be combined with tmux for the keyboard protocol. Actually, kitty is always doing something non-standard as a terminal emulator. Kitty's keyboard protocol is a typical example. Even though there is an existing protocol
This time, I think I can add a workaround at
In #209 (comment), I see you have keybindings of C-z to |
Your a gem :) I really hope terminals converge a bit, because choosing a terminal was not easy and with issues like these I'm not entirely happy with my choice either. |
Current workaround is now adding
and commenting out the 'C-z' lines in |
I have implemented this in f66e0c1, but it is not enabled by default because there are some limitations. To turn on this feature, please use the following setting: # blerc
bleopt term_modifyOtherKeys_passthrough_kitty_protocol=1 The limitations are explained in Manual §3.6.3
Also, please set the following option in your # ~/.tmux.conf
set -g extended-keys on
# Or,
#set -g extended-keys always |
works perfectly! |
PR tmux/tmux#3259 has been applied to Thank you again for reporting the issue! If there are no further related issues, you can close the issue. |
thanks! |
I use
C-hjkl
for seamless navigation between vim splits and tmux panes, which is obviously interfering with some ofble.sh
's default maps. I usedble-bind -P
to print all the current binding to a file and based on that added the snippet below to myinit.sh
.Pressing
C-z
after finishing a multiline echo print a warning about multiline and using C-j, but doesn't actually execute:Also, the snippet from #205 now prints ?????? at the bottom (sidenote: I've never actually seen a multiline status with any of the mode line settings, although it would be really welcome, since as a beginner with ble.sh I don't always really know where I am :))
Am I doing something wrong? Is there a more simple way to do this remapping? I don't care much about the functionalities lost by hklz, but obviously without j it's rather impossible to use ble.sh.
The text was updated successfully, but these errors were encountered: