{"id":21215051,"url":"https://github.com/jamescherti/vim-easysession","last_synced_at":"2025-06-18T19:33:17.700Z","repository":{"id":144196337,"uuid":"444154273","full_name":"jamescherti/vim-easysession","owner":"jamescherti","description":"Vim plugin: persist and restore your Vim editing sessions easily and effortlessly.","archived":false,"fork":false,"pushed_at":"2024-04-22T12:53:20.000Z","size":51,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-22T13:51:26.423Z","etag":null,"topics":["mksession","plugin","session","session-management","sessions","vim","vim-plugin","vim-plugins"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamescherti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-01-03T18:01:50.000Z","updated_at":"2024-04-23T17:52:58.165Z","dependencies_parsed_at":null,"dependency_job_id":"f7a0affb-86a7-4c67-aab4-56c2a95a853f","html_url":"https://github.com/jamescherti/vim-easysession","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamescherti%2Fvim-easysession","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamescherti%2Fvim-easysession/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamescherti%2Fvim-easysession/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamescherti%2Fvim-easysession/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamescherti","download_url":"https://codeload.github.com/jamescherti/vim-easysession/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243664131,"owners_count":20327428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mksession","plugin","session","session-management","sessions","vim","vim-plugin","vim-plugins"],"created_at":"2024-11-20T21:33:20.259Z","updated_at":"2025-03-15T00:22:48.048Z","avatar_url":"https://github.com/jamescherti.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vim-easysession - Manage Vim sessions effortlessly\n![License](https://img.shields.io/github/license/jamescherti/vim-easysession)\n\nThe Vim plugin **EasySession** offers a convenient and effortless way to persist and restore Vim editing sessions. It can significantly increase productivity and save a lot of time for users who frequently switch between different projects and those who frequently open and close the Vim editor.\n\nIn addition to its automatic session management capabilities, the EasySession Vim plugin also offers a variety of useful Vim commands that allow users to save, load, list and delete sessions manually.\n\n## Author and license\n\nCopyright (C) 2022-2025 [James Cherti](https://www.jamescherti.com).\n\nDistributed under terms of the MIT license.\n\n## Features\n\n- Automatically save and restore the Vim editing session (It can be activated by setting `g:easysession_auto_load` and `g:easysession_auto_save` to 1),\n- Automatically save the current editing session when Vim is closed or when a file is saved (a few additional options are added to the session file that is generated by `mksession`: the font `\u0026guifont`, the `\u0026background`, and the color scheme).\n- Manually save the current Vim editing session: `:EasySessionSave`,\n- Switch to a different session: `:EasySessionLoad SESSION_NAME`,\n- List the available sessions: `:EasySessionList`,\n- Delete the current Vim session: `:EasySessionDelete SESSION_NAME`,\n- Rename the current Vim session: `:EasySessionRename SESSION_NAME`,\n- Auto-complete the Vim commands (e.g. `:EasySessionLoad`, `:EasySessionDelete`...),\n- Specify the directory where all the saved sessions are located with: `let g:easysession_dir = expand('~/.my_vim_sessions')`.\n\nFor more information about the commands and options:\n```viml\n:help easysession\n```\n\n## How to make EasySession automatically load and save the session?\n\nAdd to `~/.vimrc`:\n```viml\nlet g:easysession_auto_load = 1\nlet g:easysession_auto_save = 1\nlet g:easysession_save_guifont = 1\nlet g:easysession_save_colorscheme = 1\n\n\" Configure session options in Vim to include blank windows,current\n\" directory, folds, help windows, tab pages, Unix line endings, and use\n\" slashes for paths. You can also add to it: buffers,options,localoptions...\n\" Check `:help sessionoptions`.\nset sessionoptions=blank,curdir,folds,help,tabpages,unix,slash,winsize\n```\n\n## Do you like vim-easysession?\n\nPlease [star vim-easysession on GitHub](https://github.com/jamescherti/vim-easysession).\n\nYou can also follow the author on [Github @jamescherti](https://github.com/jamescherti) and [Twitter @jamescherti](https://twitter.com/jamescherti).\n\n## Installation\n\n### Installation with Vim's built-in package manager (Vim 8 and above)\n\n```bash\nmkdir -p ~/.vim/pack/jamescherti/start\ncd ~/.vim/pack/jamescherti/start\ngit clone --depth 1 https://github.com/jamescherti/vim-easysession\nvim -u NONE -c \"helptags vim-easysession/doc\" -c q\n```\n\n### Installation with a third-party plugin manager\n\nYou can also install this Vim plugin with any third-party plugin manager such as Pathogen or Vundle.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamescherti%2Fvim-easysession","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamescherti%2Fvim-easysession","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamescherti%2Fvim-easysession/lists"}