Skip to content

Instantly share code, notes, and snippets.

@ben-willmore
Last active December 18, 2015 17:59
Show Gist options
  • Save ben-willmore/5822286 to your computer and use it in GitHub Desktop.
Save ben-willmore/5822286 to your computer and use it in GitHub Desktop.
multiple line multiple caret
assert(all([res(:,1).nr25]==[res(:,2).nr25]));
assert(all([res(:,1).nr25]==[res(:,2).nr25]));
assert(all([res(:,1).nr25]==[res(:,2).nr25]));
assert(all([res(:,1).nr25]==[res(:,2).nr25]));
I want to edit this to read:
assert(all([res(:,1).nr25]==[res(:,2).nr25]));
assert(all([res(:,1).expt]==[res(:,2).expt]));
assert(all([res(:,1).pen]==[res(:,2).pen]));
assert(all([res(:,1).cluster]==[res(:,2).cluster]));
The easiest way to do this is select the second pair of instances of nr25, type 'expt', move down, type 'pen', move down, type 'cluster'. But I can't do that if the down arrow cancels the multiple carets!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment