137 lines
4.6 KiB
HTML
137 lines
4.6 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.3.0/github-markdown.min.css"
|
|
/>
|
|
<title>haunt98 posts</title>
|
|
</head>
|
|
<style>
|
|
.markdown-body {
|
|
box-sizing: border-box;
|
|
min-width: 200px;
|
|
max-width: 980px;
|
|
margin: 0 auto;
|
|
padding: 45px;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.markdown-body {
|
|
padding: 15px;
|
|
}
|
|
}
|
|
</style>
|
|
<body class="markdown-body">
|
|
<h2>
|
|
<a href="index.html"><code>~</code></a>
|
|
</h2>
|
|
<h1>
|
|
<a
|
|
id="user-content-my-terminal-workflow"
|
|
class="anchor"
|
|
aria-hidden="true"
|
|
tabindex="-1"
|
|
href="#my-terminal-workflow"
|
|
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
|
>My terminal workflow
|
|
</h1>
|
|
<p>
|
|
All configs are in
|
|
<a href="https://github.com/haunt98/dotfiles">my dotfiles</a>.
|
|
</p>
|
|
<h2>
|
|
<a
|
|
id="user-content-use-junegunnfzf"
|
|
class="anchor"
|
|
aria-hidden="true"
|
|
tabindex="-1"
|
|
href="#use-junegunnfzf"
|
|
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
|
>Use <a href="https://github.com/junegunn/fzf">junegunn/fzf</a>
|
|
</h2>
|
|
<ul>
|
|
<li><code>CTRL-T</code> to fuzzy find files.</li>
|
|
<li><code>ALT-C</code> to fuzzy find directories.</li>
|
|
</ul>
|
|
<h2>
|
|
<a
|
|
id="user-content-use-zellij-orgzellij-as-alternative-to-tmux"
|
|
class="anchor"
|
|
aria-hidden="true"
|
|
tabindex="-1"
|
|
href="#use-zellij-orgzellij-as-alternative-to-tmux"
|
|
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
|
>Use
|
|
<a href="https://github.com/zellij-org/zellij">zellij-org/zellij</a> as
|
|
alternative to tmux
|
|
</h2>
|
|
<p>
|
|
<a
|
|
target="_blank"
|
|
rel="noopener noreferrer nofollow"
|
|
href="https://camo.githubusercontent.com/4567dca83cde7ee893659d05eff00ba7875b1afcbcccc74a6a2312311f076532/68747470733a2f2f7a656c6c696a2e6465762f646f63756d656e746174696f6e2f696d672f6f766572766965772d7374617475732d7461622d322e706e67"
|
|
><img
|
|
src="https://camo.githubusercontent.com/4567dca83cde7ee893659d05eff00ba7875b1afcbcccc74a6a2312311f076532/68747470733a2f2f7a656c6c696a2e6465762f646f63756d656e746174696f6e2f696d672f6f766572766965772d7374617475732d7461622d322e706e67"
|
|
alt=""
|
|
data-canonical-src="https://zellij.dev/documentation/img/overview-status-tab-2.png"
|
|
style="max-width: 100%"
|
|
/></a>
|
|
</p>
|
|
<ul>
|
|
<li><code>ALT-P</code>: switch panel</li>
|
|
<li><code>ALT-N</code>: new panel vertically (right side)</li>
|
|
<li><code>ALT-M</code>: new panel horizontally (down side)</li>
|
|
<li><code>ALT-O</code>: new tab</li>
|
|
<li><code>ALT-]</code>/<code>ALT-[</code>: next/previous tab</li>
|
|
<li>Hold <code>SHIFT</code> and click on links, text, ...</li>
|
|
</ul>
|
|
<h2>
|
|
<a
|
|
id="user-content-use-wezwezterm"
|
|
class="anchor"
|
|
aria-hidden="true"
|
|
tabindex="-1"
|
|
href="#use-wezwezterm"
|
|
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
|
>Use <a href="https://github.com/wez/wezterm">wez/wezterm</a>
|
|
</h2>
|
|
<ul>
|
|
<li><code>CTRL-SHIFT-F</code>/<code>CMD-F</code>: search mode</li>
|
|
<li><code>CTRL-SHIFT-SPACE</code>: quick select mode</li>
|
|
<li><code>CTRL-SHIFT-X</code>: copy mode</li>
|
|
<li><code>CMD-SHIFT-[</code>/<code>CMD-SHIFT-]</code>: switch tabs</li>
|
|
</ul>
|
|
<h2>
|
|
<a
|
|
id="user-content-use-nnn"
|
|
class="anchor"
|
|
aria-hidden="true"
|
|
tabindex="-1"
|
|
href="#use-nnn"
|
|
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
|
>Use <a href="https://github.com/jarun/nnn">nnn</a>
|
|
</h2>
|
|
<ul>
|
|
<li><code>;-p</code>: preview mode</li>
|
|
<li><code>SPACE</code>: toggle select</li>
|
|
<li><code>a</code>: select all</li>
|
|
<li><code>x</code>: delete</li>
|
|
</ul>
|
|
|
|
<div>
|
|
Feel free to ask me via
|
|
<a href="mailto:hauvipapro+posts@gmail.com">email</a> or
|
|
<a rel="me" href="https://hachyderm.io/@haunguyen">Mastodon</a>.
|
|
<br />Source code is available on
|
|
<a href="https://github.com/haunt98/posts-go">GitHub</a>
|
|
<a href="https://codeberg.org/yoshie/posts-go">Codeberg</a>
|
|
<a href="https://git.sr.ht/~youngyoshie/posts-go">sourcehut</a>
|
|
<a href="https://gitea.treehouse.systems/yoshie/posts-go">Treehouse</a>
|
|
<a href="https://gitlab.com/youngyoshie/posts-go">GitLab</a>
|
|
</div>
|
|
</body>
|
|
</html>
|