[Konsole-devel] [konsole] [Bug 341209] New: Alt+character produces characters with diacritics (=?UTF-8?Q?=C3=8A=C3=8A=C3=8B=C3=8A=C3=8B=C3=8C=C3=8C?=)

Constantine Tsardounis costas.magnuse at gmail.com
Mon Nov 24 02:20:09 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=341209

            Bug ID: 341209
           Summary: Alt+character produces characters with diacritics
                    (ÊÊËÊËÌÌ)
           Product: konsole
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: keyboard
          Assignee: konsole-devel at kde.org
          Reporter: costas.magnuse at gmail.com

Created attachment 89707
  --> https://bugs.kde.org/attachment.cgi?id=89707&action=edit
vim rc

I do not know if it's a bug or a feature, but it does not happen with xterm so
I decided to post it.

In vim when we type Alt+L in insert mode it goes to normal mode. To avoid this
behavior according to
http://vim.wikia.com/wiki/Fix_meta-keys_that_break_out_of_Insert_mode I added
in my ~/.vimrc these lines:
'''
" fix meta-keys which generate <Esc>a .. <Esc>z
let c='a'
while c <= 'z'
  exec "set <M-".toupper(c).">=\e".c
  exec "imap \e".c." <M-".toupper(c).">"
  let c = nr2char(1+char2nr(c))
endw
'''
In xterm the above works, but in Konsole when I type Alt+J or +K or +L I get Ê
Ë Ì  respectively which is not what I want. 

I encounter this problem because I want to be able to write with "polymorphic
Alt Key Macros" as described in 3.10.1 at
http://vim-latex.sourceforge.net/documentation/latex-suite.html

So when I open a .tex file with 

vim test.tex

and I type i to go into insert mode and then left parenthesis and then Alt+L
like:

(<<<press Alt+L>>>

I want to get (as vim-latex-suite dictates):

\left(\right)<++>

Instead, the Alt-Key binding does not work and I get an accented "I":

(Ì 


I attach my ~/.vimrc for easier reproducibility.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list