Giter VIP home page Giter VIP logo

skkeleton-azik-kanatable's Introduction

skkeleton-azik-kanatable

vim-skk/skkeletonにAZIKテーブル定義を追加するプラグイン

requirements

installation

以下にdein.vimでの設定を例示します。

# これはlazyloadをする場合の設定です。
[[plugins]]
repo = 'vim-skk/skkeleton'
on_event = ['InsertEnter']
lua_source = "require('plugins.skkeleton')"

[[plugins]]
repo = 'kei-s16/skkeleton-azik-kanatable'
on_source = 'skkeleton'

configuration

skkeleton#azik#add_table() を呼び出してAZIKテーブルを登録し、その後 skkeleton#config() でkanaTableを指定してください。
以下にluaでの設定を例示します。

vim.fn['skkeleton#azik#add_table']('us')

vim.fn['skkeleton#config']{
  kanaTable = 'azik'
}

また、このプラグインで定義したAZIKテーブルを使う際は skkeleton-enable に加えて、skkeleton-disable のマッピングも必要になります。
以下にluaでの設定を例示します。

local opts = {}

vim.api.nvim_set_keymap('i', '<C-j>', '<Plug>(skkeleton-enable)', opts)
vim.api.nvim_set_keymap('c', '<C-j>', '<Plug>(skkeleton-enable)', opts)
-- AZIKテーブルに disable のマッピングを定義していないので、設定側で登録する必要があります
vim.api.nvim_set_keymap('i', '<C-l>', '<Plug>(skkeleton-disable)', opts)
vim.api.nvim_set_keymap('c', '<C-l>', '<Plug>(skkeleton-disable)', opts)

skkeleton-azik-kanatable's People

Contributors

kei-s16 avatar keimoriyama avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.