this post was submitted on 13 Jun 2023
9 points (100.0% liked)

Shell Scripting

1343 readers
1 users here now

From Ash, Bash and Csh to Xonsh, Ysh and Zsh; all shell languages are welcome here!

Rules:
  1. Follow Lemmy rules!
  2. Posts must relate to shell scripting. (See bottom of sidebar for more information.)
  3. Only make helpful replies to questions. This is not the place for low effort joke answers.
  4. No discussion about piracy or hacking.
  5. If you find a solution to your problem by other means, please take your time to write down the steps you used to solve your problem in the original post. You can potentially help others having the same problem!
  6. These rules will change as the community grows.

Keep posts about shell scripting! Here are some guidelines to help:


In general, if your submission text is primarily shell code, then it is welcome here!

founded 1 year ago
MODERATORS
 

I found this post really helpful to anyone who is using tmux

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago (1 children)

If you're using Neovim as well as tmux, telescope-tmux is pretty awesome for switching sessions, windows and more.

[–] [email protected] 1 points 1 year ago (1 children)

Very nice, thanks. But I'm not always inside neovim to use this plugin tho

[–] [email protected] 2 points 1 year ago (1 children)

You don't have to already be inside of Neovim.

Tmux 3.2's new display-popup command is a neat way to access the telescope picker when you are outside of Neovim.

source: https://github.com/camgraff/telescope-tmux.nvim#use-with-tmux-display-popup

You can just set up a keybinding, and a new instance of Neovim will start in a popup window inside of Tmux.

There's a fractional delay while Neovim starts up, but I find it well within tolerance, personally.

[–] [email protected] 1 points 1 year ago

nice, I'll check it out