Skip to content

Lazygit / fterm workflow mode issue #107

@mathieurousseau

Description

@mathieurousseau

hey!

thanks for the great work!

I am not sure if this is a setup issue, but when I have lazygit opened, then i toggle to fterm and then go back to lazygit, i need to press i to go back to interactive mode to interact with lazygit (even to be able to quite lazygit)

my lazygit conf:

return {
  {
    'kdheepak/lazygit.nvim',
    cmd = {
      'LazyGit',
      'LazyGitConfig',
      'LazyGitCurrentFile',
      'LazyGitFilter',
      'LazyGitFilterCurrentFile',
    },
    -- optional for floating window border decoration
    dependencies = {
      'nvim-lua/plenary.nvim',
    },
    -- setting the keybinding for LazyGit with 'keys' is recommended in
    -- order to load the plugin when the command is run for the first time
    keys = {
      { '<leader>lg', '<cmd>LazyGit<cr>', desc = 'LazyGit' },
    },
  }
}

my fterm conf:

return {
  {
    'numToStr/FTerm.nvim',
    -- lazy = true,
    opts = {
      border     = 'double',
      dimensions = {
        height = 0.9,
        width = 0.9,
      }
    },
    keys = {


      { "<A-i>", '<Cmd>lua require("FTerm").toggle()<CR>',            desc = "[T]oggle FTerm" },
      { '<A-i>', '<C-\\><C-n><CMD>lua require("FTerm").toggle()<CR>', mode = { 't' } },

    }
  }
}

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions