I like mobilemancer’s [1] project windows-terminal-aurelia [2].
Aurelia inspired Windows Terminal theme
References:
[1]: https://github.com/mobilemancer
[2]: https://github.com/mobilemancer/windows-terminal-aurelia
Archive
All published posts
2469 posts
latest post 2026-05-08
Publishing rhythm
I’m really excited about vim-startuptime [1], an amazing project by dstein64 [2]. It’s worth exploring!
A plugin for viewing Vim and Neovim startup event timing information.
References:
[1]: https://github.com/dstein64/vim-startuptime
[2]: https://github.com/dstein64
I like wbthomason’s [1] project packer.nvim [2].
A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
References:
[1]: https://github.com/wbthomason
[2]: https://github.com/wbthomason/packer.nvim
Just starred nvim-lspconfig [1] by neovim [2]. It’s an exciting project with a lot to offer.
Quickstart configs for Nvim LSP
References:
[1]: https://github.com/neovim/nvim-lspconfig
[2]: https://github.com/neovim
If you’re into interesting projects, don’t miss out on nvim-treesitter [1], created by nvim-treesitter [2].
Nvim Treesitter configurations and abstraction layer
References:
[1]: https://github.com/nvim-treesitter/nvim-treesitter
[2]: https://github.com/nvim-treesitter
Looking for inspiration? vim-matchup [1] by andymass [2].
vim match-up: even better % 👊 navigate and highlight matching words 👊 modern matchit and matchparen. Supports both vim and neovim + tree-sitter.
References:
[1]: https://github.com/andymass/vim-matchup
[2]: https://github.com/andymass
treesitter-unit [1] by David-Kunz [2] is a game-changer in its space. Excited to see how it evolves.
A Neovim plugin to deal with treesitter units
References:
[1]: https://github.com/David-Kunz/treesitter-unit
[2]: https://github.com/David-Kunz
Running your Kedro Pipeline from the command line
Running your kedro pipeline from the command line could not be any easier to
get started. This is a concept that you may or may not do often depending on
your workflow, but its good to have under your belt. I personally do this half
the time and run from ipython half the time. In production, I mostly use docker
and that is all done with this cli.
https://youtu.be/ZmccpLy-OEI
What is Kedro [1]
👆 Unsure what kedro is? Check out this post.
Kedro run # [2]
To run the whole darn project all we need to do is fire up a terminal, activate
our environment, and tell kedro to run.
kedro run
Specific Pipelines # [3]
Running a sub pipeline that we have created is as easy as telling kedro which
one we want to run.
kedro run --pipeline dp
Single Nodes # [4]
While developing a node or a small list of nodes in a larger pipeline its handy
to be able to run them one at a time. Besides the use case of developing a
single node I would not reccomend leaning very heavy on running single nodes,
le...
kedro Virtual Environment
Avoid serious version conflict issues, and use a virtual environment [1] anytime
you are running python, here are three ways you can setup a kedro virtual
environment.
https://youtu.be/ZSxc5VVCBhM
- conda
- venv
- pipenv
conda # [2]
I prefer to use conda as my virtual environment manager of choice as it give me
both the interpreter and the packages I install. I don’t have to rely on the
system version of python or another tool to maintain python versions at all, I
get everything in one tool.
conda create -n my-project python=3.8 -y
conda activate my-project
python -m pip install --upgrade pip
pip install -e src
conda info --envs
- stores environment in a root directory i.e. ~/miniconda3
- conda can use its own way to manage environments environment.yml
- the python interpreter is packaged with the environment
virtualenv # [3]
Virtual env (venv) is another very respectable option that is built right into
python, and requires no additional installs or using a different dis...
I’m impressed by circles.nvim [1] from projekt0n [2].
uniform icons for neovim
References:
[1]: https://github.com/projekt0n/circles.nvim
[2]: https://github.com/projekt0n
Kedro Install
Kedro comes with an install command to install and manage all of your
projects dependencies.
https://youtu.be/IWimEs-hHQg
cd into your project directory and activate env # [1]
You must start by having your kedro project either cloned down
from an existing project or created from kedro new. Then
activate your environment.
Kedro New [2]
this post covers kedro new
kedro Virtual Environment [3]
This post covers creating your virtual environment [4] for kedro
install kedro # [5]
Make sure you have kedro installed in your current
environment, if you dont already have it.
pip install kedro==0.17.4
pip-tools # [6]
Kedro uses the pip-tools package under the hood to pin
dependencies in a very robust way to ensure that the project
will continue to work on everyone’s machine day, including
production, day in and day out. No matter what happens to the
dependencies you have installed.
pip-compile # [7]
The command that kedro uses from pip-tools is pip-compile. It will look at
what yo...
Kedro Git Init
Immediately after kedro new, before you start running kedro install or your first line of code the first
thing you should always do after getting a new kedro template created is to
git init.
https://youtu.be/IGba3ytf_6U
git init # [2]
Its as simple as these three commands to get started.
git init
git add .
git commit -m init
I don’t care if this project is for learning, if it will never have a remote or not, use git.
References:
[1]: /glossary/git/
[2]: #git-init
Kedro New
https://youtu.be/uqiv5LAiJe0
Kedro new is simply a wrapper around the cookiecutter templating library. The
kedro team maintains a ready made template that has everything you need for a
kedro project. They also maintain a few kedro starters, which are very similar
to the base template.
What is Kedro [1]
Unsure what kedro is, Check out yesterdays post on What is Kedro.
pipx # [2]
I reccomend using pipx when running kedro new. pipx is designed for system
level cli tools so that you do not need to maintain a virtual environment [3] or
worry about version conflicts, pipx manages the environment for you.
The kedro team does not reccomend pipx in their docs as they already feel
like there is a bit of a tool overload for folks that may be less familiar with
pipx kedro new
I like using pipx as it gives you better control over using a specific
version or always the latest version, unlike when you run what you have on your
system depends on when you last installed or upgraded.
Kedro Ne...
Check out AckslD [1] and their project nvim-neoclip.lua [2].
Clipboard manager neovim plugin with telescope integration
References:
[1]: https://github.com/AckslD
[2]: https://github.com/AckslD/nvim-neoclip.lua
What is Kedro
Kedro is an unopinionated Data Engineering framework that comes with a somewhat
opinionated template. It gives the user a way to build pipelines that
automatically take care of io through the use of abstract DataSets that the
user specifies through Catalog entries. These Catalog entries are loaded,
ran through a function, and saved by Nodes. The order that these Nodes are
executed are determined by the Pipeline, which is a DAG. It’s the
runner’s job to manage the execution of the Nodes.
https://youtu.be/Wf4rnFsaFFU
---
What is Kedro [1]
This is an updated version of my original what-is-kedro article
---
Hot Take # [2]
If you are doing a series of operations to data with python, especially if you
are using something as supported as pandas, you should be using a framework
that gives you a pipeline as a DAG and abstracts io.
Orchestrators # [3]
Like I said, kedro is unopinionated it does determine where or how your data
should be ran. The kedro team does support the following ...
How I Kedro
https://youtu.be/bw5_FWDVRpU
Ubuntu # [1]
I recently switched over to using Ubuntu, it works well pretty much out of the
box for me. I am using gnome with a dark theme.
Gnome Terminal # [2]
I am still using the built in default gnome terminal, it just works. It does
all the things that I need it to do. It supports transparency renders my fonts
and allows me to highlight things well.
- One Dark Theme
dotfiles # [3]
You can find my
dotfiles [4] on
github. Feel free to read through and take anything that you
find useful. I would encourage you not to steal them, but to
integrate the parts that you want into your own dotfiles.
dotfiles are a very personal thing. They are an extension of
ones fingertips designed for how you think and type.
zsh # [5]
I use zsh as my default shell. I like to use it as my
interactive shell. It works, and does a bit better with
things like tab completion out of the box.
starship # [6]
I use the starship prompt for my shell. It works well out of
the...
tmux show-messages
https://youtu.be/LLk94fKpGg4
As we push the limits of tmux further and further you are bound to end up in a
situation where you are mashing down a hotkey and it’s just not doing what you
want it to do, and you have no idea why.
show-messages is a tmux command that can be used to show what tmux is
actually doing behind the scenes. This might highlight any hot key conflicts
you might have in your ~/.tmux.conf.
man page for show-messages # [1]
In case you wnat more information about show-messages, here is the man page.
show-messages [-JT] [-t target-client]
(alias: showmsgs)
Show server messages or information. Messages are stored, up to a
maximum of the limit set by the message-limit server option. -J and -T
show debugging information about jobs and terminals.
How I navigate tmux in 2021 [2]
for more information on how I navigate tmux, check out this full post
Also check out the full YouTube
tmux-playlist [3]
to see all of the videos in this series.
References:
[1]: #man-...
tmux ta
https://youtu.be/nT0FA1RNZEs
Now your creating, jumping, and killing sessions like a boss. You are slicing
through projects with ease, let me show you one more thing that can be the
cream on top of this silky smooth setup we have been working towards.
Chris Toomey’s [1] Tmux Course # [2]
This script is simply my fork of Chris Toomey’s tat script straight out of
his course. It helps us create or jump to project specific sessions with ease.
a directory of projects # [3]
My version of the ta script will let you pass it a directory, and it will
give you a fuzzy popup.
ta ~/git
setting up a keybinding # [4]
bind C-g display-popup -E "ta ~/git"
[5]
default layout # [6]
By default I have my projects open with a vertical split, vim is on top, with
my file finder open and the lower split is set to just my terminal. This is
what I do 90% of the time that I open a project anyways.
[7]
More projects # [8]
I also have a directory setup that is a symlink-gallery of all of my projec...
tmux display-message
https://youtu.be/utfLA6L8o5s
You’ve got some long running tasks, and you’re trying to stay productive and
knock tasks off that board, but you keep finding that your processes finish and
you stay on other tasks for longer than you should. You were in the flow and
just did not check back in on it. With display-message you can send yourself
a notification when that long running task is complete.
from the man page # [1]
Here is a snippet of display-message from the tmux man page. I rarely need
to do anything other than just display message, but there are other flags for
it.
display-message [-aINpv] [-c target-client] [-d delay] [-t target-pane] [message]
(alias: display)
Display a message. If -p is given, the output is printed to stdout,
otherwise it is displayed in the target-client status line for up to
delay milliseconds. If delay is not given, the message-time option is
used; a delay of zero waits for a key press. ‘N’ ignores key presses
and closes only after the delay e...
If you’re into interesting projects, don’t miss out on python_code_tips [1], created by heathdbrown [2].
No description available.
References:
[1]: https://github.com/heathdbrown/python_code_tips
[2]: https://github.com/heathdbrown
killing tmux
https://youtu.be/QWPyYx54JbE
Now it’s time to switch gears, we are onto a different part of our day and
there are just too many sessions running and we need to clean up shop.
kill-server # [1]
One viable option is to nuke the whole dang thing. I actually do this more
than you might think.
tmux kill-server
save and commit your work diligently before kill-server
kill-session # [2]
A more reasonable option might be to kill a single session.
# kills the current session
tmux kill-session
# kills the session named scratch
tmux kill-session -t scratch
choose-tree # [3]
Killing sessions one by one from the command line can be a bit tedious, and
involve more keystrokes than necessary. Another option built right into tmux
is choose-tree. By default choose-tree is bound to prefix+s, that’s
pressing control+b then s. Once you are in choose-tree, you can navigate
around with your configured navigation scheme, press x to kill a session, or
pane or window then y to confirm. You can also ...
tmux has-session
https://youtu.be/XucVVgGmesM
I see you there, trying to script out your tmux layouts. Tryig to get each
project setup just perfect with a script, but you keep stumbling over yourself
with duplicate session error messages
The has-session tmux command is a handy tool to prevent this duplicate session error message when scripting your tmux layouts.
command line # [1]
The command is pretty straight forward, you simply ask tmux if the session name
you are looking for exists.
tmux has-session -t "waylonwalker_com"
How I navigate tmux in 2021 [2]
for more information on how I navigate tmux, check out this full post
Also check out the full YouTube
tmux-playlist [3]
to see all of the videos in this series.
References:
[1]: #command-line
[2]: /tmux-nav-2021/
[3]: https://www.youtube.com/playlist?list=PLTRNG6WIHETB4reAxbWza3CZeP9KL6Bkr
I’m impressed by htmx [1] from bigskysoftware [2].
</> htmx [3] - high power tools for HTML [4]
References:
[1]: https://github.com/bigskysoftware/htmx
[2]: https://github.com/bigskysoftware
[3]: /htmx/
[4]: /html/
tmux list-keys
https://youtu.be/Y1MYmL8ZolE
Tmux list keys can be a useful tool to help remind you of what kebindings you
have setup. You can search for them and scroll just like in tmux copy-mode.
command line # [1]
You can call list-keys from the command line but the interface is not very
usable by itself. It might be nice to mix with grep or a pager in some
circumstances.
tmux list-keys
tmux command line # [2]
Running list-keys from within the tmux command line puts you into a much more
pleasant copy-mode.
list-keys
default keybinging # [3]
By default tmux comes with list-keys bound to prefix+?.
bind-key ? list-keys
list-keys man page # [4]
You can see the additional flags provided by tmux in the man page for
list-keys.
list-keys [-1aN] [-P prefix-string -T key-table] [key]
(alias: lsk)
List key bindings. There are two forms: the default lists keys as
bind-key commands; -N lists only keys with attached notes and shows
only the ke y and note for each key.
With the default form,...
tmux status-bar
https://youtu.be/mvgM8UH11_U
The tmux status bar can be a handy tool to remind yourself where you are within
tmux. It can also include a bunch of system information like battery status,
cpu, mem, whatever you can get from the command line. Honestly I like to keep
it minimal, and actually keep it turned off most of the time. I find that it
helps a little bit for others to follow along if I keep it on in certain
circumstances.
show the status bar # [1]
You can set a hotkey to show or hide the status bar.
bind s set-option -g status
bind C-s set-option -g status
setting the background transparent # [2]
I really want a minimal status bar with very little bling, I want it to get out
of the way an not draw too much attention, so step one is to set the background
to transparent.
# default statusbar colors
#――――――――――――――――――――――――――――――――
set-option -g status-bg default
set-option -g status-fg colour240
setting default colors # [3]
I want my status bar to somewhat match the rest of ...
tmux source-file
https://youtu.be/dDq0depPrTs
So you have been tricking out that .tmux.conf, you’re looking for a silky
smooth workflow that lets you fly through tmux with super speed, but every time
you tweak out that .tmux.conf you have to restart your whole session. Not amymore,
Let’s add this to the bottom of our tmux.conf so that you can see everytime it
gets sourced.
display-message "hello beautiful"
command # [1]
We can run this command from your shell to re-source your changed .tmux.conf
tmux source-file ~/.tmux.conf
It also works from the tmux command line.
source-file ~/.tmux.conf
tmux hotkey # [2]
It’s very common to set this up as a keybinding so that you can do it easily
without needing to memorize the exact command.
bind -T prefix r source-file ~/.tmux.conf
bind -n M-r source-file ~/.tmux.conf
from vim # [3]
This is my preferred way of re-sourcing my .tmux.conf. It sits quietly in
the background, and I dont need to remember to do anything. If you are a vim
user you can automat...
tmux fzf session jumper
https://youtu.be/DkJ9rb85LC0
Quickly getting between tmux splits is critical skill for productivity. You
can get by with next or prev session for awhile, but if you have more than
about three session you need something a bit more targeted.
Full Screen selector # [1]
I have used this fzf one keybinding for quite awhile, honestly I did not make
it up, and cannot remember where it came from. It will open up a session picker
in a new full screen window.
bind C-j new-window -n "session-switcher" "\
tmux list-sessions -F '#{?session_attached,,#{session_name}}' |\
sed '/^$/d' |\
fzf --reverse --header jump-to-session --preview 'tmux capture-pane -pt {}' |\
xargs tmux switch-client -t"
Popup selector # [2]
Like with many of my keybindings I have swapped this one out for a popup
version. It just feels so smooth.
bind C-j display-popup -E "\
tmux list-sessions -F '#{?session_attached,,#{session_name}}' |\
sed '/^$/d' |\
fzf --reverse --header jump-to-session --preview 'tmux capt...
tmux next/prev session
https://youtu.be/8kZnjHPYnKU
Now that we are splitting up work into their own sessions, lets talk about how
to navigate between them without the command line. Navigating sessions is what
kept me using a too many splits and windows workflow for far too long. It was
rough, I was always tripping over panes and windows until I got too frustrated
and just ran tmux kill-server to start on a new blank slate.
bind -n M-P switch-client -p
bind -n M-N switch-client -n
How I navigate tmux in 2021 [1]
for more information on how I navigate tmux, check out this full post
Also check out the full YouTube
tmux-playlist [2]
to see all of the videos in this series.
References:
[1]: /tmux-nav-2021/
[2]: https://www.youtube.com/playlist?list=PLTRNG6WIHETB4reAxbWza3CZeP9KL6Bkr
tmux start application
https://youtu.be/c-a2Bnv_NJ0
Scripting tmux to open up specific applications can be intimidating your first
time. It can be tricky to get it to start in the right directory. If you are
trying to assign applictaions to a keybinding it can be easy to mess up and
have weird things happen every time your ~/.tmux.conf gets sourced.
Open htop in an above split # [1]
I used this one for a number of years to take a quick peek into my systems
performance while a memory intensive task was running.
bind -n M-t split-window htop \; swap-pane -U
🗒️ note that the swap-pane -U will make the htop split active immediately
Open htop in a popup # [2]
With the new tmux popup windows I really like the flow of just peeking at
htop in a popup and jumping back into what I was doing. It can have a more
consistennt look, and not mess with the window layouts.
bind -n M-t popup -E -h 95% -w 95% -x 100% "htop"
Open an applicaiton in the current directory # [3]
One thing that can be tricky is getting ap...
tmux rename session
https://youtu.be/WRLRiQDjVIA
So you have been working on your tmux workflow, you’ve dropped a too many
window workflow for scoping work that belongs together into separate sessions,
but you cannot remember what session your work is in. If your diligent you have
named your window when you created it, but sometimes its intent has changed or
your were just plain too lazy at the time for the extra characters needed to
name it. Don’t worry we can still give that session a descriptive name.
Let’s rename some sessions in the terminal.
# rename the current session to me
tmux rename-session me
# rename the me session to scratch
tmux rename-session -t me scratch
There is a default keybinding that you can use <prefix>+$ to rename the
current session in the tmux command line.
bind-key $ command-prompt -I #S "rename-session '%%'"
I’ve also had this keybinding kicking around for years, but I rarely use it
anymore. You will see why in an upcoming video.
bind -n M-W command-prompt "rename-ses...
tmux targeted session
https://youtu.be/5KE7Il7SOEk
This is something that I made up but use every single day, this is what keeps
much of what is on my blog or my teams private work wiki going. I have a few
very important directories that I have assigned directly to a hotkey for fast
session switching.
bind -n M-i new-session -A -s waylonwalker_com "cd ~/git/waylonwalker.com/ && nvim"
bind i popup -E -h 95% -w 95% -x 100% "tmux new-session -A -s waylonwalker_com 'cd ~/git/waylonwalker.com/ && nvim'"
bind -n M-I popup -E "tmux new-session -A -s waylonwalker_com 'cd ~/git/waylonwalker.com/ && nvim'"
tmux new-session [1]
This one is building off of yeserday’s new-session post, make sure you check that one out as well.
How I navigate tmux in 2021 [2]
for more information on how I navigate tmux, check out this full post
Also check out the full YouTube
tmux-playlist [3]
to see all of the videos in this series.
References:
[1]: /tmux-new-session/
[2]: /tmux-nav-2021/
[3]: https://www.youtube.com/playlist?...
Check out ThePrimeagen [1] and their project vim-nav-playground [2].
No description available.
References:
[1]: https://github.com/ThePrimeagen
[2]: https://github.com/ThePrimeagen/vim-nav-playground
I recently discovered vim-fundamentals [1] by ThePrimeagen [2], and it’s truly impressive.
No description available.
References:
[1]: https://github.com/ThePrimeagen/vim-fundamentals
[2]: https://github.com/ThePrimeagen
tmux new-session
https://youtu.be/LbQNdCAUogE
This one starts a new chapter in our series that is going to open up a whole
new set of workflow productivity options, understanding how the new-session
command is a critical command in our adventure into tmux glory. This is going
to open the door for some seriously game changing hotkeys and scripting.
# create a new session
tmux new-session
# create a new session detached
tmux new-session -d
# create a new session and name it
tmux new-session -s me
# create a new named session and attach to it if one exists
tmux new-session -As me
How I navigate tmux in 2021 [1]
for more information on how I navigate tmux, check out this full post
Also check out the full YouTube
tmux-playlist [2]
to see all of the videos in this series.
References:
[1]: /tmux-nav-2021/
[2]: https://www.youtube.com/playlist?list=PLTRNG6WIHETB4reAxbWza3CZeP9KL6Bkr
tmux detach
https://youtu.be/A1qx3tNKDdA
tmux detach is a handy tmux command that will quit your current session while
keeping it running. The full name of the comamnd is detach-client, detach
is a shorthand.
default keybinding
bind-key d detach-client
I have mine bound to mod+d where mod is alt.
bind -n M-d detach-client
https://waylonwalker.com/tmux-nav-2021/
for more information on how I navigate tmux, check out this full post
Also check out the full YouTube
tmux-playlist [1]
to see all of the videos in this series.
References:
[1]: https://www.youtube.com/playlist?list=PLTRNG6WIHETB4reAxbWza3CZeP9KL6Bkr
tmux attach
https://youtu.be/JQ0yDCVu44E
attach is one of the most useful features of tmux. If you have no interest in
tmux for pane and window management, you should use tmux for this. It can be a
life saver if you ever get disconnected from the host machine or accidently
close your terminal you can connect right back into the session you were just
in using attach.
attach # [1]
tmux attach
this command will simply attach back to tmux if you are ever disconnected
If you ever run long running tasks on a remote machine by sshing into this you
should be doing it inside tmux, or something like tmux so that you do not loose
your work.
attach to a specific session # [2]
If you have multiple sessions running you can select the session that you want
to attach to by passing -t <name-of-session>.
tmux attach -t scratch
How I navigate tmux in 2021 [3]
for more information on how I navigate tmux, check out this full post
Also check out the full YouTube
tmux-playlist [4]
to see all of the videos i...
Git in Depth Notes
These are my notes from taking @nnja’s FEM course git-in-depth [1].
requirements # [2]
- git --version > than 2.0
creating a git # [4]
echo "hello" | git hash-object --stdin
References:
[1]: https://frontendmasters.com/courses/git-in-depth/
[2]: #requirements
[3]: /glossary/git/
[4]: #creating-a-git
tmux ls
https://youtu.be/LY41GLn_DGg
tmux ls will list the sessions that you have running within the tmux server if
tmux is currently running. This is handy to combine with commands such as attach.
tmux ls
tmux attach [1]
How I navigate tmux in 2021 [2]
for more information on how I navigate tmux, check out this full post
Also check out the full YouTube
tmux-playlist [3]
to see all of the videos in this series.
References:
[1]: /tmux-attach/
[2]: /tmux-nav-2021/
[3]: https://www.youtube.com/playlist?list=PLTRNG6WIHETB4reAxbWza3CZeP9KL6Bkr
tmux command line
https://youtu.be/SNu-4IrkjAs
So far we have covered a lot of tmux commands and how they map to keybindings
but these same commands can be executed at the command line.
From the command line # [1]
Let’s make a popup that displays our git [2] status for 5s or until we close it
manually. We can run the following command at the command line, in a split.
tmux display-popup -E -d '#{pane_current_path}' 'git status && sleep 5'
From the tmux command line # [3]
Or we can open the tmux command line and run it from tmux’s built in command
line, which is very similar to bim EX mode. By default the tmux command line
can be opened with prefix+[.
display-popup -E -d '#{pane_current_path}' 'git status && sleep 5'
🗒️ note that the tmux command is called by default when inside of tmux.
Make it a keybinding # [4]
Finally we can make it a keybinding by adding a bind command ahead of our tmux
command, then we can execute this in the tmux command line or add it to our
~/.tmux.conf.
bind s displ...
tmux copy-mode
https://youtu.be/-ypY_-VmBKk
tmux copy-mode is a tmux mode that lets you scroll, search, copy, and jump your
way through a pane. There are a ton of keybindings for copy-mode, the main
ones you will need to know are / for searching down ? for searching up, n
for next item, space for starting a selection, and enter to copy the
selection. Arrow keys will be used for navigation unless you have specified vi mode, then it will be hjkl.
Default keybinding to get into copy mode is prefix+[.
bind-key [ copy-mode
If you are a vim user you will likely want to use vi style keys, add this to
your ~/.tmux.conf file to enable vi mode.
setw -g mode-keys vi
full list of copy-mode keybindings from the man page.
Command vi emacs
append-selection
append-selection-and-cancel A
back-to-indentation ^ M-m
begin-selection Space C-Space
bottom-line L
cancel q Escape
clear-selection Escape C-g
copy-end-of-line [<prefix>] D C-k
copy-line [<prefix>]
copy-pipe [<command>] [<prefix>]
copy-pipe-no...
tmux join-pane
https://youtu.be/Vm5rRtcVXLw
Join-pane allows you to join panes that you have broken away from your window,
or created in a different window to the window you want it in. As far as I
know there is not a default keybinding for it.
Before you can join a pane you must first have a pane marked to join. Once you
mark a pane, go back to the window you want to join it to and join-pane.
My keybindings, you must add this to your ~/.tmux.conf file to use them.
# Mark and swap panes
#――――――――――――――――――――――――――――――――――――――――――――
bind -n M-m select-pane -m # mark
bind -n M-M select-pane -M # unmark
bind -n M-< join-pane
How I navigate tmux in 2021 [1]
for more information on how I navigate tmux, check out this full post
Also check out the full YouTube
tmux-playlist [2]
to see all of the videos in this series.
References:
[1]: /tmux-nav-2021/
[2]: https://www.youtube.com/playlist?list=PLTRNG6WIHETB4reAxbWza3CZeP9KL6Bkr
tmux break-pane
https://youtu.be/ICL609F2xnc
Break-pane is a handy tmux command when your layout gets too cramped and you
want to just move a split into its own window. Calling break-pane does
exactly that, it creates a new-window for you and moves your currently
selected split into that window
Default key binding for break-pane
bind-key ! break-pane
How I navigate tmux in 2021 [1]
for more information on how I navigate tmux, check out this full post
References:
[1]: /tmux-nav-2021/
tmux zoom
https://youtu.be/Rn6mOarCQ-Y
Zooming into the current split in tmux is a valuable tool to give yourself some
screen real estate. These days I am almost always presenting, streaming, or
pairing up with a co-worker over a video call. Since I am always sharing my
screen I am generally zoomed in to a level that is just a bit uncomfortable, so
anytime I make a split it is really uncomfortable, being able to zoom into the
split I am focused on is a big help, and also help anyone watching follow where
I am currently working.
Default key bindings for zooming the current split
bind-key z resize-pane -Z
I have rebound this to match the default binding with mod+z rather so that I
get that single keystroke experience.
bind -n M-z resize-pane -Z
How I navigate tmux in 2021 [1]
for more information on how I navigate tmux, check out this full post
References:
[1]: /tmux-nav-2021/
tmux new-window
https://youtu.be/YRPZBv-iYyE
New window as it sounds makes new windows in tmux. Windows are kind of like
tabs. They are another screen within your sessions that you can name and make
new panes in.
Default key bindings for creating and navigating windows in tmux.
bind-key c new-window
bind-key p previous-window
bind-key n next-window
As always I have rebound these keys because I generally prefer a single
keystroke over the prefix plus keybinding approach that tmux gives by default.
#――windows――――――――――――――――――――――――――――――――――――――
bind -n M-c new-window -c '#{pane_current_path}'
bind -n M-p previous-window
bind -n M-n next-window
When I started using tmux I did almost everything in one giant session with
many panes and windows. It became a nightmare to manage and quickly get
between two sets work efficiently. This year I leaned in on sessions quite
heavily. Checkout this 👇 post to see that workflow in depth.
How I navigate tmux in 2021 [1]
for more information on how I navigate ...
I came across jumpcutter [1] from emkademy [2], and it’s packed with great features and ideas.
Automatically jump-cut silent parts of your videos using Python
References:
[1]: https://github.com/emkademy/jumpcutter
[2]: https://github.com/emkademy
tmux slect-pane
https://youtu.be/CPZJZjN9YTY
These are my MOST often used keybindings that I use in tmux. They allow me to
jump between splits with ease with a vim style layout. I can hold mod and jump
between panes with a familiar arrow key.
bind -n M-h select-pane -L
bind -n M-l select-pane -R
bind -n M-k select-pane -U
bind -n M-j select-pane -D
How I navigate tmux in 2021 [1]
for more information on how I navigate tmux, check out this full post
References:
[1]: /tmux-nav-2021/
tmux rotate-window
https://youtu.be/06z5qf81ofo
Rotate window is the main way that I navigated tmux before I learned
select-pane. It allows you to change your focused pane, or rotate the
position of the panes easily.
Default keybindings
bind-key C-o rotate-window
bind-key o select-pane -t :.+
My keybindings look just a bit different than the default ones, I do not like
needing to hit prefix for every command, especially for repeated commands. I
set a similar keybinding to the default one that uses mod instead of prefix.
bind -n M-o select-pane -t :.+
bind -n M-O rotate-window
How I navigate tmux in 2021 [1]
for more information on how I navigate tmux, check out this full post
References:
[1]: /tmux-nav-2021/
tmux select-layout
https://youtu.be/F0mHnwTrNNc
When you get many splits going in tmux sometimes its time for a new layout.
There are four layout strategies that I use, main-vertical, main-horizontal,
even-vertical, even-horizontal. Almost always I am useing the main ones with
mod plus a or mod plus shift a keybindings.
# Select Layouts
#―――――――――――――――――
bind -n M-a select-layout main-vertical
bind -n M-A select-layout main-horizontal
bind -n M-E select-layout even-vertical
bind -n M-V select-layout even-horizontal
How I navigate tmux in 2021 [1]
for more information on how I navigate tmux, check out this full post
References:
[1]: /tmux-nav-2021/
tmux resize-panes
https://youtu.be/hpFYE2LU7xc
Resizing panes in tmux can be quite difficult in default tmux, I
use a set of keybingings to help resize panes in the rare occasions
that I do need just a bit more space. I set the keybinding to the same as my
split navigation bindings but shifted. They are very vim like (h,j,k,l).
# resize panes
#―――――――――――――――――――――――――――――
bind -n M-H resize-pane -L 2
bind -n M-L resize-pane -R 2
bind -n M-K resize-pane -U 2
bind -n M-J resize-pane -D 2
Most often when I need to resize panes I just grab the edge of the pane with my
mouse. Yes the mouse, its not that often that I actually need to change the
size of a pane.
# Enable mouse control (clickable windows, panes, resizable panes)
set -g mouse on
How I navigate tmux in 2021 [1]
for more information on how I navigate tmux, check out this full post
References:
[1]: /tmux-nav-2021/
ThePrimeagen [1] has done a fantastic job with refactoring.nvim [2]. Highly recommend taking a look.
The Refactoring library based off the Refactoring book by Martin Fowler
References:
[1]: https://github.com/ThePrimeagen
[2]: https://github.com/ThePrimeagen/refactoring.nvim