mirror of
https://github.com/sayanarijit/xplr
synced 2024-11-18 09:26:05 +00:00
Automated deployment: Sat Feb 5 07:34:13 UTC 2022 7c3e74e46c
This commit is contained in:
parent
cc5aa13c4e
commit
4d8e8ce862
@ -142,10 +142,25 @@
|
||||
<main>
|
||||
<h1 id="awesome-hacks"><a class="header" href="#awesome-hacks">Awesome Hacks</a></h1>
|
||||
<p>Here's a list of cool xplr hacks, i.e. snippets of code that you can just copy
|
||||
and paste into your <a href="configuration.html">configuration file</a>, that are too small or niche for a
|
||||
full fledge <a href="plugin.html">plugins</a>.</p>
|
||||
and paste into your <a href="configuration.html">configuration file</a> or the appropriate file, that are
|
||||
too small or niche for a full fledge <a href="plugin.html">plugins</a>.</p>
|
||||
<p>Do you have something cool to share?</p>
|
||||
<p><a href="https://github.com/sayanarijit/xplr/edit/main/docs/en/src/awesome-hacks.md">Edit this file</a> or <a href="https://github.com/sayanarijit/xplr/discussions/categories/show-and-tell">share them here</a> or <a href="community.html">let us know</a>.</p>
|
||||
<h3 id="cd-on-quit"><a class="header" href="#cd-on-quit">cd on quit</a></h3>
|
||||
<p>Change directory using xplr.</p>
|
||||
<details>
|
||||
<summary>Expand for details</summary>
|
||||
<ul>
|
||||
<li>Author: <a href="https://github.com/sayanarijit">@sayanarijit</a></li>
|
||||
<li>Tested on: Linux</li>
|
||||
</ul>
|
||||
<p>With this alias set, you can navigate directories using xplr by entering
|
||||
xcd command, and when you quit by pressing enter, you will enter the
|
||||
directory.</p>
|
||||
<p>You can of course, quit with plain Quit (i.e. by pressing q) to
|
||||
gracefully cancel "cd on quit".</p>
|
||||
<pre><code class="language-bash">alias xcd='cd "$(xplr --print-pwd-as-result)"'
|
||||
</code></pre>
|
||||
<h3 id="spawn-multiple-sessions-in-different-tabs-iterm2"><a class="header" href="#spawn-multiple-sessions-in-different-tabs-iterm2">Spawn multiple sessions in different tabs (iTerm2)</a></h3>
|
||||
<p>Creating a new session that starts with iTerm2.</p>
|
||||
<details>
|
||||
|
@ -405,10 +405,25 @@ workflow.</p>
|
||||
</code></pre>
|
||||
<div style="break-before: page; page-break-before: always;"></div><h1 id="awesome-hacks"><a class="header" href="#awesome-hacks">Awesome Hacks</a></h1>
|
||||
<p>Here's a list of cool xplr hacks, i.e. snippets of code that you can just copy
|
||||
and paste into your <a href="configuration.html">configuration file</a>, that are too small or niche for a
|
||||
full fledge <a href="plugin.html">plugins</a>.</p>
|
||||
and paste into your <a href="configuration.html">configuration file</a> or the appropriate file, that are
|
||||
too small or niche for a full fledge <a href="plugin.html">plugins</a>.</p>
|
||||
<p>Do you have something cool to share?</p>
|
||||
<p><a href="https://github.com/sayanarijit/xplr/edit/main/docs/en/src/awesome-hacks.md">Edit this file</a> or <a href="https://github.com/sayanarijit/xplr/discussions/categories/show-and-tell">share them here</a> or <a href="community.html">let us know</a>.</p>
|
||||
<h3 id="cd-on-quit"><a class="header" href="#cd-on-quit">cd on quit</a></h3>
|
||||
<p>Change directory using xplr.</p>
|
||||
<details>
|
||||
<summary>Expand for details</summary>
|
||||
<ul>
|
||||
<li>Author: <a href="https://github.com/sayanarijit">@sayanarijit</a></li>
|
||||
<li>Tested on: Linux</li>
|
||||
</ul>
|
||||
<p>With this alias set, you can navigate directories using xplr by entering
|
||||
xcd command, and when you quit by pressing enter, you will enter the
|
||||
directory.</p>
|
||||
<p>You can of course, quit with plain Quit (i.e. by pressing q) to
|
||||
gracefully cancel "cd on quit".</p>
|
||||
<pre><code class="language-bash">alias xcd='cd "$(xplr --print-pwd-as-result)"'
|
||||
</code></pre>
|
||||
<h3 id="spawn-multiple-sessions-in-different-tabs-iterm2"><a class="header" href="#spawn-multiple-sessions-in-different-tabs-iterm2">Spawn multiple sessions in different tabs (iTerm2)</a></h3>
|
||||
<p>Creating a new session that starts with iTerm2.</p>
|
||||
<details>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user