Skip to content

v1nh1shungry/typewriter.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

typewriter.nvim

Play typewriter sound in Neovim.

⚡️ Requirement

📦 Installation

💤 lazy.nvim

{
    'v1nh1shungry/typewriter.nvim',
    keys = { { '<Leader>uk', function() require('typewriter').toggle() end, desc = 'Toggle typewriter' } },
    lazy = false,
    opts = {},
}

⚙️ Configuration

NOTE: make sure you have called require('typewriter').setup() before you use the plugin!

{
    -- default ocnfiguration
    enabled = true, -- whether to enable typewriter when enter Neovim
    volume = 100,
    libs = { -- you can specify the library path manually if not found
        sdl = nil, -- path to libSDL2.so
        mixer = nil, -- path to libSDL2_mixer.so
    },
}

🚀 Usage

  • toggle(): Enable/Disable typewriter

About

Play typewriter sound in Neovim!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages