Comments (7)
How do you unbind them? Manually via tmux unbind -T root -n C-j
, or adding them to a config and reloading it?
If you're adding it to your config, it could be one of your plugins (if you have any) binds them again so make sure you put the unbind
as far down as you can.
from lazygit.
If you're still using vim
and just want to add lazygit
to the list of programs that can handle C-j
, you can just modify the regex:
- ... | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'" "send-keys C-j" "select-pane -D"
+ ... | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?(g?(view|n?vim?x?)(diff)?|lazygit)$'" "send-keys C-j" "select-pane -D"
from lazygit.
Did you override the <c-k>
/<c-j>
in your .tmux.conf
by any chance?
from lazygit.
Did you override the
<c-k>
/<c-j>
in your.tmux.conf
by any chance?
At first I thought I did, but no. I even unbind them, but nothing changed
unbind C-j
unbind C-k
from lazygit.
Could you please check if tmux list-keys
lists C-j
somewhere?
I managed to get the desired behavior by unbinding them like this:
unbind -T root -n C-j
unbind -T root -n C-k
from lazygit.
It seems like I used to bind them, but I can't unbind them with your instruction
Could you please check if
tmux list-keys
listsC-j
somewhere?I managed to get the desired behavior by unbinding them like this:
unbind -T root -n C-j unbind -T root -n C-k
This is my tmux list-keys
look like:
bind-key -T root C-j if-shell "ps -o state= -o comm= -t '#{pane_tty}' | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'" "send-keys C-j" "select-pane -D"
bind-key -T root C-k if-shell "ps -o state= -o comm= -t '#{pane_tty}' | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'" "send-keys C-k" "select-pane -U"
from lazygit.
Manually unbind did the job! Thank you so much!
from lazygit.
Related Issues (20)
- Emoji in commit log cause extra characters right after the emoji HOT 1
- Disable split when Staged/Unstaged is empty HOT 1
- externalDiffCommand doesn't work when diffing between 2 refs HOT 2
- PowerShell's limitation on 4bit basic 16 colours
- Nil pointer on *RemoteBranch.FullName
- Error when creating Pull Requests with Bitbucket HOT 1
- Tell Lazygit not to set the terminal title HOT 1
- Lazygit hangs terminal on listing commits HOT 10
- See divergence from base branch HOT 7
- branch recency is sometimes miscalculated HOT 6
- pressing 'o' makes lazygit hang HOT 6
- Add menu item 'Commit without hooks' to the commit menu HOT 1
- Filter using `git log -L` HOT 2
- Middle-mouse-to-paste does not work in lazygit
- no version number "go install" procedure HOT 7
- Rebase branch onto its base branch HOT 1
- Wsl + Lazygit Memory Allocation Failed HOT 1
- Unsupported git service
- feat: Custom sort orders & support for multiple sort tags. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lazygit.