Rare find

Endwise. Automatically closes code blocks in Vim.

vim.org/scripts/script.php?script_id=2386

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

November 2025
  • zsh: restore functionality for case
April 2025
  • Expand abbreviations in <CR> map
January 2025
  • Fix for vim9script enddef since Vim patch 9.1.0197
December 2024
  • Account for possible <C-]> in existing <CR> map
October 2024
  • Use <script> based on original map
  • Support g:endwise_no_maps alongside endwise_no_mappings
January 2024
  • Silence Lua variant of <CR> map
  • Integrate <CR> map with Lua functions
April 2023
  • Fix false positive on verilog begin keyword
  • Add support for OCaml
February 2023
  • Add support for vim9script's compiled functions
  • Fix and enhance completion for verilog keywords
August 2022
  • Avoid 'cpoptions' issue with map definition
July 2022
  • Change default map to <expr> map
  • Adjust 'buftype' guards
  • Handle "#if 0"
May 2022
  • Add support for more MATLAB control flow
March 2022
  • Work around nvim <expr> map bug
  • Further tweak map chaining
  • Give up on mapping if a <buffer> <CR> map exists