Skip to content

Commit

Permalink
Document autosync
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmaSd authored Sep 29, 2020
1 parent 0b59dfd commit 71992d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ Cross Platform Rust Repl

**:del** *<line_num>* => remove a specific line from repl code (line count starts at 1 from the first expression statement)

**:edit** *\<editor\>* => edit internal buffer using an external editor, example: `:edit micro` , some editors have a limited support like electron based one(atom, vs-code) for those check out `:sync` command

**:sync** => load `$temp/irust/src/main_extern.rs` file to the repl, this is useful in combination with `:edit` for unsupported editors, any changes to this file are reflected on the repl after using this command
**:edit** *\<editor\>* => edit internal buffer using an external editor, example: `:edit micro`, Note that any edit made to `$TEMP/irust/src/main_extern.rs` file will be immediatly reflected on the repl (after saving)

**:cd** => change current working directory

Expand Down

0 comments on commit 71992d1

Please sign in to comment.