Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/letieu/hacker.nvim
Hollywood hacker experience in your neovim
https://github.com/letieu/hacker.nvim
hackertyper lua neovim neovim-lua neovim-plugin
Last synced: 20 days ago
JSON representation
Hollywood hacker experience in your neovim
- Host: GitHub
- URL: https://github.com/letieu/hacker.nvim
- Owner: letieu
- Created: 2023-04-01T09:19:37.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-19T03:45:29.000Z (6 months ago)
- Last Synced: 2024-08-19T04:48:29.424Z (6 months ago)
- Topics: hackertyper, lua, neovim, neovim-lua, neovim-plugin
- Language: Lua
- Homepage:
- Size: 46.9 KB
- Stars: 58
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 📟 hacker.nvim for 10x developer
[](#contributors-)
Hollywood hacker experience in your neovim, like [hacker typer](https://hackertyper.net/)

## 🪄 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](https://github.com/wbthomason/packer.nvim)
```lua
use {
"letieu/hacker.nvim",
}
```### [lazy.nvim](https://github.com/folke/lazy.nvim)
```lua
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
```lua
-- 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](https://allcontributors.org/docs/en/emoji-key)):
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!