Skip to content

eskk introduces side effects (<C-j> mapping) #229

Description

@x-yuri

I occasionally execute some commands by first typing them in a buffer, e.g.: a:!ls<Esc>YY@". With eskk YY copies :!ls^J into the " register, but when it comes to executing the command (@"), ^J gets interpreted by eskk which enables hiragana mode, instead of executing the command. That is, I need to additionally press <Enter> for it to work. And after that hiragana mode remains enabled. I'm using <C-j> for another purpose anyway, so I mapped:

imap <Leader>j <Plug>(eskk:toggle)

But <C-j> was still getting interpreted. So I did:

let g:eskk#no_default_mappings = 1

In other words, I've found a workaround, so I'm not sure if I should've reported this.

Also, I have a couple of questions, such as:

  1. Do I need g:eskk#dictionary for it to work? Or having just g:eskk#large_dictionary would suffice?
  2. Does eskk change the dictionaries? If so, under which circumstances?
  3. g:eskk#start_completion_length is 3 by default. I understand why it's usually done, but in this case if I want to convert a 2 kana word like ある, いう, or あう to kanji, I have to change the default. On the other hand, I don't see 有る, 言う, or 会う in the SKK-JISYO.L dictionary. Okay, some words are probably generally written in kana, which might be the case here. But aren't there "< 3" kana words that are usually written in kanji? In other words, does one usually wants to set the default to 1?

Is it okay to ask them here? Or is there a better place?

In any case, thanks for your work :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions