Skip to content

NonlinearFruit/vim-golf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using vim golf to grow nvim skills

Scores

challenge ex lua normal
Case matching substitution 149 B 626 B 235 B
Change class fields from camel case to snake case 24 B 492 B 31 B
Change class fields from snake case to camel case 19 B 322 B 15 B
Checkerboard case pattern 31 B 100 B 28 B
Circle of fifths with sharps 107 B 406 B 46 B
From brakets to parens 35 B 342 B 47 B
Reordering properties 84 B 393 B 85 B
Replace markdown sections with numbering 90 B 517 B 55 B
Rural Post 20 B 204 B 24 B
snowflake fractal 430 B 336 B 55 B
Sort and Tag 124 B 625 B 64 B
YAML to dotenv 22 B 69 B 45 B
π 57 B 218 B 48 B

How To

./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"

Help

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

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

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: '')

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

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

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