omerxx / tmux-sessionx

A Tmux session manager, with preview, fuzzy finding, and MORE
GNU General Public License v3.0
565 stars 51 forks source link

Added an option to ignore prefix #7

Open alihammad-gist opened 7 months ago

alihammad-gist commented 7 months ago

This pull request adds an option @sessionx-prefix (on by default) which when set to off, will ignore tmux's prefix key when binding a key to launch sessionx popup. The following configuration maps Ctrl+s to launch sessionx popup.

set -g @sessionx-bind 'C-s'
set -g @sessionx-prefix off
omerxx commented 7 months ago

@alihmm @alihammad-gist Cool! Can you add this to the readme please and I'll merge? Thanks!

alihammad-gist commented 7 months ago

@omerxx Added a little description for the option @session-prefix in read me.

omerxx commented 7 months ago

Thanks! Lots of markdown auto fixed it seems like title line breaks and cleaning empty spaces. Are you using a plugin / LSP of some sort for that?

alihammad-gist commented 7 months ago

Yes, using prettier as a vim filter for formatting. These formatters use some sort of standard formatting so you don't have to memorize what goes where. Prettier is pretty handy cuz it supports a lot of filetypes including markdown. It's available on npm. Btw great plugin, especially the revised design is a lot better.

omerxx commented 6 months ago

@alihammad-gist Gotcha. Care to fix the conflicts so I could merge?

the-spanish-guy commented 5 months ago

I was looking at this PR and I liked the idea but I saw that it wasn't merged due to the conflicts, is there a plan to fix this? If necessary, I can open a new pr implementing this