Skip to content

vim.xlam: v0.6.0

Choose a tag to compare

@sha5010 sha5010 released this 13 Feb 13:25
· 43 commits to main since this release

Full Changelog: v0.5.4...v0.6.0

As the author, I’ve often found myself forgetting which key is bound to which command. So, in this update, I’ve added a command suggestion feature inspired by Neovim's which-key.nvim. Now, no more flipping through the README just to figure out which key does what!

Sample Screenshot:
image

BREAKING CHANGES:

  • Changed the key assignment for PrintPreviewOfActiveSheet (:printpreview -> :preview)

Features:

  • Implemented a extremely powerful command suggestion feature
    • For normal commands, suggestions are displayed after the time set in SuggestWait has elapsed
    • In command line mode, press the <Tab> key to display suggestions. This can be changed using cmap to change the key.
      • The access keys for suggestions are the characters set in SuggestLabels, in that order.
    • If prefix (./, ../, ~/, / and so on ...) is typed in the command argument portion, path suggestion is also available.
      • Combine with :e command to open files seamlessly
  • Added the feature to lock and restrict row/column selections (rl/cl for lock, rL/cL for unlock)
    • This feature forces the selection back into the range if you select outside the locked range
    • When you want to edit only a specific row/column, it is recommended to use the lock and then search the header
  • Added support for numpad keymap #46
  • Added the function to increase/decrease values sequentially (g<C-a> / g<C-x>)
  • Added the ToggleGridlines (gb)
  • Added the ToggleHeadings (gh)
  • Added half-page scroll left/right feature (, / ;)
  • Added commands
    • SearchHelp: Find help for commands bound to keys (:help)
    • ReloadVim: Reload vim.xlam (:reload)
    • Sort: Sort rows (:sort for ascending, :sort! for descending)
    • RemoveDuplicates: Remove duplicates rows (:unique)
    • OpenActiveBookDir: Open file location (:opendir)
    • YankActiveBookPath: Copy full path to clipboard (:fullpath)
    • ShowVersion: Show vim.xlam version info (:version)

Changes:

  • AddNumber/SubtractNumber now works with one empty cell selected
  • AddNumber/SubtractNumber supports for prefixes/suffixes
    • e.g. works for "001. Intro", "Param005", "1. vim.xlam 101" (Italic text will be effected)
  • The OpenWorkbook command now accepts a file path as an argument
    • e.g. :e ~/Downloads/sample.xlsx
  • Worksheet-type operations support graph sheets

Fixes:

  • Correct input by RepeatAction from Text to Formula after value input
  • Fixed an issue with Shift key and specific key combinations not working

A new configuration template file is /config/_vimxlamrc