1. Meikel Brandmeyer
  2. vimclojure
Issue #102 new

REPL strange behavior on Enter key

Vladimir Matveev
created an issue

When I press <CR> in REPL (same thing with <C-Up> and <C-Down>, but, strangely, not with <C-CR>), the text {{{ <Plug>ClojureReplEnterHook. }}} is inserted into REPL instead of submitting a command. <C-CR> works fine (it submits the command). Hat (^) does not seem to have any effect at all.

I have VimClojure v2.3.3 installed, Vim 7.3.600, Archlinux. Tested in GVim and terminal vim.

Comments (3)

  1. Meikel Brandmeyer repo owner

    (Reply via m...@kotka.de):

    I can't reproduce this here. Are you sure, that you don't have any = custom key bindings or half-updated vimclojure lurking around? I will = try to get hold of a 7.3.600 to test.

  2. Vladimir Matveev reporter

    Hmm. Looks like I found out what was causing this. The following line in my .vimrc file was interfering:

    set langmap=ёйцукенгшщзхъфывапролджэячсмитьбюЁЙЦУКЕHГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ;`qwertyuiop[]asdfghjkl\\;'zxcvbnm\\,.~QWERTYUIOP{}ASDFGHJKL:\\"ZXCVBNM<>
    

    Removing it fixed the problem. However now I had to think of some other way of configuring russian keyboard layout... And it is strange that this line affects the keybinding at all...

  3. Meikel Brandmeyer repo owner

    (Reply via m...@kotka.de):

    Woo.. I have no clue what's going on. Maybe you could do a bisection = which of these mappings actually causes the issue? Maybe this gives a = hint, what the problem is.

  4. Log in to comment