Skip to content

Releases: Iron-E/nvim-cartographer

v1.0.0

18 Apr 19:40
fbe977c
Compare
Choose a tag to compare

This is the first stable release of nvim-cartographer. It features significant performance improvements, thanks to changes in Neovim's vim.api.nvim_set_keymap function which allow a function to be mapped natively. As such, the cartographer.callbacks module has been removed entirely, though this makes it so that users have to update to Neovim 0.7

v0.4.0

02 Jan 20:07
2c89288
Compare
Choose a tag to compare

The time that the plugin takes to initialize has been improved. This comes with a swath of readability enhancements for any maintainers.

As well, if you are on Neovim 0.7 or later, you will be able to use the builtin Lua callback registration from nvim_set_keymap instead of the handbaked one I wrote. It is much more performant!

v0.3.0 – Buffers, Callbacks, Multimodes, and more

10 Jul 05:50
2fc7961
Compare
Choose a tag to compare

This release was due in large part to the efforts of @shadmansaleh. I would like to thank him again for noting the absence of these features and working to add them.

Additions

  • Allow specifying multiple modes in one mapping (e.g. map.v.n).
  • Allow specifying buffer for buffer-local mapping (e.g. map.buffer for buffer 0, map.buffer5 for buffer 5)
  • Allow mapping Lua callbacks (e.g. map.n['<Tab>'] = function() end)

Fixes

  • Mapping without options (e.g. map.z = '<Cmd>echo "Hello"<CR>') doing nothing

v0.2.0 – Simplified Syntax

07 Jul 22:29
2ba064a
Compare
Choose a tag to compare

This release features even more simple syntax when compared to the previous. You can now :map without calling a function:

local map = require 'cartographer'

-- This is the old syntax; still valid
map().n.nore.silent['jk'] = '<Esc>'

-- This is the new syntax
map.n.nore.silent['jk'] = '<Esc>'

v0.1.0 – Initial Version

07 Jul 22:27
c2f2a5e
Compare
Choose a tag to compare

This version includes all initial features, including:

  • Improved mappings syntax a la map().x.expr['<Tab>'] = '<Cmd>Foo<CR>'
  • Support for all modes and options from nvim_set_keymap.