Vim IM Select

by Alonelur
5
4
3
2
1
Score: 44/100

Description

Category: Customization & UI

The Vim IM Select plugin enhances the Obsidian Vim experience by automatically switching the system's input method when using Vim key bindings. This ensures that non-English input methods do not interfere with Vim's normal mode functionality. The plugin detects and switches the input method based on user settings, supporting both default and Windows-specific configurations. Users can configure the input method, obtain the current method, and switch between input modes using executable commands. The plugin provides a seamless Vim experience by managing input methods, making it ideal for users who frequently switch between languages while using Vim in Obsidian.

Reviews

No reviews yet.

Stats

115
stars
11,155
downloads
17
forks
1,583
days
523
days
523
days
7
total PRs
5
open PRs
0
closed PRs
2
merged PRs
31
total issues
11
open issues
20
closed issues
7
commits

Latest Version

a year ago

Changelog

fix same bug。

README file from

Github

Obsidian Vim IM Select Plugin

Chinese ver. 中文版本

This plugin is used to automatically switch the current input method of the system when vim key binding is used in Obsidian, to prevent non-English input method from causing key binding failure in vim normal mode.

本插件用于在Obsidian.md中使用Vim时,自动切换当前输入法,以防止非英文输入法 导致在Vim normal模式下按键失效。

Install

First, need to turn on vim key binding in Obsidian.

In setting of Obsidian, turn off safe mode then install this plugin.

Alternatively, manually install: copy main.js and manifast.json to VAULT_ROOT/.obsidian/plugins/vim-im-select/.

Usage

After enabling this plugin, you can find a setting tab in Setting.

The setting options are devided into two parts, the first is for default platform, the second is for Windows platform.

If you use Obsidian under the Windows platform, the plug-in will use the second part of the settings, otherwise the first part of the settings.

The options are similar in different platform.

Option Defination
Default IM specify the input method used in normal mode
Obtaining Command Command to obtain current input method (must be excutable)
Switching Command Command to switch current input method (must be excutable, use {im} as placeholder of target input method)

Following is a example: example

After activating the plugin in the first time and finishing setting, you need to restart Obsidian.

If you want to know more:

Credit

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.