Skip to content
Discussion options

You must be logged in to vote

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 the mode field.

Tip

Use Snacks.picker.keymaps() to search keymaps.

Alternatively, override keys using styles.lazygit:

opts = {
  styles = {
    lazygit = {
      keys = {
        bb_l = { "[", "[", expr = true, mode = "t" },
        bb_r = { "]", "]", expr = true, mode = "t" },

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@luiza177
Comment options

Answer selected by luiza177
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants