Skip to content
This repository was archived by the owner on Apr 6, 2018. It is now read-only.

Commit 8e74d04

Browse files
gf support multiple file selections
1 parent 6327adf commit 8e74d04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/motions/open-file-under-cursor.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class OpenFileUnderCursor extends Motion
1616
//github.com
1717
###
1818
wordRegex = /[a-z0-9\.\-_\/\\%:]+/i
19-
for cursor in @editor.getCursors()
19+
@editor.getCursors().forEach (cursor) =>
2020
range = cursor.getCurrentWordBufferRange wordRegex: wordRegex
2121
selectedPath = @editor.getTextInRange range
2222

0 commit comments

Comments
 (0)