posts-go/docs/2023-06-06-terminal-workflo...

108 lines
3.6 KiB
HTML
Raw Normal View History

2023-07-18 18:38:30 +00:00
<!doctype html>
2023-06-06 08:23:29 +00:00
<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.2.0/github-markdown-dark.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">
<div><a href="index.html">Index</a></div>
<h1>
<a
id="user-content-my-terminal-workflow"
class="anchor"
aria-hidden="true"
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"
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>
2023-06-10 04:04:11 +00:00
<li><code>CTRL-T</code> to fuzzy find files.</li>
<li><code>ALT-C</code> to fuzzy find directories.</li>
2023-06-06 08:23:29 +00:00
</ul>
<h2>
<a
id="user-content-use-zellij-orgzellij-as-alternative-to-tmux"
class="anchor"
aria-hidden="true"
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>
2023-06-10 04:04:11 +00:00
<li><code>ALT-P</code>: switch panel</li>
<li><code>ALT-N</code>: new panel vertically (right side)</li>
<li><code>ALT-D</code>: new panel horizontally (down side)</li>
2023-07-07 08:16:08 +00:00
<li>Hold <code>SHIFT</code> and click on links, text, ...</li>
2023-06-06 08:23:29 +00:00
</ul>
2023-07-02 17:40:06 +00:00
<h2>
<a
id="user-content-use-wezwezterm"
class="anchor"
aria-hidden="true"
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>
</ul>
2023-06-06 08:23:29 +00:00
<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>. Source
code is available on
<a href="https://github.com/haunt98/posts-go">GitHub</a>
</div>
</body>
</html>