snippetbashTip
edit — A terminal-based text editor from Microsoft. More information: <https://github.com/microsoft/edit>.
Viewed 0 times
terminaleditorcommandtextfromclieditbased
Problem
How to use the
edit command: A terminal-based text editor from Microsoft. More information: <https://github.com/microsoft/edit>.Solution
edit — A terminal-based text editor from Microsoft. More information: <https://github.com/microsoft/edit>.Open a file:
edit {{path/to/file}}Search for a pattern:
<Ctrl f>{{pattern}}<Enter>Find and replace a pattern:
<Ctrl r>{{pattern}}<Enter>Copy text:
<Ctrl c>Paste text:
<Ctrl v>Open the File menu:
<Alt f>Quit:
<Ctrl q>Code Snippets
Open a file
edit {{path/to/file}}Search for a pattern
<Ctrl f>{{pattern}}<Enter>Find and replace a pattern
<Ctrl r>{{pattern}}<Enter>Copy text
<Ctrl c>Paste text
<Ctrl v>Context
tldr-pages: common/edit
Revisions (0)
No revisions yet.