Permalink
Browse files

Eugh, special cases.

  • Loading branch information...
1 parent 5406ee5 commit 7c3f0545e72be219323450fb55bbe3c8e872180d @georgebrock georgebrock committed Dec 10, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 js/normal_mode/operators.js
@@ -40,7 +40,11 @@
var range = motion.execute(vim, count);
if (range) {
range.removeFrom(vim);
- vim.moveCursor(range.start.row, range.start.col);
+ if (motion.commandKey === 'G') {
+ vim.moveCursor(range.start.row, '^');
+ } else {
+ vim.moveCursor(range.start.row, range.start.col);
+ }
}
},
subCommands: new Vimulator.CommandList(

0 comments on commit 7c3f054

Please sign in to comment.