sponsor Vim development Vim logo Vim Book Ad

Vim Scripts (add script)

script: Middle English, from Latin scriptum, things written, a plan of action



Recent Script Updates (browse all | search)
[2024-10-11]  diffunitsyntax : Highlight word or character based diff units in diff format
(1.3) Improved to show the previous and next character of a deleted diff unit in underline. - Rick Howe
[2024-10-07]  WG Rainbow Delimiter Highlighter : highlights nested delimiters with different colors to aid readability
(v5) The rainbow syntax highlighter now also supports "parallel editing" much better, by which I mean that if you have Vim (with `rainbow.vim` installed and active) and some other text editor open simultaneously (both of them editing the same file) then every time that you change window focus back to Vim then when it auto-reloads the file (at your request) then the rainbow delimiter syntax highlighting will no longer be lost but will now be automatically resynchronized and reapplied, thereby making working in parallel with both Vim and some other editor with this plugin much more pleasant and efficient. Give it a try! It is a nice workflow. (This patch is especially useful when working with DrRacket and Vim open side-by-side, but applies to all other programming languages (of course, as usual) and all 3rd party editors that support detection and/or reloading of externally modified files and hence support editing in parallel with Vim.) -
[2024-10-07]  jada ide : This is a java ide in vim
(1.1) New command ":CreateMainJava <param(Dir Name)>" and new shortcut [Ctrl + t] - calvo clavo
[2024-10-06]  setpwsh : A Vim plugin to improve powershell integration.
(1.1.0) Solved emoji rendering issue on windows' gVim by forcing powershell binary to use utf8 on stdin/stdout pipes. An environment variable has been introduced to allow the user to select pipe encoding (defaults to utf8). - Miguel Barro
[2024-10-03]  VcsMessageRecall : Browse and re-insert previous VCS commit messages.
(1.06) - Minor: Make the "commit-msgs" directory name configurable via g:VcsMessageRecall_StoreDirName. - ENH: Configure the MessageRecall plugin (version 1.40 or higher) to have :MessageStore {dirspec} directly accept the working copy root directory; i.e. the version control system's {metadata}/commit-msgs part can be omitted now. - ENH: Allow overriding the MessageRecall options via g:VcsMessageRecall_{git,hg,svn}_MessageRecallOptions Dictionaries. - Ignore Git "Merge branch(s) '...'" commit message boilerplate by default. This can be undone via: let g:VcsMessageRecall_git_MessageRecallOptions = {} - BUG: Git uses a slightly different boilerplate message for merges. - Store the original commit message in the default register when replacing it. - Git may have a merge commit warning in front of the usual boilerplate. - ENH: Allow tweaking the adjacent message store discovery via g:VcsMessageRecall_{git,hg,svn}_AdjacentMessageStores configuration. - ENH: Consider message stores from Git submodules (contained, adjacent) and the superproject for :MessageStore completion if such exist. - ENH: Allow overriding of the message store directory via g:VcsMessageRecall_StoreDirspec; e.g. to share the superproject's message store with submodules. - Ingo Karkat
[2024-10-03]  MessageRecall : Browse and re-insert previous (commit, status) messages.
(1.40) - ENH: Offer definition of a buffer-local command to persist the current buffer state on demand, via a:options.writeCommandName. - Minor: Make substitute() robust against 'ignorecase'. - Don't clobber the search history with the a:options.range (if given and using a /{pattern}/ address). - Add dependency to ingo-library (vimscript #4433). *** You need to separately install ingo-library (vimscript #4433) version 1.044 (or higher)! *** - Ingo Karkat
[2024-10-03]  BufferPersist : Save certain buffers somewhere when quitting them.
(1.10) - ENH: Offer definition of a buffer-local command to persist the current buffer state on demand, via a:options.writeCommandName. - Minor: Make substitute() robust against 'ignorecase'. - Don't clobber the search history with the a:options.range (if given and using a /{pattern}/ address). - Add dependency to ingo-library (vimscript #4433). *** You need to separately install ingo-library (vimscript #4433) version 1.044 (or higher)! *** - Ingo Karkat
[2024-10-03]  ArgsAndMore : Apply commands to multiple buffers and manage the argument list.
(2.20) - Add :ArgDrop command. - Add :ArgsDeleteExisting specialization of :ArgsFilter. Useful to throw out files that have been removed from the file system (with !), or to drop files that have been created and saved (without !). - FIX: :ArgsNegated does not handle arguments with escaped spaces and cmdline-special characters (e.g. #). - Add :WindoWrite, :WinbufdoWrite, :TabwindoWrite variants that automatically persist any changes (like :ArgdoWrite). - Only iterate over modifiable buffers in the :*Write commands; skip buffers where 'modifiable' is unset (e.g. terminal buffers), to avoid errors on attempted modification and :update. - ENH: Add :ArgsSort command. *** You need to update to ingo-library (vimscript #4433) version 1.043! *** - Ingo Karkat
[2024-10-03]  ingo-library : Vimscript library of common functions.
(1.045) - ingo#query#fromlist#Query(): CHG: Beep and continue querying on invalid accelerator key or number instead of returning -1; only <Esc> or Ctrl-C abort. - Add ingo/text/searchhighlights.vim module. - ingo#query#fromlist#Query(): BUG: 10th, 20th, etc. entry cannot be selected by number if it is the last - ingo#query#confirm#AutoAccelerators(): ENH: Add optional l:reservedAccelerators argument. - ingo#query#fromlist#Query(): BUG: Don't add accelerators for numbers, as those interfere with the by-count selection. - Add ingo#regexp#fromwildcard#FileOrPath() variant of ingo#regexp#fromwildcard#AnchoredToPathBoundaries(). - Add ingo/option/autochdir.vim module. - ingo#fs#path#{Canonizalize,Equals}(): Small fixes, support a:isResolveLinks in the latter, too. - Add ingo#window#preview#OpenNew(). - ingo#buffer#{scratch,generate}#Create(): ENH: Support "pedit" as a:windowOpenCommand. - ingo#plugin#historyrecall#RecallRepeat(): Also forward optional client arguments to ingo#plugin#historyrecall#Recall(). - ingo#plugin#register#Set(), ingo#plugin#register#PutContents(): ENH: Allow passing optional target register. - ingo#subs#BraceCreation#FromList(): ENH: Add a:options.singleCharacterElementsInSquareBraces. - Add ingo#text#frompattern#GetNext(). - ingo#regexp#comments#CommentToExpression(): BUG: The $ anchor was mistakenly escaped, but the pattern is (normal) magic; special comment characters (like "*") are not properly escaped. - CHG: Minor: ingo#gui#position#Get() swap the first two returned elements (so it's X-Y, too) and return numbers for elements 3 and 4. This shouldn't matter to clients as the format is unspecified. - ingo#join#*() with a:isKeepSpace = 1 are not affected by 'formatoptions' any longer (and may be a bit faster). - ingo#plugin#cmdcomplete#dirforaction#setup(): ENH: Allow passing of 'commandAttributes': '-count', Funcref for a:parameters.browsefilter and a:parameters.wildignore - BUG: ingo#join#*() with a:isKeepSpace = 0 may expand a literal tab separator into space(s). - ENH: Add ingo#actions#EvaluateWithValOrFunc() variant of ingo#actions#ExecuteWithValOrFunc(). This is useful for configurations that can either be an expression (with optional v:val) or a Funcref. - Add ingo#escape#EscapeExpr(). - ingo#text#surroundings#SurroundWith[SingleChar](): ENH: Support custom set of [back, end] motions. - BUG: ingo#regexp#magic#Normalize('\V[[a-S]]') only escapes the first [ - Ingo Karkat
Displaying 10 of 5958 (more)

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.
   
Vim at Github