Skip to content

Cho phép đổi ngôn ngữ qua command line (programmatic control) #89

Description

@antran22

Với các app gõ tiếng Việt khác hiện nay, anh em dùng Vim sẽ phải tự chuyển lại ngôn ngữ mỗi khi chuyển sang Normal mode.

Hiện tại với một số ngôn ngữ khác (Trung Quốc) đã có thư viện Vim-barbaric để tự động chuyển về tiếng Anh khi chuyển vào normal mode. Nếu GõKey có thể cung cấp được một entrypoint binary qua commandline, giao tiếp với app chính, anh em dùng Vim có thể customize được Vim để tự động chuyển ngôn ngữ.

Ý tưởng:
Entrypoint nằm cạnh binary chính: /Applications/GoKey.app/Contents/MacOS/goxkeygoxkey-controller
Một số subcommand của goxkey-controller:

  • goxkey-controller current: In ngôn ngữ hiện tại en | vi
  • goxkey-controller update [en|vi]: Đổi sang ngôn ngữ mới.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-clientArea: Everything within GõKeyE-easyEstimation: EasyenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions