Skip to content

NonlinearFruit/vim-golf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

112 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim golf icon

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

Scores

challenge best ex lua normal
Case matching substitution 31 149 B 322 B 235 B
Change class fields from camel case to snake case 18 19 B 492 B 20 B
Change class fields from snake case to camel case 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 33 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 517 B 55 B
Rural Post 9 9 B 204 B 10 B
Simple text editing with Vim 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 35 B
YAML to dotenv 16 22 B 69 B 45 B
π 16 57 B 218 B 48 B

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:
  > toolkit download-challenge <challenge_id> 

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

Parameters:
  challenge_id <any>

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

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

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

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

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

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

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

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

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

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

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

About

Using vim golf to grow nvim skills

Topics

Resources

Stars

Watchers

Forks

Contributors