René's URL Explorer Experiment


Title: Load config appending windows in current active session by emanuelhfarias · Pull Request #501 · tmux-python/tmuxp · GitHub

Open Graph Title: Load config appending windows in current active session by emanuelhfarias · Pull Request #501 · tmux-python/tmuxp

X Title: Load config appending windows in current active session by emanuelhfarias · Pull Request #501 · tmux-python/tmuxp

Description: I see some people requesting this feature (me included) #289 #373 and some even tried to add this functionality #374 #407 but those ideas never went from draft. I decided to implement this feature maintaining the compatibility with features we already have (open attached and detached). The motivation to this feature is because I feel more productive seen everything I have opened as visible windows. I tried to use several sessions and switch-sessions using tmux shortcut C-b s but I didn't get use to it (maybe I will try again in the future). Summarizing what this PR adds: When you try to load a config file within a current open tmux session it will ask you if you want to: create a new session and attach? create a new session and detach? load config appending windows in the current active session? To maintain the compatibility I didn't change the question, I just added another option to the user. Already inside TMUX, switch to session? yes/no Or (a)ppend windows in the current active session? [y/n/a]: If you anwser: Yes it will attach No will detach Append will append windows in the same session I also added the ability to force append using the CLI: $ tmuxp load -a config I hope to see this feature in tmuxp. Who else's want? 👆

Open Graph Description: I see some people requesting this feature (me included) #289 #373 and some even tried to add this functionality #374 #407 but those ideas never went from draft. I decided to implement this feature ...

X Description: I see some people requesting this feature (me included) #289 #373 and some even tried to add this functionality #374 #407 but those ideas never went from draft. I decided to implement this feature ...

Opengraph URL: https://github.com/tmux-python/tmuxp/pull/501

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:805ff41c-cae7-32eb-ba1a-d35278010d49
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB74E:476C3:287580:388140:6B0087CC
html-safe-nonce14ba5daa72417b998d314533b2ab1c4cb50284e9ca9193ef6410d543cdac12ca
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzRFOjQ3NkMzOjI4NzU4MDozODgxNDA6NkIwMDg3Q0MiLCJ2aXNpdG9yX2lkIjoiNTUyNjk0NTU3ODIyNDc0ODQ5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac395be480dd49fd0d5db5acfa01d390cb5ddff4d14ec97faeb02e0a733b4bdcab
hovercard-subject-tagpull_request:296438605
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/tmux-python/tmuxp/pull/501/files
twitter:imagehttps://avatars.githubusercontent.com/u/2531249?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/2531249?s=400&v=4
og:image:altI see some people requesting this feature (me included) #289 #373 and some even tried to add this functionality #374 #407 but those ideas never went from draft. I decided to implement this feature ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4d3d8e50f02c1d7bf86d5acfa1d3bfe9366abd6528a6b429eb07a168429d2b61
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/tmux-python/tmuxp git https://github.com/tmux-python/tmuxp.git
octolytics-dimension-user_id37234308
octolytics-dimension-user_logintmux-python
octolytics-dimension-repository_id12398170
octolytics-dimension-repository_nwotmux-python/tmuxp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id12398170
octolytics-dimension-repository_network_root_nwotmux-python/tmuxp
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedb758f8e02b8257935fb03edf81a3e76eb3abd11
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/tmux-python/tmuxp/pull/501/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftmux-python%2Ftmuxp%2Fpull%2F501%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftmux-python%2Ftmuxp%2Fpull%2F501%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=tmux-python%2Ftmuxp
Reloadhttps://github.com/tmux-python/tmuxp/pull/501/files
Reloadhttps://github.com/tmux-python/tmuxp/pull/501/files
Reloadhttps://github.com/tmux-python/tmuxp/pull/501/files
tmux-pythonhttps://github.com/tmux-python
tmuxphttps://github.com/tmux-python/tmuxp
Codehttps://github.com/tmux-python/tmuxp
Issues113 (113)https://github.com/tmux-python/tmuxp/issues
Pull requests29 (29)https://github.com/tmux-python/tmuxp/pulls
Discussionshttps://github.com/tmux-python/tmuxp/discussions
Actionshttps://github.com/tmux-python/tmuxp/actions
Security and qualityhttps://github.com/tmux-python/tmuxp/security
Insightshttps://github.com/tmux-python/tmuxp/insights
Sign up for GitHub https://github.com/signup?return_to=%2Ftmux-python%2Ftmuxp%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftmux-python%2Ftmuxp%2Fissues%2Fnew%2Fchoose
emanuelhfariashttps://github.com/emanuelhfarias
tmux-python:masterhttps://github.com/tmux-python/tmuxp/tree/master
Conversation 12 https://github.com/tmux-python/tmuxp/pull/501
Commits 14 https://github.com/tmux-python/tmuxp/pull/501/commits
Checks 0 https://github.com/tmux-python/tmuxp/pull/501/checks
Files changed https://github.com/tmux-python/tmuxp/pull/501/files
Please reload this pagehttps://github.com/tmux-python/tmuxp/pull/501/files
Load config appending windows in current active session https://github.com/tmux-python/tmuxp/pull/501/files#top
Show all changes 14 commits https://github.com/tmux-python/tmuxp/pull/501/files
3be522f load config and append windows in same session emanuelhfarias Jul 2, 2019 https://github.com/tmux-python/tmuxp/pull/501/commits/3be522f8e448d884d3c722864191d774d84ef484
e1bc91a fix first window pass emanuelhfarias Jul 3, 2019 https://github.com/tmux-python/tmuxp/pull/501/commits/e1bc91a194300091d7042d265e24e8f9aefecad4
2ebd3eb add menu to maintain compatibility emanuelhfarias Jul 4, 2019 https://github.com/tmux-python/tmuxp/pull/501/commits/2ebd3ebe4d7430668f0553f3add90fcdff3eb3b0
6b5b702 fix tests emanuelhfarias Jul 4, 2019 https://github.com/tmux-python/tmuxp/pull/501/commits/6b5b702be161a0680e26498e05b261f97ee5ea22
a065296 add tests to load configs in same session emanuelhfarias Jul 6, 2019 https://github.com/tmux-python/tmuxp/pull/501/commits/a065296ee9d322a722c8bbad8fd8187cad275c65
b85dfca remove unused code emanuelhfarias Jul 6, 2019 https://github.com/tmux-python/tmuxp/pull/501/commits/b85dfca3c6af387e7c1e7763bd35042a52c57153
590f440 add better comments emanuelhfarias Jul 6, 2019 https://github.com/tmux-python/tmuxp/pull/501/commits/590f44091b1ff320e93fbe79e6dc05ca7a0c386a
353c7d7 give a better parameter name emanuelhfarias Jul 6, 2019 https://github.com/tmux-python/tmuxp/pull/501/commits/353c7d7621c48a87f6a6aa8e20e9db5fcbc60528
670d715 fix flake8 recommendations emanuelhfarias Jul 9, 2019 https://github.com/tmux-python/tmuxp/pull/501/commits/670d715d780a20c37b54c405ffb849a4afa86be2
71ad54e [refactor] simplify load maintaining params compatibility emanuelhfarias Jul 10, 2019 https://github.com/tmux-python/tmuxp/pull/501/commits/71ad54e486b987eead737c69d96e2dbd92ffee68
de94710 add CLI append option and maintain params compatibility emanuelhfarias Jul 11, 2019 https://github.com/tmux-python/tmuxp/pull/501/commits/de947107affb3184b495e9cce65175be2f6c5a7b
bb3da37 update docs with new method params emanuelhfarias Jul 11, 2019 https://github.com/tmux-python/tmuxp/pull/501/commits/bb3da3751caf8f30c7ca910f2d30c93f2a9d8054
604e3b3 update version emanuelhfarias Jul 11, 2019 https://github.com/tmux-python/tmuxp/pull/501/commits/604e3b37640c2afe571e26459d7b75f6ab28859e
8cf07a0 fix tests forcing append on build as param emanuelhfarias Jul 13, 2019 https://github.com/tmux-python/tmuxp/pull/501/commits/8cf07a03faf474e6693a60707f63fda30a465188
Clear filters https://github.com/tmux-python/tmuxp/pull/501/files
Please reload this pagehttps://github.com/tmux-python/tmuxp/pull/501/files
Please reload this pagehttps://github.com/tmux-python/tmuxp/pull/501/files
api.rst https://github.com/tmux-python/tmuxp/pull/501/files#diff-9ceb22fb61ab27613e143e733f0d2ef128c1f72125ae3c6324465955bd093f93
cli.rst https://github.com/tmux-python/tmuxp/pull/501/files#diff-a365332038c978543435720dfa0430019f11ae1a3c1031c64bb01df3eceb0df9
quickstart.rst https://github.com/tmux-python/tmuxp/pull/501/files#diff-2497cbf99419b0e00ddc226d253a5ed7c60c01c890d331db3a634f1afa7bd90f
three_windows.yaml https://github.com/tmux-python/tmuxp/pull/501/files#diff-6ce8bab47821ede64183af20bc7b551435d227bf6e413b357480db1932187145
two_windows.yaml https://github.com/tmux-python/tmuxp/pull/501/files#diff-0ea1398f1c4e9362af727e84a631f7c52b50e0b33dd4a1fbb1f7f2984f562257
test_workspacebuilder.py https://github.com/tmux-python/tmuxp/pull/501/files#diff-3e48381360600bc6bc310f9ede3e4f8cc1af7d8b3db57587c893686e250966da
__about__.py https://github.com/tmux-python/tmuxp/pull/501/files#diff-dfad091168acbc887ac7da9b78c3025563cbdb253ddf8793f841cbb3b60fe651
cli.py https://github.com/tmux-python/tmuxp/pull/501/files#diff-4d7d7e5291d4e3b3a36d7f47b46db0eea18d2e4fc18a85d525ec22260293fd0d
workspacebuilder.py https://github.com/tmux-python/tmuxp/pull/501/files#diff-9316655a97cbe443559ee45c1b1fa26bfa86e314210653806ce215702a956931
doc/api.rsthttps://github.com/tmux-python/tmuxp/pull/501/files#diff-9ceb22fb61ab27613e143e733f0d2ef128c1f72125ae3c6324465955bd093f93
View file https://github.com/tmux-python/tmuxp/blob/8cf07a03faf474e6693a60707f63fda30a465188/doc/api.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/tmux-python/tmuxp/pull/501/{{ revealButtonHref }}
https://github.com/tmux-python/tmuxp/pull/501/files#diff-9ceb22fb61ab27613e143e733f0d2ef128c1f72125ae3c6324465955bd093f93
https://github.com/tmux-python/tmuxp/pull/501/files#diff-9ceb22fb61ab27613e143e733f0d2ef128c1f72125ae3c6324465955bd093f93
doc/cli.rsthttps://github.com/tmux-python/tmuxp/pull/501/files#diff-a365332038c978543435720dfa0430019f11ae1a3c1031c64bb01df3eceb0df9
View file https://github.com/tmux-python/tmuxp/blob/8cf07a03faf474e6693a60707f63fda30a465188/doc/cli.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/tmux-python/tmuxp/pull/501/{{ revealButtonHref }}
https://github.com/tmux-python/tmuxp/pull/501/files#diff-a365332038c978543435720dfa0430019f11ae1a3c1031c64bb01df3eceb0df9
https://github.com/tmux-python/tmuxp/pull/501/files#diff-a365332038c978543435720dfa0430019f11ae1a3c1031c64bb01df3eceb0df9
doc/quickstart.rsthttps://github.com/tmux-python/tmuxp/pull/501/files#diff-2497cbf99419b0e00ddc226d253a5ed7c60c01c890d331db3a634f1afa7bd90f
View file https://github.com/tmux-python/tmuxp/blob/8cf07a03faf474e6693a60707f63fda30a465188/doc/quickstart.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/tmux-python/tmuxp/pull/501/{{ revealButtonHref }}
https://github.com/tmux-python/tmuxp/pull/501/files#diff-2497cbf99419b0e00ddc226d253a5ed7c60c01c890d331db3a634f1afa7bd90f
https://github.com/tmux-python/tmuxp/pull/501/files#diff-2497cbf99419b0e00ddc226d253a5ed7c60c01c890d331db3a634f1afa7bd90f
tests/fixtures/workspacebuilder/three_windows.yamlhttps://github.com/tmux-python/tmuxp/pull/501/files#diff-6ce8bab47821ede64183af20bc7b551435d227bf6e413b357480db1932187145
View file https://github.com/tmux-python/tmuxp/blob/8cf07a03faf474e6693a60707f63fda30a465188/tests/fixtures/workspacebuilder/three_windows.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/tmux-python/tmuxp/pull/501/{{ revealButtonHref }}
tests/fixtures/workspacebuilder/two_windows.yamlhttps://github.com/tmux-python/tmuxp/pull/501/files#diff-0ea1398f1c4e9362af727e84a631f7c52b50e0b33dd4a1fbb1f7f2984f562257
View file https://github.com/tmux-python/tmuxp/blob/8cf07a03faf474e6693a60707f63fda30a465188/tests/fixtures/workspacebuilder/two_windows.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/tmux-python/tmuxp/pull/501/{{ revealButtonHref }}
tests/test_workspacebuilder.pyhttps://github.com/tmux-python/tmuxp/pull/501/files#diff-3e48381360600bc6bc310f9ede3e4f8cc1af7d8b3db57587c893686e250966da
View file https://github.com/tmux-python/tmuxp/blob/8cf07a03faf474e6693a60707f63fda30a465188/tests/test_workspacebuilder.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/tmux-python/tmuxp/pull/501/{{ revealButtonHref }}
https://github.com/tmux-python/tmuxp/pull/501/files#diff-3e48381360600bc6bc310f9ede3e4f8cc1af7d8b3db57587c893686e250966da
tmuxp/__about__.pyhttps://github.com/tmux-python/tmuxp/pull/501/files#diff-dfad091168acbc887ac7da9b78c3025563cbdb253ddf8793f841cbb3b60fe651
View file https://github.com/tmux-python/tmuxp/blob/8cf07a03faf474e6693a60707f63fda30a465188/tmuxp/__about__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/tmux-python/tmuxp/pull/501/{{ revealButtonHref }}
https://github.com/tmux-python/tmuxp/pull/501/files#diff-dfad091168acbc887ac7da9b78c3025563cbdb253ddf8793f841cbb3b60fe651
tmuxp/cli.pyhttps://github.com/tmux-python/tmuxp/pull/501/files#diff-4d7d7e5291d4e3b3a36d7f47b46db0eea18d2e4fc18a85d525ec22260293fd0d
View file https://github.com/tmux-python/tmuxp/blob/8cf07a03faf474e6693a60707f63fda30a465188/tmuxp/cli.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/tmux-python/tmuxp/pull/501/{{ revealButtonHref }}
https://github.com/tmux-python/tmuxp/pull/501/files#diff-4d7d7e5291d4e3b3a36d7f47b46db0eea18d2e4fc18a85d525ec22260293fd0d
https://github.com/tmux-python/tmuxp/pull/501/files#diff-4d7d7e5291d4e3b3a36d7f47b46db0eea18d2e4fc18a85d525ec22260293fd0d
https://github.com/tmux-python/tmuxp/pull/501/files#diff-4d7d7e5291d4e3b3a36d7f47b46db0eea18d2e4fc18a85d525ec22260293fd0d
https://github.com/tmux-python/tmuxp/pull/501/files#diff-4d7d7e5291d4e3b3a36d7f47b46db0eea18d2e4fc18a85d525ec22260293fd0d
https://github.com/tmux-python/tmuxp/pull/501/files#diff-4d7d7e5291d4e3b3a36d7f47b46db0eea18d2e4fc18a85d525ec22260293fd0d
https://github.com/tmux-python/tmuxp/pull/501/files#diff-4d7d7e5291d4e3b3a36d7f47b46db0eea18d2e4fc18a85d525ec22260293fd0d
https://github.com/tmux-python/tmuxp/pull/501/files#diff-4d7d7e5291d4e3b3a36d7f47b46db0eea18d2e4fc18a85d525ec22260293fd0d
https://github.com/tmux-python/tmuxp/pull/501/files#diff-4d7d7e5291d4e3b3a36d7f47b46db0eea18d2e4fc18a85d525ec22260293fd0d
https://github.com/tmux-python/tmuxp/pull/501/files#diff-4d7d7e5291d4e3b3a36d7f47b46db0eea18d2e4fc18a85d525ec22260293fd0d
https://github.com/tmux-python/tmuxp/pull/501/files#diff-4d7d7e5291d4e3b3a36d7f47b46db0eea18d2e4fc18a85d525ec22260293fd0d
https://github.com/tmux-python/tmuxp/pull/501/files#diff-4d7d7e5291d4e3b3a36d7f47b46db0eea18d2e4fc18a85d525ec22260293fd0d
https://github.com/tmux-python/tmuxp/pull/501/files#diff-4d7d7e5291d4e3b3a36d7f47b46db0eea18d2e4fc18a85d525ec22260293fd0d
Please reload this pagehttps://github.com/tmux-python/tmuxp/pull/501/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.