Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 06 Feb 20:38
· 112 commits to master since this release

VimBindings v0.3.0

This version marks a significant change in the way VimBindings.jl integrates with the Julia REPL. Whereas earlier versions modified the keymaps of pre-existing Julia modes, 0.3.0 intercepts all keystrokes before passing them on to any Julia mode. Along with this change comes a host of modifications of the way the library works. What does this mean for users?

  • VimBindings.jl works by default in all julia modes* (julia mode, history mode, shell mode, etc)
  • VimBindings no longer modifies the mode prompt. Previously, VimBindings.jl modified the mode prompt from julia> to julia[i]> to indicate the vim mode.
  • Taking inspiration from Neovim, VimBindings.jl now modifies the terminal cursor style to indicate vim mode. The I-Beam cursor indicates insert mode, and the default cursor indicates normal mode. The I-Beam styling features are relatively new to terminals and while most modern terminals have support, some terminals may have issues. Please file an issue if you encounter problems.

Additionally, this version implements a few additional key bindings:

  • S to clear a line from anywhere
  • r to replace a character

*with the exception of prefix search mode, which has unpredictable behavior while using Vim bindings. Users are advised to use prefix search in insert mode.

Diff since v0.2.1

Closed issues:

  • Delete key x throwing exception, causing slowdown (#14)
  • Key bind requests thread (#15)
  • S: clear line from anywhere (#29)
  • r: replace current character (#30)