sponsor Vim development Vim logo Vim Book Ad

vim-misc : Miscellaneous auto-load Vim scripts

 script karma  Rating 14/5, Downloaded by 8481    Comments, bugs, improvements  Vim wiki

created by
Peter Odding
 
script type
utility
 
description
This plug-in contains Vim scripts that are used by most of the Vim plug-ins I've written yet don't really belong with any single one of the plug-ins. Basically it's an extended standard library of Vim script functions that I wrote during the development of my Vim profile and plug-ins.

In the past these scripts were bundled with each plug-in, however that turned out to be a maintenance nightmare for me. That's why the miscellaneous scripts are now a proper plug-in with their own page on Vim Online.

For more information about the miscellaneous scripts please refer to the homepage or the project page on GitHub:

http://peterodding.com/code/vim/misc/
http://github.com/xolox/vim-misc

If you have questions, bug reports, suggestions, etc. the author can be contacted at peter@peterodding.com. If you like this plug-in please vote for it below!

The following plug-ins of mine depend on the installation of the miscellaneous scripts as a separate plug-in:

vim-colorscheme-switcher (vimscript #4586)
vim-easytags (vimscript #3114)
vim-lua-ftplugin (vimscript #3625)
vim-lua-inspect (vimscript #3169)
vim-notes (vimscript #3375)
vim-reload (vimscript #3148)
vim-session (vimscript #3150)
vim-shell (vimscript #3123)
 
install details
Unzip the most recent ZIP archive file (see below) inside your Vim profile directory (usually this is "~/.vim" on UNIX and "%USERPROFILE%\vimfiles" on Windows), restart Vim and execute the command ":helptags ~/.vim/doc" (use ":helptags ~\vimfiles\doc" instead on Windows).
 

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
misc.zip 1.17.1 2014-11-13 7.0 Peter Odding Try to silence errors during startup caused by :redraw:
   http://github.com/xolox/vim-misc/commit/038faed
misc.zip 1.17 2014-10-28 7.0 Peter Odding Added open handler for cygwin:
   http://github.com/xolox/vim-misc/commit/80ccd89

Merge pull request #15: Added open handler for cygwin:
   http://github.com/xolox/vim-misc/commit/15fd181
misc.zip 1.16.1 2014-09-17 7.0 Peter Odding Add generic string unescaping function:
   http://github.com/xolox/vim-misc/commit/640bc14

Generates error when easytags is not installed:
   http://github.com/xolox/vim-misc/commit/3ae8dc0

Merge pull request #14 (references to xolox#easytags in xolox#misc#async):
   http://github.com/xolox/vim-misc/commit/77b23c8
misc.zip 1.15.1 2014-09-14 7.0 Peter Odding `xolox#misc#os#is_mac` might be slow: call it only when required:
   http://github.com/xolox/vim-misc/commit/03caf46
misc.zip 1.15 2014-07-19 7.0 Peter Odding Make xolox#misc#complete#keywords() respect &ignorecase:
   http://github.com/xolox/vim-misc/commit/e5b41ce

Resumable timers for accurate timing of short running operations:
   http://github.com/xolox/vim-misc/commit/6ce98ee
misc.zip 1.14.1 2014-07-07 7.0 Peter Odding Merge pull request #12: Correctly handle Windows paths without drive letter:
   http://github.com/xolox/vim-misc/commit/f6acb27
misc.zip 1.14 2014-07-06 7.0 Peter Odding Silence xolox#misc#async#periodic_callback() when request queue is empty:
   http://github.com/xolox/vim-misc/commit/0a70769

Make it clear how long it takes for asynchronous callbacks to reply:
   http://github.com/xolox/vim-misc/commit/92172c6

New xolox#misc#path#starts_with() function:
   http://github.com/xolox/vim-misc/commit/e3f28a7
misc.zip 1.13.1 2014-06-29 7.0 Peter Odding Bug fix: Don't raise exception if /usr/bin/stat doesn't work:
   http://github.com/xolox/vim-misc/commit/9d1f006
misc.zip 1.13 2014-06-29 7.0 Peter Odding Support for 'atomic' file updates (preserving owner, group and mode):
   http://github.com/xolox/vim-misc/commit/8dde3d1
misc.zip 1.12 2014-06-29 7.0 Peter Odding Support for querying/setting UNIX file permissions:
   http://github.com/xolox/vim-misc/commit/fc75b64
misc.zip 1.11 2014-06-22 7.0 Peter Odding Expose formatting of elapsed time as xolox#misc#timer#convert():
   http://github.com/xolox/vim-misc/commit/e6b3037

Implement generalized rate limiting of CursorHold events:
   http://github.com/xolox/vim-misc/commit/ec5942f

Functions to persist/recall Vim values from/to files:
   http://github.com/xolox/vim-misc/commit/8176763

Generalized asynchronous Vim script evaluation (for vim-easytags):
   http://github.com/xolox/vim-misc/commit/81fdec8
misc.zip 1.8.5 2013-07-20 7.0 Peter Odding Avoid the costly shelling out to uname when on Windows (contributed by Ingo Karkat):
   http://github.com/xolox/vim-misc/commit/fe6a548
   http://github.com/xolox/vim-misc/commit/8551f2b
misc.zip 1.8.4 2013-06-26 7.0 Peter Odding Don't error out when vim-shell is not installed:
   http://github.com/xolox/vim-misc/commit/6fe6e26
misc.zip 1.8.3 2013-06-25 7.0 Peter Odding Bug fix for xolox#misc#path#tempdir() (E739 was not being caught):
   http://github.com/xolox/vim-misc/commit/473381c

Make external command execution work properly without vim-shell!
   http://github.com/xolox/vim-misc/commit/d780f0a
misc.zip 1.8.1 2013-06-24 7.0 Peter Odding xolox#misc#os#exec(): Improve error reporting about temporary files:
   http://github.com/xolox/vim-misc/commit/3d246a6
misc.zip 1.8 2013-06-23 7.0 Peter Odding Updates required by vim-notes 0.22:
   http://github.com/xolox/vim-misc/commit/19803c1
   http://github.com/xolox/vim-misc/commit/78a6ee0
misc.zip 1.7 2013-06-22 7.0 Peter Odding Version string parsing and comparison functions:
   http://github.com/xolox/vim-misc/commit/c0e7620
misc.zip 1.6.3 2013-06-19 7.0 Peter Odding Bug fix for xolox#misc#open#url() on Mac OS X (xolox/vim-shell#18):
   http://github.com/xolox/vim-misc/commit/732cc21
misc.zip 1.6.2 2013-06-19 7.0 Peter Odding open.vim: Bug fix for error handling code (the "not implemented" message):
   http://github.com/xolox/vim-misc/commit/cf92d5a

xolox#misc#open#file(): Improve documentation & variable names:
   http://github.com/xolox/vim-misc/commit/3d51983

xolox#misc#open#file(): Instrument with xolox#misc#msg#debug() calls:
   http://github.com/xolox/vim-misc/commit/b9391f4

Properly detect Mac OS X using xolox#misc#os#is_mac():
   http://github.com/xolox/vim-misc/commit/aea5599
misc.zip 1.6 2013-06-03 7.0 Peter Odding Finally started writing automated tests:
   http://github.com/xolox/vim-misc/commit/1aed880

Bug fix based on tests: Don't add duplicate directory separators in xolox#misc#option#eval_tags():
   http://github.com/xolox/vim-misc/commit/8a2773d

Bug fix based on tests: Don't generate errors on empty paths in xolox#misc#path#join():
   http://github.com/xolox/vim-misc/commit/7c7d70f

Move xolox#misc#timer#format_timespan() -> xolox#misc#format#timestamp():
   http://github.com/xolox/vim-misc/commit/1e4f278

Reliable detection of xolox#misc#timer#start() return values:
   http://github.com/xolox/vim-misc/commit/abac1c8

Add string coercion to xolox#misc#msg#info() & similar functions:
   http://github.com/xolox/vim-misc/commit/2a8eaa7

Add xolox#misc#format#pluralize() function:
   http://github.com/xolox/vim-misc/commit/d250b06

Extract testing framework from test suite:
   http://github.com/xolox/vim-misc/commit/ac6fc93

Add xolox#misc#str#ucfirst() function:
   http://github.com/xolox/vim-misc/commit/5082965

Improve xolox#misc#os#find_vim() function:
   http://github.com/xolox/vim-misc/commit/37211f3
misc.zip 1.1 2013-06-01 7.0 Peter Odding Link to Vim Online & add installation instructions to README:
   http://github.com/xolox/vim-misc/commit/578ee2e

Don't return duplicate matches in xolox#misc#path#which():
   http://github.com/xolox/vim-misc/commit/b6d0aa5

Make xolox#misc#os#find_vim() configurable:
   http://github.com/xolox/vim-misc/commit/f5b2eea
misc.zip 1.0 2013-05-25 7.0 Peter Odding Initial upload
ip used for rating: 54.204.94.254

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