Skip to content

NeViRAIDE/nekifoch.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NeKiFoCh

Neovim Kitty Font Changer

Release License Neovim version


Neovim plugin for managing Kitty terminal font settings.

InstallationDefaultsUsageConfigurationCreditsLicenseDonations


nekifoch_preview.mp4

Installation

Install Nekifoch using your favorite plugin manager. For example, with lazy.nvim:

{
    'NeViRAIDE/nekifoch.nvim',
    build = 'chmod +x ./install.sh && ./install.sh',
    cmd = 'Nekifoch',
    opts = {},
}

. . . go top

Default config values

{
    kitty_conf_path = '~/.config/kitty/kitty.conf',
    borders = 'none', --available values are: 'rounded', 'single', 'double', 'shadow', 'solid', 'none'
}

. . . go top

Usage

Nekifoch provides the :Nekifoch command with the following syntax:

:Nekifoch [action] [font_family/font_size]
  • [action] can be one of:
    • check,
    • set_font,
    • set_size,
    • list.
  • [font_family/font_size]: New font family/size for the set_font/set_size action.

Examples:

  • Open NeKiFoCh main menu:
:Nekifoch
  • Check the current font family and size:
:Nekifoch check
  • Replace the font family with "DejaVu Sans Mono":
:Nekifoch set_font DejaVuSansMono
  • Replace the font size with "14":
:Nekifoch set_size 14
  • List available fonts compatible with Kitty:
:Nekifoch list

. . . go top

Configuration

Configure Nekifoch using the FontReplaceConfig dictionary:

Nekifoch can be configured by adding a Lua configuration to your Neovim configuration file (init.lua).

Here's an example configuration using Lua:

require('nekifoch').setup({
  kitty_conf_path = vim.fn.expand('~/.config/kitty/kitty.conf')
})

or

{
    'NeViRAIDE/nekifoch.nvim',
    build = 'chmod +x ./install.sh && ./install.sh',
    cmd = 'Nekifoch', -- to add lazy loading
    opts = {
        kitty_conf_path = vim.fn.expand('~/.config/kitty/kitty.conf'), -- your kitty config path
    }
}

Replace '~/.config/kitty/kitty.conf' with the actual path to your Kitty terminal configuration.

. . . go top

Credits

Developed by RAprogramm. Contributions are welcome.


. . . go top

License

APACHE 2.0

For in-depth details and usage instructions, refer to the documentation.


Enhance your Kitty terminal experience with Nekifoch


. . . go top

Donations

If you find this plugin helpful and would like to support its development, you can buy me a coffee through the following platforms:

ko-fi

buymeacoffee

Your support is greatly appreciated!


. . . go top