Skip to content

NonlinearFruit/vim-golf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

134 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim golf icon

NonlinearFruit's vimgolf profile Number of solved challenges Average best score Average mine score Average ex score Average lua score Average normal score Number of solutions missing

Scores

challenge best mine ex lua normal
Case matching substitution 31 34 53 B 322 B 54 B
Change class fields from camel case to snake case 18 18 19 B 492 B 20 B
Change class fields from snake case to camel case 13 13 19 B 322 B 13 B
Checkerboard case pattern 15 31 B 100 B 28 B
Circle of fifths with sharps 24 107 B 406 B 46 B
Flip All Bits 29 29 31 B 144 B 26 B
From brakets to parens 24 35 B 342 B 47 B
Reordering properties 24 84 B 393 B 85 B
Replace markdown sections with numbering 29 90 B 152 B 55 B
Rural Post 9 10 9 B 204 B 10 B
Simple text editing with Vim 13 13 12 B 145 B 15 B
snowflake fractal 26 269 B 336 B 53 B
Sort and Tag 36 81 B 129 B 64 B
Whitespace, empty lines and tabs 16 29 B 185 B 35 B
YAML to dotenv 16 16 21 B 69 B 16 B
π 16 57 B 218 B 45 B
History
                                                                                          
                                                                                          
                                        challenges                                        
  25 +--------------------------------------------------------------------------------+   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
  20 |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |          **********************************************************************|   
  15 |        **                                                                      |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
  10 |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
   5 |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
   0 +--------------------------------------------------------------------------------+   
   03/26       04/09      04/23       05/07      05/21       06/04      06/18       07/02 
                                                                                          
                                                                                          
                                                                                          
                                           best                                           
  30 +--------------------------------------------------------------------------------+   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
  25 |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |          **********************************************************************|   
  20 |        **                                                                      |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
  15 |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
  10 |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
   5 |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
   0 +--------------------------------------------------------------------------------+   
   03/26       04/09      04/23       05/07      05/21       06/04      06/18       07/02 
                                                                                          
                                                                                          
                                                                                          
                                           mine                                           
  25 +--------------------------------------------------------------------------------+   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
  20 |                                                    **************************  |   
     |****************************************************                            |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
  15 |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
  10 |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
   5 |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
   0 +--------------------------------------------------------------------------------+   
   06/08  06/10  06/12 06/14  06/16  06/18  06/20 06/22  06/24  06/26  06/28 06/30  07/02 
   00:00  00:00  00:00 00:00  00:00  00:00  00:00 00:00  00:00  00:00  00:00 00:00  00:00 
                                                                                          
                                                                                          
                                            ex                                            
  90 +--------------------------------------------------------------------------------+   
     |                                                                                |   
     |        **                                                                      |   
  80 |          *******                                                               |   
     |                 ****                                                           |   
  70 |                     ****                                                       |   
     |                         ********                                               |   
     |                                 *************                                  |   
  60 |                                              **********************************|   
     |                                                                                |   
     |                                                                                |   
  50 |                                                                                |   
     |                                                                                |   
  40 |                                                                                |   
     |                                                                                |   
     |                                                                                |   
  30 |                                                                                |   
     |                                                                                |   
     |                                                                                |   
  20 |                                                                                |   
     |                                                                                |   
  10 |                                                                                |   
     |                                                                                |   
     |                                                                                |   
   0 +--------------------------------------------------------------------------------+   
   03/26       04/09      04/23       05/07      05/21       06/04      06/18       07/02 
                                                                                          
                                                                                          
                                                                                          
                                             lua                                          
  350 +-------------------------------------------------------------------------------+   
      |        *******************                                                    |   
      |                          *                                                    |   
  300 |                           *                                                   |   
      |                           ******                                              |   
      |                                 *********                                     |   
      |                                          **                                   |   
  250 |                                            ***********************************|   
      |                                                                               |   
      |                                                                               |   
  200 |                                                                               |   
      |                                                                               |   
      |                                                                               |   
      |                                                                               |   
  150 |                                                                               |   
      |                                                                               |   
      |                                                                               |   
  100 |                                                                               |   
      |                                                                               |   
      |                                                                               |   
      |                                                                               |   
   50 |                                                                               |   
      |                                                                               |   
      |                                                                               |   
    0 +-------------------------------------------------------------------------------+   
    03/26      04/09       04/23      05/07       05/21      06/04       06/18      07/02 
                                                                                          
                                                                                          
                                                                                          
                                          normal                                          
  60 +--------------------------------------------------------------------------------+   
     |                                                                                |   
     |                                                                                |   
     |        ********************************                                        |   
  50 |                                        ******                                  |   
     |                                              *                                 |   
     |                                              *                                 |   
     |                                               *                                |   
  40 |                                               *********************************|   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
  30 |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
  20 |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
  10 |                                                                                |   
     |                                                                                |   
     |                                                                                |   
     |                                                                                |   
   0 +--------------------------------------------------------------------------------+   
   03/26       04/09      04/23       05/07      05/21       06/04      06/18       07/02 
                                                                                          
                                                                                          
                                                                                          
                                          missing                                         
  8 +---------------------------------------------------------------------------------+   
    |                                                                                 |   
    |                                                                                 |   
  7 |                                                                                 |   
    |                                                                                 |   
    |                                                                                 |   
  6 |                                                                                 |   
    |                                                                                 |   
    |                                                                                 |   
  5 |                                                                                 |   
    |                                                                                 |   
    |                                                                                 |   
  4 |                                                                                 |   
    |                                                                                 |   
    |                                                                                 |   
  3 |          *******************                                                    |   
    |          *                  ***                                                 |   
    |         *                      **                                               |   
  2 |         *                        ***                                            |   
    |         *                           **                                          |   
    |        *                              *                                         |   
  1 |        *                               *                                        |   
    |                                        *                                        |   
    |                                         *                                       |   
  0 +---------------------------------------------------------------------------------+   
  03/26       04/09      04/23       05/07       05/21       06/04      06/18       07/02 
                                                                                          

How To (local)

./toolkit.nu get-latest-challenge
git add -A
./toolkit.nu try-challenge # select challenge, select mode
./toolkit.nu run-challenge # select challenge, select mode
./toolkit.nu update-readme
git add -A
git commit -m "Solve $PUZZLE in $MODE mode"

How To (vimgolf.com)

podman run --rm -it -e key=$VIMGOLF_KEY ghcr.io/filbranden/vimgolf $CHALLENGE_ID

Help

toolkit download-challenge
Usage:
  > download-challenge <challenge_id> 

Flags:
  -h, --help: Display the help message for this command

Command Type:
  > custom

Parameters:
  challenge_id <any>

Input/output types:
  ╭───┬───────┬────────╮
  │ # │ input │ output │
  ├───┼───────┼────────┤
  │ 0 │ any   │ any    │
  ╰───┴───────┴────────╯
toolkit get-latest-challenge
Usage:
  > get-latest-challenge 

Flags:
  -h, --help: Display the help message for this command

Command Type:
  > custom

Input/output types:
  ╭───┬───────┬────────╮
  │ # │ input │ output │
  ├───┼───────┼────────┤
  │ 0 │ any   │ any    │
  ╰───┴───────┴────────╯
toolkit random-challenge
Usage:
  > random-challenge 

Flags:
  -h, --help: Display the help message for this command

Command Type:
  > custom

Input/output types:
  ╭───┬───────┬────────╮
  │ # │ input │ output │
  ├───┼───────┼────────┤
  │ 0 │ any   │ any    │
  ╰───┴───────┴────────╯
toolkit run-challenge
Usage:
  > run-challenge {flags} 

Flags:
  -h, --help: Display the help message for this command
  -c, --challenge <string> (default: '')
  -m, --mode <string> (default: '')

Command Type:
  > custom

Input/output types:
  ╭───┬───────┬────────╮
  │ # │ input │ output │
  ├───┼───────┼────────┤
  │ 0 │ any   │ any    │
  ╰───┴───────┴────────╯
toolkit try-challenge
Usage:
  > try-challenge {flags} 

Flags:
  -h, --help: Display the help message for this command
  -c, --challenge <string> (default: '')
  -m, --mode <string> (default: '')

Command Type:
  > custom

Input/output types:
  ╭───┬───────┬────────╮
  │ # │ input │ output │
  ├───┼───────┼────────┤
  │ 0 │ any   │ any    │
  ╰───┴───────┴────────╯
toolkit update-readme
Usage:
  > update-readme 

Flags:
  -h, --help: Display the help message for this command

Command Type:
  > custom

Input/output types:
  ╭───┬───────┬────────╮
  │ # │ input │ output │
  ├───┼───────┼────────┤
  │ 0 │ any   │ any    │
  ╰───┴───────┴────────╯

About

Using vim golf to grow nvim skills

Topics

Resources

Stars

Watchers

Forks

Contributors