Skip to content

mikkasendke/sessionizer-history

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

sessionizer-history

This provides a generator function and a wrapper for the callback to have access to the most recent workspace used in sessionizer.wezterm.

Usage

  1. Require the plugin:
local history = wezterm.plugin.require "https://github.com/mikkasendke/sessionizer-history.git"
  1. Integrate into your schema:
local schema = {
  options = {
    callback = history.Wrapper(sessionizer.DefaultCallback), -- so it knows when you select and switch to a workspace.
  },
  history.MostRecentWorkspace {}, -- generator function to display the most recent workspace
}
  1. Key binding
-- use this:
config.keys = {
  -- ...
  -- ... other binds
  {
    key = "m",
    mods = "ALT",
    action = history.switch_to_most_recent_workspace,
  },
  -- other binds ...
  -- ...
}

done :)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages