sponsor Vim development Vim logo Vim Book Ad

vim-workspace : The Vim Workspace Manager.

 script karma  Rating 53/20, Downloaded by 218    Comments, bugs, improvements  Vim wiki

created by
Thaer Khawaja
 
script type
utility
 
description
Automatically take care the little things, so that you don't have to: persist files in your workspace session, persist their undo history, autosave, untrail spaces, and more!

The latest version can be found in the vim-workspace GitHub repository:
https://github.com/thaerkh/vim-workspace

Demo:
https://raw.githubusercontent.com/thaerkh/vim-workspace/master/wiki/screenshots/demo.gif

Features:
1) Sensible Settings

1) Workspace

    - Persistent Vim Session

    - Undo History
    -- Cursor Positions

    - File Autosave
    -- Untrailing Spaces
    -- Autosave Ignore List

    - Omni Completion

For details and configuration options on each feature, please refer to GitHub repo linked above, or the README.md file in the latest package listed below.
 
install details
Plugin managers are recommended, such as Plug or Vundle, which directly pull from the git repo for the latest version. Installation instructions for such plugins are available in the README.md file.
Any configuration available is also documented in the README.md file.

For those that prefer a static variant, decompress the archive's folder content into your ~/.vim directory, which should place the plugin into the path ~/.vim/plugin/workspace.vim
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-workspace-1.6.2.tar.gz 1.6.2 2017-01-21 8.0 Thaer Khawaja - Last writer wins in workspaces: if multiple Vim sessions have the same files open at the same time, this ensures that there's no clobbering of data and files update seamlessly between the two instances.
- FocusGained and FocusLost will now trigger file autosave (and/or sync) when in/out of editor focus.
- Bug fix: fixed sporadic redraw issue coming from toggling a workspace off.
- Bug fix: typo in a variable that meant autosave could persist outside the confines of a workspace session.
vim-workspace-1.6.1.tar.gz 1.6.1 2017-01-16 8.0 Thaer Khawaja Minor updates to omni completion:
- Have a better popup menu with completeopt settings (menuone,longest,preview)
- Should only close preview windows on InsertLeave and not immediately after a selection is made as the documentation can be a useful reference while completing a function.
vim-workspace-1.6.0.tar.gz 1.6.0 2017-01-14 8.0 Thaer Khawaja ** New feature: Omni completion.
- Vim comes bundled with the SyntaxComplete plugin since 7.2. This functionality is now enabled by default (default shortcut remains as <C-x><C-o>).
- Plugin feature added that will automatically remove the function preview window once an omni completion selection has been made.

- Workspace plugin now does a nested autocommand session load, and depends on the vimrc options to re-populate session settings. This statelessness enables any vimrc changes to be reflected when an old session is reloaded, and it also plays nicely with plugins such as Airline that depend on internal state to redraw properly.
vim-workspace-1.5.0.tar.gz 1.5.0 2017-01-11 8.0 Thaer Khawaja - Updates to sensible settings: swapsync="" and up the updatetime frequency by default.
- Cleaner way of deleting session files.
vim-workspace-1.4.9.tar.gz 1.4.9 2017-01-08 8.0 Thaer Khawaja Several updates to sensible settings, and cleaned up unnecessary autosave triggers.
- Disable Ex mode, remove hidden, and remove included files from complete (sensible/faster with path+=** and included tags).
- BufLeave is sufficient for autosave with respect to TabLeave and WinLeave triggers, hence both can be safely removed.
vim-workspace-1.4.8.tar.gz 1.4.8 2016-12-31 8.0 Thaer Khawaja Add in more intelligent file argument loading - no more prompts!
Highlights:
- If Vim is run with a file argument and it's already in the directory workspace, you'll be redirected to the tab window that contains it. Otherwise, the file will be loaded in a new tab.
- Also save sessions on BufEnter triggers just in case Vim exits unexpectedly.
- Fix issue where Vim can run without ever hitting VimEnter trigger. This can occur when Vim's being executed to run a command and immediately exit.
- Guard CursorHold trigger against any updatetime < 1000 that might be set by the user or other plugins.
vim-workspace-1.4.7.tar.gz 1.4.7 2016-12-29 8.0 Thaer Khawaja Guard CursorHold trigger against any updatetime < 1000.
Simplify prompt string and Simplify prompt string.
vim-workspace-1.4.0.tar.gz 1.4.0 2016-12-28 8.0 Thaer Khawaja Add the option for including common sensible settings.
vim-workspace-1.3.2.tar.gz 1.3.2 2016-12-28 8.0 Thaer Khawaja Include feature to trim trailing spaces on autosave.
vim-workspace-1.3.0.tar.gz 1.3.0 2016-12-27 8.0 Thaer Khawaja Add workspace file autosave feature.
ip used for rating: 54.167.156.247

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo