aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2022-02-06 19:05:02 +0900
committernsfisis <nsfisis@gmail.com>2022-02-06 19:05:06 +0900
commit7eb58f2e7fb0ad2dc9c8ef39e327784a362e9365 (patch)
tree42554fb11368a524579a96ba101b2b1b459b2db5
parent60127c882fb824bb183a9123d28a51c4597dee3e (diff)
downloaddotfiles-7eb58f2e7fb0ad2dc9c8ef39e327784a362e9365.tar.gz
dotfiles-7eb58f2e7fb0ad2dc9c8ef39e327784a362e9365.tar.zst
dotfiles-7eb58f2e7fb0ad2dc9c8ef39e327784a362e9365.zip
neovim:eskk: workaround for zl
-rw-r--r--.config/nvim/init.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index 260f4a3..c7de8cf 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -1421,7 +1421,7 @@ G['eskk#large_dictionary'] = {
encoding = 'euc-jp',
}
-G['eskk#backup_dictionary'] = G['eskk#dictionary'].path .. ".bak"
+G['eskk#backup_dictionary'] = G['eskk#dictionary'].path .. '.bak'
G['eskk#kakutei_when_unique_candidate'] = true
G['eskk#enable_completion'] = false
@@ -1450,6 +1450,8 @@ function My_eskk_initialize_pre()
call t.add_map('7.', '7.')
call t.add_map('8.', '8.')
call t.add_map('9.', '9.')
+ " Workaround: 'zl' does not work as 'l' key leaves from SKK mode.
+ call t.add_map('zL', '→')
call eskk#register_mode_table(mode, t)
endfor
endfunction
@@ -1473,7 +1475,6 @@ function My_eskk_initialize_post()
" Instead, l key disable SKK input.
EskkMap -type=disable l
- EskkMap -type=disable l
map! jk <Plug>(eskk:disable)<ESC>