Skip to content

A flexible, customizable terminal toggle plugin for Neovim.

License

Notifications You must be signed in to change notification settings

sajibt/flexterm.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flexterm.nvim

A flexible, customizable terminal toggle plugin for Neovim. It supports both floating and bottom terminal modes, giving you full control over the terminal window appearance and positioning.

Installation

Use lazy.nvim to install the plugin:

require("lazy").setup({
    {
        "sajibt/flexterm.nvim",  
        config = function()
            local flexterm = require("flexterm")
            
            -- Configure the terminal mode (bottom or floating)
            flexterm.setup({
                mode = "bottom",  -- Set the terminal mode here (bottom or floating)
            })
            
            -- Set up keybindings for toggling the terminal
            vim.keymap.set('n', '<Leader>t', flexterm.toggleterm, { desc = "Toggle FlexTerm" })
            vim.keymap.set('t', '<Leader>t', flexterm.toggleterm, { desc = "Toggle FlexTerm" })
        end,
    }
})

About

A flexible, customizable terminal toggle plugin for Neovim.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages