ubuntu dapper, vim + scim 작업환경에서

penance의 이미지

vim에서 크게 두 모드가 있죠. 일반모드, 입력모드.

문제는 입력모드에서 신나게 한글로 글을 쓴 다음에

esc 누르고 움직이고 좀 편집좀 하려고 하면 엄한 한글자모가 화면에 뜨면서 명령이 안 먹히고

결국 다시 한영키를 눌러 영어로 바꾼 다음에야 명령이 먹히고

한글을 써야 하기 때문에 다시 한영키를 눌러 한글을 입력하고

esc 누르고 편집하려고 하면 다시 명령이 안 먹히고, 어쩔 수 없이 다시 한영키.

결국 이런 악순환을 겪다 보니까 작업능률이 정말 떨어지네요.

이 문제를 해결하고 싶은데, 혹시 이미 해결보신분들 계시나요??

lacovnk의 이미지

저도 궁금합니다 ㅠㅠ

아마 전달되는 값이 키코드가 아니라 문자값이라 해결을 하려면 테이블을 만들어서 매칭시켜줘야겠지요..

비슷한 문제로, (MS윈도우) 한글 입력모드면 gmail같이 javascript로 처리하는 경우 제대로 동작하지 않지요..

exuma의 이미지

고맙게도 윈도우용 gvim은 7.0 버전으로 올라가면서 커맨드모드로 전환하면 자동으로 입력모드가 바뀌는 기능이 생겼던데.. 리눅에선 이리저리 해봐도 안되더라구요. ㅜ.ㅡ (버전이 틀리긴 합니다. 6.4)
근데 X용 gvim은 gui인가요, 아님 gvim 모양의 터미널에 vim을 띄우는 짝퉁gui인가요?

penance의 이미지

vim에서 문제를 해결해야 할 느낌이 드는데요
키코드값이 아닌 매칭으로 해결하려고 하면 두벌식, 세벌식, 이런 것들 다 고려하려면 꽤나 머리아플텐데요.
아브라함씨에게 메일을 보내야 하나, 이거...

BLOG : http://sudous.egloos.com

keizie의 이미지

아미던가, 나비던가에 ESC를 누르면 한글 입력상태가 해제되는 옵션이 있었습니다. scim-hangul에도 꼭 필요하다고 하시면 구현해서 넣을 수 있겠죠.

혹시나 해서 scim 전체설정의 끄기 부분에 ESC 키를 등록해봤습니다. 항상 입력상태인 보통 어플에서는 괜찮은데, 입력상태와 편집상태를 구분하는 vim에서는 입력상태 해제가 안됩니다. 아마 scim이 ESC를 먹어버려서 vim은 ESC를 눌렀는지 모른다는 거겠죠.

익명사용자의 이미지

imhangul 입력기를 이용하면 esc 누르면 한글입력상태가 해제되어서 작업하기 좋았습니다만

문제는 제가 일본어를 입력할 일이 있기 때문에 scim을 쓸 수 밖에 없는 처지가 되었습니다.

이 문제만 해결되면 정말로 쾌적하고 좋은 작업환경이 될텐데, 안타까운(?) 마음입니다.

keizie의 이미지

imhangul을 쓸 수 있는 환경이라면 gtk2일 텐데, 일본이 입력기도 당연히 있습니다. 꼭 scim이나 iiimf만이 국제화된 입력 환경을 지원하는 건 아닙니다. gtk2도 입출력에 있어서 여러 언어권을 충분히 지원합니다.

highwind의 이미지

저도 같은 문제를 가지고 있는데요
im-ja를 쓰게 되면 nabi와 함께 쓸수 있나요?
gnome환경에서 여러 입력기를 함께 쓰는 방법이 있나요?

=====================================
http://timothylive.net

esrevinu의 이미지

그래서 저도 불편했지만 참고 썼었습니다. 그런데 최근에 dvorak은 어떤가하고 호기심이 생겨서 scim의 키보드 레이아웃을 dvorak으로 바꿨더니 세벌식이 이상하게 입력이 되었습니다. 두벌식도 아니고... 혹시나 해서 그놈의 키보드 레이아웃을 US dvorak으로 바꿔 줬더니 세벌식 한글 글쇠들은 입력이 되는데 마침표 같은 기호 글쇠는 이상하게 입력이 되었습니다. 마침표를 찍으려 했는데 v가 찍혔습니다. 아마도 고쳐야 할 것 같습니다.
나비는 위와 같은 문제가 없었습니다. 그래서 dvorak을 안 쓰지만 그냥 나비를 쓰기로 했습니다.

마잇의 이미지

scim에서 해제(Turn off) 키를 이렇게 등록 하시면 됩니다.

KeyRelease+Escape,Control+KeyRelease+bracketleft

ESC를 누르기 전에 Release를 체크해 주시면 됩니다. 두번째 것은 C-[ 키의 입력이구요 이것도 vim에서 ESC처럼 쓰이는지라 같이 등록해 두고 쓰고 있습니다.

자, 이렇게 하면 한글로 입력중에 ESC를 눌러 명령모드로 빠져나오는 순간 영문모드로 전환은 되는데 여기서 다시 입력 모드로 들어갈때는 자동으로 한글로 다시 바뀌지는 않습니다.

도움말을 읽어보니 윈도우 버전에서는 입력 상태를 기억했다가 다시 바꿔주는게 지원이 된다고 하는데 리눅스에서도 어떻게 가능할 수 없을까 고민중입니다.

--
마잇


--
마잇

penance의 이미지

옛날에 이문제로
Bram에게 편지를 보냈는데 별로 신통치 못한 답이 왔습니다.
메일 정리하다가 혹시 참고가 될듯 싶어서 여기에 남깁니다.

Theodore Kim
bugs에게
추가 옵션 06. 9. 20
hello!

I'm a Korean vim user. I use ubuntu linux, scim-input method.

When I give command with Korean alphabet on, the command doesn't work.

Only Korean alphabets appear and soon disappear.

I think it's because the vim gets not the keycode but the letter value.

So you should fix this problem and the vim should take the keycode when it's in command mode.

Thank you!

답장 전달



Bram Moolenaar
나에게
추가 옵션 06. 9. 27

Theodore -
- 따온 텍스트 보기 -

> I'm a Korean vim user. I use ubuntu linux, scim-input method.
>
> When I give command with Korean alphabet on, the command doesn't work.
>
> Only Korean alphabets appear and soon disappear.
>
> I think it's because the vim gets not the keycode but the letter value.
>
> So you should fix this problem and the vim should take the keycode when it's
> in command mode.

I'm afraid I do not understand the problem.

Did you check the 'iminsert' and 'imcmdline' options?

The input methods work for most people. Perhaps there is something
special about your input method?

- Bram

--
Mynd you, m00se bites Kan be pretty nasti ...
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

답장 전달 Bram님을 Gmail (으)로 초대:



Theodore Kim
Bram에게
추가 옵션 06. 9. 27
I don't know what is special in scim-input method.

Whenever I press i key in Normal mode with my scim-input hangul on,

I can't enter the text!

Whenever I press i key in normal mode with my scim-input japanese on,

I can't also enter the text!

All commands I give in normal mode don't work.

I guess that when scim-input is on all the values first go to scim-input and the scim-input gives the translated values to the vim. Vim only seems to take the alphabet as commands in normal mode.

I think that the vim should take commands in normal mode regardless of input method.

Is it what you want that the very command to insert is the alphabet 'i' instead of the one key with the alphabet i on it?

I don't think so.

Have I explained you well?

Have a good one!

2006/9/27, Bram Moolenaar :
- 따온 텍스트 보기 -

Theodore -

> I'm a Korean vim user. I use ubuntu linux, scim-input method.
>
> When I give command with Korean alphabet on, the command doesn't work.
>
> Only Korean alphabets appear and soon disappear.
>
> I think it's because the vim gets not the keycode but the letter value.
>
> So you should fix this problem and the vim should take the keycode when it's
> in command mode.

I'm afraid I do not understand the problem.

Did you check the 'iminsert' and 'imcmdline' options?

The input methods work for most people. Perhaps there is something
special about your input method?

- Bram

--
Mynd you, m00se bites Kan be pretty nasti ...
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

답장 전달



Bram Moolenaar
나에게
추가 옵션 06. 9. 28

Theodore -

> I don't know what is special in scim-input method.
>
> Whenever I press i key in Normal mode with my scim-input hangul on,
>
> I can't enter the text!
>
> Whenever I press i key in normal mode with my scim-input japanese on,
>
> I can't also enter the text!
>
> All commands I give in normal mode don't work.
>
> I guess that when scim-input is on all the values first go to scim-input and
> the scim-input gives the translated values to the vim. Vim only seems to
> take the alphabet as commands in normal mode.
>
> I think that the vim should take commands in normal mode regardless of input
> method.
>
> Is it what you want that the very command to insert is the alphabet 'i'
> instead of the one key with the alphabet i on it?
>
> I don't think so.
>
> Have I explained you well?

In Normal mode the input method should be off, so that you can enter
normal Vim commands. Vim should switch the IM off already, possibly if
'imactivatekey' is set properly.

For Insert mode the 'iminsert' option matters.

Otherwise I can't help you. You might want to send your question to the
Vim maillist.

- Bram

HOMEPAGE : http://sudous.egloos.com

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.