2KAbhishek / termim.nvim

Neovim Terminal, Improved πŸ¦ΎπŸ’»
GNU General Public License v3.0
54 stars 1 forks source link
neovim neovim-plugin productivity terminal utility vim

termim.nvim

License People Stars Forks Watches Last Updated

Neovim Terminal, Improved πŸ¦ΎπŸ’»

termim.nvim in action
termim.nvim in action

termim.nvim improves your default neovim terminal experience, keeping it super simple.

✨ Features

⚑ Setup

βš™οΈ Requirements

πŸ’» Installation

Add the following to your lazy/packer config

    -- Lazy
    {
        '2kabhishek/termim.nvim',
        cmd = { 'Fterm', 'FTerm', 'Sterm', 'STerm', 'Vterm', 'VTerm' },
    },

    -- Packer
    use '2kabhishek/termim.nvim'

πŸš€ Usage

πŸ“‘ Commands

termim.nvim adds the following commands:

All the commands accept optional command as arg, if command is missing, your default shell will run

⌨️ Mappings

termim.nvim adds the following mappings:

Recommended which-key Mappings

Other than the standard commands, you can use which-key to create your own commands.

    t = {
        name = 'Terminal',
        ['`'] = { '<cmd>Sterm<cr>', 'Horizontal Terminal' },
        e = { '<cmd>Sterm iex<cr>', 'Elixir' },
        g = { '<cmd>Fterm lazygit<cr>', 'Lazygit' },
        n = { '<cmd>Sterm node<cr>', 'Node' },
        p = { '<cmd>Sterm bpython<cr>', 'Python' },
        r = { '<cmd>Sterm irb<cr>', 'Ruby' },
        s = { '<cmd>Sterm<cr>', 'Horizontal Terminal' },
        t = { '<cmd>Fterm<cr>', 'Terminal' },
        v = { '<cmd>Vterm<cr>', 'Vertical Terminal' },
    },

πŸ—οΈ What's Next

You tell me!

πŸ§‘β€πŸ’» Behind The Code

🌈 Inspiration

Most terminal plugins offer a lot more than I needed, whereas I needed some small enhancements of the default neovim terminal experience.

πŸ’‘ Challenges/Learnings

🧰 Tooling

πŸ” More Info


⭐ hit the star button if you found this useful ⭐
Source | Blog | Twitter | LinkedIn | More Links | Other Projects