Lazygit and ] and [ keymaps #2794
|
In Lazygit, the |
Answered by
drowning-cat
Apr 1, 2026
Replies: 1 comment 1 reply
|
You copied keymaps from the README.md, where You can simply remove Tip Use Alternatively, override keys using opts = {
styles = {
lazygit = {
keys = {
bb_l = { "[", "[", expr = true, mode = "t" },
bb_r = { "]", "]", expr = true, mode = "t" }, |
1 reply
Answer selected by
luiza177
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You copied keymaps from the README.md, where
[[and]]are defined for terminal mode:https://github.com/luiza177/.dotfiles/blob/f5cffcdedfe2160f349644fffbf58bef20df23f0/.config/nvim/lua/luiza/plugins/snacks.lua#L151-L152
You can simply remove
"t"from themodefield.Tip
Use
Snacks.picker.keymaps()to search keymaps.Alternatively, override keys using
styles.lazygit: