HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

fresh — A fully-featured terminal-based text editor. More information: <https://getfresh.dev/docs/>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
terminalcommandfullytextfeaturedclifreshbased

Problem

How to use the fresh command: A fully-featured terminal-based text editor. More information: <https://getfresh.dev/docs/>.

Solution

fresh — A fully-featured terminal-based text editor. More information: <https://getfresh.dev/docs/>.

Open a file:
fresh {{path/to/file}}


Search for a pattern:
<Ctrl f>{{search_pattern}}<Enter>


Replace a pattern:
<Ctrl r>{{search_pattern}}<Enter>{{replacement}}<Enter>


Show File Explorer:
<Ctrl e>


Save file:
<Ctrl s>


Quit:
<Ctrl q>

Code Snippets

Open a file

fresh {{path/to/file}}

Search for a pattern

<Ctrl f>{{search_pattern}}<Enter>

Replace a pattern

<Ctrl r>{{search_pattern}}<Enter>{{replacement}}<Enter>

Show File Explorer

<Ctrl e>

Save file

<Ctrl s>

Context

tldr-pages: common/fresh

Revisions (0)

No revisions yet.