Skip to content

neysanfoo/wordy.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Wordy.nvim

Wordle for neovim!

Installation

lazy.nvim

return {
  "neysanfoo/wordy.nvim",
  opts = {},
}

packer.nvim

use({
  "neysanfoo/wordy.nvim",
  config = function()
    require("wordy").setup()
  end,
})

Vundle Add to your .vimrc or init.vim:

" In your plugin list
Plugin 'neysanfoo/wordy.nvim'

" After :PluginInstall
lua << EOF
require("wordy").setup()
EOF

Again, run:

:PluginInstall

Commands

Start a new game:

:Wordy

Gameplay

  • Normal mode

    • i – switch to insert mode
    • q / <Esc> – quit the game
    • <Enter> – submit guess (also works in insert)
  • Insert mode

    • Type letters to fill the row
    • <Enter> – submit guess
    • <Esc> – return to normal mode
    • Arrow keys / <BS> / <Del> work as expected

The game auto-saves progress and restores it on the next launch.

How to Override Default Colors

If you want to force your own shades you can pass a colors table to setup(). All keys are optional:

require("wordy").setup({
  colors = {
    border  = { fg = "#00ffff" },
    typed   = { fg = "#ffffff" },
    correct = { bg = "#228b22", fg = "#ffffff" },
    present = { bg = "#b8860b", fg = "#ffffff" },
    absent  = { fg = "#696969" },
  },
})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages