Skip to content

Why the FTerm not load my fish configuration? #96

Description

@jonahfang

I have defined fish configuration in ~/.config/fish/config.fish(MacOS).

My configuration (Lazy.nvim):

return {
    "numToStr/FTerm.nvim",
    pin = true,
    keys = {
      { "<leader>t", mode = {"n"}, "<CMD>lua require('FTerm').toggle()<CR>"},
      { "<leader>t", mode = {"t"}, "<C-\\><C-n><CMD>lua require('FTerm').toggle()<CR>"},
    },
    config = function()
        require'FTerm'.setup({
            border = 'shadow',
            cmd = function()
                return 'fish'
            end,
            dimensions  = {
                height = 0.7,
                width = 0.7,
            },
        })
    end
}
-- EOP

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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