Skip to content

Helldivers 2's "Strategem Hero" minigame for Neovim. Become a better Helldiver from the comfort of your favorite editor!

License

Notifications You must be signed in to change notification settings

willothy/strat-hero.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strat-hero.nvim

Practice your Helldivers 2 stratagems in Neovim. For Super Earth!

strat-hero-demo.mp4

Installation

With folke/lazy.nvim:

require("lazy").setup({
  {
    "willothy/strat-hero.nvim",
    dependencies = {
      "MunifTanjim/nui.nvim"
    },
    config = true,
    lazy = true,
    cmd = "StratHero"
  }
})

Commands

:StratHero[!]

Opens the game UI if it is not already open. Does nothing if the UI is open or the game is running.

When :h <bang> is provided, toggles the game UI, regardless of whether the game is running. Interrupts game progress.

:StratHero open

Starts the game if it has not already been started. Does nothing if the game is running.

:StratHero start

Starts the game if it has not already been started. Does nothing if the game is running.

:StratHero stop

Stops an in-progress game, but does not close the UI.

:StratHero close

Stops any in-progress game and closes the UI.

Mappings

You may play the game using wasd, hjkl, or the arrow keys. Motions to lock users into one input mode will be added in the future.

To start the game from the UI, press any motion key (wasd, hjkl, or the arrow keys) while the game is not running.

When a game is not running, either q or <Esc> will close the UI. If the game is running, only <Esc> will close the UI to prevent from accidentally quitting the game.

When you make a mistake and see the red highlight, you can immediately start the stratagem over. The delay is only visual and will be interrupted when you enter a correct motion.

Contributing

I would love to hear your feedback and ideas! I would also welcome contributions, especially ones helping to keep the stratagem list up-to-date with Helldivers 2.

About

Helldivers 2's "Strategem Hero" minigame for Neovim. Become a better Helldiver from the comfort of your favorite editor!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages