Code Monkey home page Code Monkey logo

vim-be-good's Introduction

vim-be-good

Vim be good is a plugin designed to make you better at vim by creating a game to practice basic movements in.

WARNING

  • Read Installation instructions carefully. There has been some confusion around that.
  • The code is a heaping pile of awefulness. It was developed live on Twitch, which means I did not carefully think through anything other than memes.
  • If you are looking to extend it I am about to do a refactor in the next couple of weeks to improve the current codebase and make a simplier contributor model.

Difficulty

The difficulty only works on a few games for now.

Ideas?

Please submit a ticket for your idea!!!

Options

By default vim be good uses a floating buffer. If you wish to have it use the current buffer (only if its empty) set vim_be_good_floating to 0.

let g:vim_be_good_floating = 0

Instructions are at 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

  1. Use your favorite plugin manager to install! Only works on Nvim, the one true vim.
Plug 'ThePrimeagen/vim-be-good', {'do': './install.sh'}
  1. Then execute :UpdateRemotePlugins to finish the installation process.

If you run into any problems when running the :UpdateRemotePlugins run :checkhealth to check if your vim is node ready.

  1. If healthcheck fails node ready you need to install neovim.
# I am sorry for the global install
npm install -g neovim

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 game!!

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.

Issues

Please file an issue. But if you do, please run the logger first and paste in the input.

NVIM_NODE_LOG_FILE=nvim.log nvim -- this should print out all the console.log's that come with vim-be-good. And it should give ThePrimeagen an idea of how to stop sucking

vim-be-good's People

Contributors

theprimeagen avatar brandoncc avatar antonk52 avatar magtastic avatar itsyuka avatar lpanebr avatar samnela avatar victorgabr avatar opti21 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.