Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bump to 0.4.0

  • Loading branch information...
commit 6f3c92b2942ff436e11b663fe78039f50d906445 1 parent f390bbf
@igrigorik authored
View
2  Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- vimgolf (0.3.0)
+ vimgolf (0.4.0)
highline
thor (>= 0.14.6)
View
69 emacs/README.md
@@ -0,0 +1,69 @@
+# VimGolf Minor Mode Roadmap
+
+## Features
+
+1. Completing read of challenges by title rather than by challenge id
+
+2. `M-x vimgolf-browse`: Dired/Ibuffer/Magit-like interface to VimGolf challenges.
+
+ Bindings:
+
+ - Bindings should mimic Dired/Ibuffer wherever possible. Magit is listed primarily because I want TAB to open up the long description of the challenge.
+
+ At least:
+
+ - n/p
+ - ENTER/o: launch `vimgolf` with the correct arg.
+
+ Interface Mockup:
+
+ VimGolf in Emacs! Compete on vimgolf with the One True Editor.
+
+ Sort entries based on date - Sort some entries in a Ledger-file based on date.
+ PHP Array Syntax -> MailChimp Merge Syntax - I recently needed to send an e-m...
+ Refactor to Helpers
+ This Rails partial is almost all template escapes. Put it into a helper,
+ and refactor each case to methods so we can build out the controls for
+ each. (I've converted to tabs - fighting with Vimgolf's default config
+ shouldn't be part of the challenge.)
+
+ Alphabetize the directory - Put the contacts and their information in alphabe...
+ PHP <--> Java class conversion Part 2 - Same class but reverse!
+ PHP <--> Java class conversion Part 1 - Convert this tiny php class to adequa...
+ Multiplication table. - Create a multiplication table.
+ Complete the hex array data (Part II) - Do not use external tools(e.g. tac, s...
+ Interweave two blocks of text - Suppose you've got data on a list of things f...
+ .
+ .
+ .
+
+ --------------------------------------------------------------------------------
+
+ Commentary:
+
+ - Tab has been pressed on the Refactor to Helpers line and thus it's been expanded.
+
+ - The challenges `formatted text to markdown` and `Line Zipper` have both been completed and thus are hidden. Could provide a customization setting that turns this off completely, as well as an `M-x vimgolf-show-all` function to toggle the hiding.
+
+ - Fill column has been set to 80
+
+ - It would be fun if a local cache of the vimgolf data could be kept together so that you could record solutions or at least play offline.
+
+3. Real submission to vimgolf.
+
+ This could look like:
+
+ Pop-open buffer
+
+ You solved the formatted text to markdown challenge in 25 keystrokes! The best entry for this challenge was 23.
+
+ M-x qrr ;; query-replace-regexp
+ SPC*2 ;; self-insert-command
+ dummy ;; self-insert-command * 5
+ .
+ .
+ .
+
+ Mini-buffer
+
+ Submit to your solution to vimgolf? <y-or-n-predicate>
View
2  lib/vimgolf/cli.rb
@@ -75,7 +75,7 @@ def put(id = nil)
# - --noplugin - don't load any plugins, lets be fair!
# -i NONE - don't load .viminfo (for saved macros and the like)
# - u - load vimgolf .vimrc to level the playing field
- vimcmd = "#{GOLFVIM} -Z --servername \"\" -n --noplugin -i NONE +0 -u \"#{challenge.vimrc_path}\" -W \"#{challenge.log_path}\" \"#{challenge.work_path}\""
+ vimcmd = "#{GOLFVIM} -Z -n --noplugin -i NONE +0 -u \"#{vimrc(id)}\" -W \"#{log(id)}\" \"#{input(id, type)}\""
debug(vimcmd)
system(vimcmd)
View
2  lib/vimgolf/version.rb
@@ -1,3 +1,3 @@
module Vimgolf
- VERSION = "0.3.0"
+ VERSION = "0.4.0"
end
View
1  vimgolf.gemspec
@@ -31,6 +31,7 @@ Thank you for installing vimgolf-#{Vimgolf::VERSION}.
0.1.3: custom vimgolf .vimrc file to help level the playing field
0.2.0: proxy support, custom diffs + proper vimscript parser/scoring
0.3.0: improve windows support, switch to YAML to remove c-ext dependency
+0.4.0: improved diff/retry CLI, emacs support: http://bit.ly/yHgOPF
*NOTE*: please re-run "vimgolf setup" prior to playing!
Please sign in to comment.
Something went wrong with that request. Please try again.