hacker.nvim icon indicating copy to clipboard operation
hacker.nvim copied to clipboard

Hollywood hacker experience in your neovim

📟 hacker.nvim for 10x developer

All Contributors

Hollywood hacker experience in your neovim, like hacker typer

ezgif-3-16e07cbd78

🪄 Features

  • Let code write itself
  • Write code with headless mode
  • Custom fake code
  • Fake code follow with current file with :HackFollow or use default fake code with :Hack
  • Config speed, show popup or not, time to show popup
  • Make you look like a 10x developer
  • With this plugin, ChatGPT just a baby toy

📦 Installation

Install the plugin with your preferred package manager:

packer

use {
    "letieu/hacker.nvim",
}

lazy.nvim

require("lazy").setup({
    { 
        "letieu/hacker.nvim"
    }
}

🚀 Usage

Hack command can be used to open hacker and start hacking

:Hack

HackFollow command can be used to use current file as fake code

:HackFollow

HackAuto, HackFollowAuto command can be used to run on auto type mode

:HackAuto
:HackFollowAuto

🪄 Options

Use setup to override any of the default options

-- default config
require("hacker").setup {
  content = [[ Code want to show.... ]], -- The code snippet that show when typing
  filetype = "lua", -- filetype of code snippet
  speed = { -- characters insert each time, random from min -> max
    min = 2,
    max = 10,
  },
  is_popup = false, -- show random float window when typing
  popup_after = 5,
}

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Stefan Novaković
Stefan Novaković

💻

This project follows the all-contributors specification. Contributions of any kind welcome!