Our great sponsors
tpm | tmux | |
---|---|---|
19 | 205 | |
11,047 | 32,600 | |
3.7% | 2.4% | |
1.3 | 8.3 | |
about 2 months ago | 4 days ago | |
Shell | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tpm
-
using nvim + tmux
To begin, you should check out tmux plugins manger/tpm, which will feel pretty familiar if you're used to working with nvim plugins. Once you have that up and running you can plug vim-tmux-navigator, which allows you to move smoothly through tmux and nvim panes using ctrl-h/j/k/l. There are various other tmux plugins that are super-useful for customizing your tmux workspace.
-
Replicate My Setup
tpm repo
-
Help wanted: Zsh completion like Vertico+Orderless
# This configuration file binds many vi- and vim-like bindings to the # appropriate tmux key bindings. Note that for many key bindings there is no # tmux analogue. set-window-option -g automatic-rename on set -g mouse on set -g history-limit 1000000 ## FZF for panes TMUX_FZF_POPUP=1 TMUX_FZF_PREVIEW=1 TMUX_FZF_OPTIONS="-p -w 62% -h 38%" TMUX_FZF_ORDER="session|window|pane|command|keybinding" TMUX_FZF_PANE_FORMAT="[#{window_name}] #{pane_current_command} [#{pane_width}x#{pane_height}] [history #{history_size}/{history_limit}, #{history_bytes} bytes] #{?pane_active,[active],[inactive]}" TMUX_FZF_LAUNCH_KEY="C-a" # set prefix key to ctrl+a until I have time to adapt unbind C-b set -g prefix C-a set -g escape-time 0 # split windows like vim # vim's definition of a horizontal/vertical split is reversed from tmux's bind - split-window -v bind | split-window -h bind S setw synchronize-panes # move around panes with hjkl, as one would in vim after pressing ctrl-w bind C-h select-pane -L bind C-j select-pane -D bind C-k select-pane -U bind C-l select-pane -R # resize panes like vim # feel free to change the "1" to however many lines you want to resize by, only # one at a time can be slow bind H resize-pane -L 20 bind J resize-pane -D 20 bind K resize-pane -U 20 bind L resize-pane -R 20 # bind : to command-prompt like vim # this is the default in tmux already bind : command-prompt # vi-style controls for copy mode setw -g mode-keys vi set -g default-terminal screen-256color # Copy-paste integration bind-key -T copy-mode-vi 'v' send -X begin-selection bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel pbcopy bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel pbcopy bind-key -T copy-mode-vi MouseDragEnd3Pane send -X copy-pipe-and-cancel pbcopy # Use vim keybindings in copy mode setw -g mode-keys vi # Start copy mode when scrolling up and exit when scrolling down to bottom. # The "#{mouse_any_flag}" check just sends scrolls to any program running that # has mouse support (like vim). bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e'" ## LINK TO CLONE tpm # git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm # # List of plugins # Supports `github_username/repo` or full git repo URLs set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum' set -g @plugin 'tmux-plugins/tmux-copycat' set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'tmux-plugins/tmux-open' set -g @plugin 'tmux-plugins/tmux-urlview' set -g @plugin 'tmux-plugins/tmux-online-status' set -g @plugin 'tmux-plugins/tmux-logging' set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'jimeh/tmux-themepack' set -g @plugin 'yardnsm/tmux-1password' set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-open' set -g @plugin 'Morantron/tmux-fingers' set -g @plugin 'sainnhe/tmux-fzf' set -g @plugin 'laktak/extrakto' set -g @plugin 'tmux-plugins/tmux-sessionist' set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum' set -g @plugin 'rafi/tmux-pass' set -g @plugin 'Morantron/tmux-fingers' set -g @plugin 'dracula/tmux' #set -g @plugin 'charlietag/tmux-themes' #set -g @theme-loading-cpu-mem 'on' # [ on | off] , default: on #set -g @theme-network-bandwith 'on' # [ on | off] , default: on #set -g @theme-dark-mode 'on' # [ on | off] , default off #set -g @theme-dark-mode-bindkey 'T' # [ -r T | M-s | -n F11 ] , this is for toggle theme dark mode, define yourself just like bind-key set -g @pass-key 'P' set -g @pass-copy-to-clipboard 'on' set -g @pass-hide-pw-from-preview 'on' set -g @continuum-save-interval '15' set -g @continuum-boot-options 'iterm' set -g @continuum-boot 'on' #set -g @themepack 'basic' run-shell ~/.tmux/plugins/themes/theme.tmux # Initializes TMUX plugin manager. # Keep this line at the very bottom of tmux.conf. run-shell '~/.tmux/plugins/tpm/tpm'
-
TPM not working with tmux 3.2a
I have already tried all solutions that can be found in the official GitHub thread . Any help will be much appreciated.
-
Terminal 'status' bar/area, a la shox
You'll probably want to use Tmux Plugin Manager (TPM) to manage your tmux plugins and maybe some other goodies from the tmux-plugins repo.
-
Are there other people out there who use tmux just plain? No plugins, no .tmux.conf?
here's some doc: https://github.com/tmux-plugins/tpm
-
What are your favorite tmux tips and tricks
########################################################################## # TMUX plugin manager - This must run last ################################################################################ # Check to see if tmux is installed, if not clone the repo. This assumes Git is # installed. if "test ! -d ~/.tmux/plugins/tpm" \ "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'" # Run the plugin manager run -b '~/.tmux/plugins/tpm/tpm'
- How to get Dracula theme working with tmux?
-
Show HN: My plugin system/package manager for Git
That's not going to scale well; can you get it to just take arbitrary git(hub|lab)/whatever URLs like https://github.com/tmux-plugins/tpm , or does it require buy in from the plugins?
-
Useful Tmux Configuration Examples
In the following section, I will briefly go over TPM. If you want to learn more, feel free to check the repository!
tmux
-
Easy Access to Terminal Commands in Neovim using FTerm
Having a common set of tools already set up in different windows or sessions in Tmux or Zellij is obviously an option, but there is a subset of us ( 👋 ) that would rather just have fingertip access to our common tools inside of our editor.
-
Zellij – A terminal workspace with batteries included (tmux alternative)
After having spent too much time trying to get the simple https://github.com/csdvrx/sixel-tmux/ features into mainline tmux (last November https://github.com/tmux/tmux/issues/3753), maybe it'd be easier to jump ship as use zellij?
Could anyone offer recommendations on "riced" zellij configuations, or just a demo where it shows doing with (say charts of disk usage per folder), watching a movie with mpv + keeping a vim to type on?
-
Automating the startup of a dev workflow
Well, I now use tmux and tmuxinator. I have had many failed tmux attempts over the years, but I'm firmly bedded in now.
-
Clipboards, Terminals, and Linux
Which leads me to clipboards. Linux has two of them! Adding to the interest, I typically use Neovim remotely, via an SSH connection to a Tmux session. And on my Linux system, I use urxvt as my terminal program. All of these are very UNIX-y tools, and somehow they all need to play nicely together.
-
Connecting Debugger to Rails Applications
The downside of overmind is that it requires tmux, which is a terminal multiplexer tool. If you don't already use tmux, I'd say it's probably not worth learning it just for the purposes of using overmind. But if you're like me and already know/use tmux, this can be a great solution to pursue.
- Enchula Mi Consola
-
Pimp your CLI
As a developer, the command line is one of the tools you will be using most frequently. It can be intimidating to venture into the world of CLI tooling but I can assure you it is one of the most rewarding experiences too. In this post I want to walk ya'll through my personal CLI setup. It is based on 3 technologies which I'll coin as the "Holy Trinity" of the command line: TMUX, ZSH, & Neovim.
-
Day 5 - More or less...
After that, you can go up a notch and try to have several shell sessions open at the same time in the same terminal window with a terminal multiplexer. Try screen - that's a little simpler and maybe too terse in the beginning - or tmux, that have many features and colors. There are so much material out there on "how to customize your tmux", have fun.
-
How would you work effectively with an extremely slow 56Kbps connection?
A few days ago I made a suggestion to work around any possible issues but it's up to the main tmux maintainer to decide what to do.
-
NeoVim Capability Functions
For splitting the terminal you could try either toggleterm or tmux. If you want to send things from one tmux pane to another, then you can use slime. For a toggle-able filetree, you can use nvim tree.
What are some alternatives?
zellij - A terminal workspace with batteries included
kitty - Cross-platform, fast, feature-rich, GPU based terminal
tilix - A tiling terminal emulator for Linux using GTK+ 3
toggleterm.nvim - A neovim lua plugin to help easily manage multiple terminal windows
i3 - A tiling window manager for X11
Mosh - Mobile Shell
emacs-theme-gruvbox - Gruvbox is a retro groove color scheme for Emacs. Port of the Vim version.
LDWin - Link Discovery for Windows
fish-shell - The user-friendly command line shell.
wezterm - A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
LazyVim - Neovim config for the lazy
pytorch-lightning - Build high-performance AI models with PyTorch Lightning (organized PyTorch). Deploy models with Lightning Apps (organized Python to build end-to-end ML systems). [Moved to: https://github.com/Lightning-AI/lightning]