Snapshot của ThePrimeagen/vim-be-good: 4.5k★ · Lua. vim-be-good is a nvim plugin designed to make you better at Vim Movements.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Vim be good is a plugin designed to make you better at vim by creating a game
to practice basic movements in.
Programmed with Love and Fury
and tunes https://www.youtube.com/watch?v=emOKaGi8u5U
WARNING
The code is a heaping pile of awfulness. It was developed live on Twitch,
which means I did not carefully think through anything other than memes.
If you wish to create your own game, look at how relative is done.
Everything else should be straight forward, except for the parts that are
not.
Difficulty
The difficulty only works on a few games for now. Still a work in progress,
if you have any ideas, please submit them either as tickets or as a PR.
Ideas?
Please submit a ticket for your idea!!!
Options
Games - relative
By default vim be good returns random offset for game difficulty above noob, if
you wish to set fixed offset set vim_be_good_delete_me_offset to desired
value.
let g:vim_be_good_delete_me_offset = 35
Instructions are at the top of games.
here too!
To play relative you need to delete the line that
says DELETE ME. Use relative jumps
To play ci{ you need to replace the contents
inside the first { or [ with bar. HINT, use ci[
or ci{ and type bar.
To play whackamole you need to navigate to the character with the caret under
it as fast as possible. Once you have reached the character, flip the
character's case to complete the round.
Installation
MUST USE NEOVIM 5.x!!!!!!
Use your favorite plugin manager to install! Only works on Nvim, the one true
vim.
Plug 'ThePrimeagen/vim-be-good'
Docker
If you would like, you can use docker to run the game. Doing this will
automatically use the correct version of neovim for you, as well as run the
game immediately when neovim starts.
Stable image
This image always runs the version of the game that was bundled when the image
was built. Images are generally built within one day of the main branch
receiving new commits, but you won't get the new images unless you manually run
docker pull brandoncc/vim-be-good:stable periodically.
docker run -it --rm brandoncc/vim-be-good:stable
"Latest" image
This image runs :PlugUpdate before running neovim. This adds about one second
to the startup time of the game. The trade-off is that you are always playing
the latest version of the game, as long as your machine is able to access
Github.com to pull it.
docker run -it --rm brandoncc/vim-be-good:latest
Playing the games.
Before doing ANYTHING at all, make sure you are in an empty file. If the file
you are in is not empty, VimBeGood will throw an error.
Ok, you are in an empty file, so first execute the following.
:VimBeGood
This will echo out the available set of games. Each game can take a set of
options to change how it is played, the above help menu should include each game.
Future Games
Please make an issue if you have a command you wish to practice and i'll make
it into a game!!
Issues
Please file an issue. But if you do, please run the logger first and paste in
the input.
To initialize the logger, add this to your vimrc
let g:vim_be_good_log_file = 1
to get the log file executed :echo stdpath("data") to find the path and then
copy paste it into the issues.
Contribute
Fork
Create a feature branch
Make changes
Modify the configuration to use local build:
~/.config/nvim/init.vim
call plug#begin('~/.vim/plugged')
Plug '/tmp/vim-be-good' " path to your vim-be-good fork
call plug#end()
You can also just use nvim --cmd "set rtp+=$(pwd)" . to set your current
run time path
Make PR
Live on Stream
Everything you see here has been developed on stream at ThePrimeagen.
Stop by and troll away. Helpful troll hints would be to complement the size of my hands.
Big shout outs to PolarMutex, Brandon CC (stands for credit card) and TEEEEEEEEEJ
@brandoncc @bryall @tjdevries
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/ThePrimeagen/vim-be-good là nguồn chính thức.
ThePrimeagen/vim-be-good có bao nhiêu sao?
ThePrimeagen/vim-be-good có 4.5k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/ThePrimeagen/vim-be-good. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
ThePrimeagen/vim-be-good có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho ThePrimeagen/vim-be-good. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
ThePrimeagen/vim-be-good có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho ThePrimeagen/vim-be-good. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
ThePrimeagen/vim-be-good là gì?
ThePrimeagen/vim-be-good (ThePrimeagen/vim-be-good) là dự án Lua trên GitHub. Theo mô tả gốc: vim-be-good is a nvim plugin designed to make you better at Vim Movements.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc vim-be-good có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về vim-be-good.