≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #1535

Bug #1535: cannot type Unicode characters in the prompt

Kind bug
Product Command-T
When Created 2010-04-12T11:37:38Z, updated 2015-04-07T16:59:02Z
Status open
Reporter anonymous
Tags no tags

Description

Hello, my locale is en_US.UTF-8 and I'm using a linux system. I found that cann't input the Chinese use my system input method. Unicode Chars' length are always 3

two Chinese chars:你好

http://www.google.com/search?hl=en&client=firefox-a&hs=g9L&rls=org.mozilla%3Azh-CN%3Aofficial&q=ruby+unicode+&aq=f&aqi=g-c4g-sx1g-c3g-sx2&aql=&oq=&gs_rfai=

Comments

  1. Greg Hurrell 2010-04-12T11:43:20Z

    This one might be a bit tricky to fix. The plug-in specifically listens only for a subset of ASCII characters.

    numbers     = ('0'..'9').to_a.join
    lowercase   = ('a'..'z').to_a.join
    uppercase   = lowercase.upcase
    punctuation = '<>`@#~!"$%&/()=+*-_.,;:?\\\'{}[] ' # and space

    So we're talking about numbers, lower and uppercase letters, and some punctuation.

    Not really sure how I could go about capturing other keypresses, seeing as in order to receive key presses I have to explicitly create a VIM map for each keypress that I am interested in. Might have to have a dig around and see how other plug-ins handle this.

  2. Greg Hurrell 2015-04-07T16:59:02Z

    Google resources:

    • http://vim.wikia.com/wiki/Capture_all_keys

    Not much else turns up.

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets