Skip to content

Commit 8bb4a07

Browse files
committed
focus the editor on new file
1 parent 7337c31 commit 8bb4a07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plugins/handlers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ function handlers(app, opts, done){
7979
userConfig.set('last-file', builtName);
8080

8181
documents.create(path.join(cwd, builtName), '');
82+
documents.focus();
8283
}
8384

8485
function saveFile(){

0 commit comments

Comments
 (0)