mirror of
https://github.com/esm7/obsidian-vimrc-support.git
synced 2026-07-22 05:00:25 +00:00
(and a version bump)
This commit is contained in:
parent
2795bb62b1
commit
2a5fffa2d1
4 changed files with 10 additions and 5 deletions
|
|
@ -419,6 +419,11 @@ Note that the above snippet uses powerline glygh for the triangular shape, so yo
|
|||
|
||||
## Changelog
|
||||
|
||||
### 0.10.1
|
||||
|
||||
- Fixed https://github.com/esm7/obsidian-vimrc-support/issues/231 (thanks @alythobani!)
|
||||
- Fixed https://github.com/esm7/obsidian-vimrc-support/issues/232.
|
||||
|
||||
### 0.10.0
|
||||
|
||||
- Most notably, support for *many* new default mappings, see [here](https://github.com/esm7/obsidian-vimrc-support/pull/222) -- thanks @alythobani for this great contribution!
|
||||
|
|
|
|||
6
main.ts
6
main.ts
|
|
@ -116,6 +116,9 @@ export default class VimrcPlugin extends Plugin {
|
|||
this.registerYankEvents(w);
|
||||
})
|
||||
|
||||
this.prepareChordDisplay();
|
||||
this.prepareVimModeDisplay();
|
||||
|
||||
// Two events cos
|
||||
// this don't trigger on loading/reloading obsidian with note opened
|
||||
this.app.workspace.on("active-leaf-change", async () => {
|
||||
|
|
@ -280,9 +283,6 @@ export default class VimrcPlugin extends Plugin {
|
|||
|
||||
this.loadVimCommands(vimCommands);
|
||||
|
||||
this.prepareChordDisplay();
|
||||
this.prepareVimModeDisplay();
|
||||
|
||||
// Make sure that we load it just once per CodeMirror instance.
|
||||
// This is supposed to work because the Vim state is kept at the keymap level, hopefully
|
||||
// there will not be bugs caused by operations that are kept at the object level instead
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "obsidian-vimrc-support",
|
||||
"name": "Vimrc Support",
|
||||
"version": "0.10.0",
|
||||
"version": "0.10.1",
|
||||
"description": "Auto-load a startup file with Obsidian Vim commands.",
|
||||
"minAppVersion": "0.15.3",
|
||||
"author": "esm",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "obsidian-vimrc-support",
|
||||
"version": "0.10.0",
|
||||
"version": "0.10.1",
|
||||
"description": "Auto-load a startup file with Obsidian Vim commands.",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue