feat: add terminal workflow
parent
3fbd9cb099
commit
a141bbff8b
|
@ -0,0 +1,127 @@
|
|||
<!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.2.0/github-markdown-dark.min.css"
|
||||
/>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Inter&family=JetBrains+Mono&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<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;
|
||||
}
|
||||
}
|
||||
|
||||
.markdown-body {
|
||||
font-family: "Inter", sans-serif;
|
||||
}
|
||||
|
||||
.markdown-body code,
|
||||
.markdown-body pre {
|
||||
font-family: "JetBrains Mono", monospace;
|
||||
}
|
||||
</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>
|
||||
<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"
|
||||
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/5b7d95c82c859b9ba2d43af02db1f3a5192bb28342b2733ab1b918c4599237ec/68747470733a2f2f7a656c6c696a2e6465762f646f63756d656e746174696f6e2f696d672f6f766572766965772d7374617475732d7461622d312e706e67"
|
||||
><img
|
||||
src="https://camo.githubusercontent.com/5b7d95c82c859b9ba2d43af02db1f3a5192bb28342b2733ab1b918c4599237ec/68747470733a2f2f7a656c6c696a2e6465762f646f63756d656e746174696f6e2f696d672f6f766572766965772d7374617475732d7461622d312e706e67"
|
||||
alt="Tab"
|
||||
data-canonical-src="https://zellij.dev/documentation/img/overview-status-tab-1.png"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
</p>
|
||||
<ul>
|
||||
<li><code>Ctrl + t</code> + <code>n</code> to new tab.</li>
|
||||
</ul>
|
||||
<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>Ctrl + p</code> + <code>n</code> to new panel vertically (right
|
||||
side).
|
||||
</li>
|
||||
<li>
|
||||
<code>Ctrl + p</code> + <code>d</code> to new panel horizontally (down
|
||||
side).
|
||||
</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>. Source
|
||||
code is available on
|
||||
<a href="https://github.com/haunt98/posts-go">GitHub</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -68,6 +68,7 @@
|
|||
<li><a href="2023-05-03-neovim.html">My neovim workflow</a></li>
|
||||
<li><a href="2023-05-08-things-i-like.html">Things I like</a></li>
|
||||
<li><a href="2023-05-23-swagger.html">Swagger or OpenAPI</a></li>
|
||||
<li><a href="2023-06-06-terminal-workflow.html">Terminal workflow</a></li>
|
||||
</ul>
|
||||
|
||||
<div>
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
# My terminal workflow
|
||||
|
||||
All configs are in [my dotfiles](https://github.com/haunt98/dotfiles).
|
||||
|
||||
## Use [junegunn/fzf](https://github.com/junegunn/fzf)
|
||||
|
||||
- `Ctrl + t` to fuzzy find files.
|
||||
- `Alt + c` to fuzzy find directories.
|
||||
|
||||
## Use [zellij-org/zellij](https://github.com/zellij-org/zellij) as alternative to tmux
|
||||
|
||||

|
||||
|
||||
- `Ctrl + t` + `n` to new tab.
|
||||
|
||||

|
||||
|
||||
- `Ctrl + p` + `n` to new panel vertically (right side).
|
||||
- `Ctrl + p` + `d` to new panel horizontally (down side).
|
|
@ -21,3 +21,4 @@ This is where I dump my thoughts.
|
|||
- [My neovim workflow](2023-05-03-neovim.html)
|
||||
- [Things I like](2023-05-08-things-i-like.html)
|
||||
- [Swagger or OpenAPI](2023-05-23-swagger.html)
|
||||
- [Terminal workflow](2023-06-06-terminal-workflow.html)
|
||||
|
|
Loading…
Reference in New Issue