Code Monkey home page Code Monkey logo

Comments (5)

jpalardy avatar jpalardy commented on July 24, 2024

I've tried to configure myself UTF-8 all the way: terminal, file formats, and Vim.

That being said… I've just tried to send Japanese characters from Vim to tmux and … yeah, it doesn't work.

There are many moving pieces at play: vimscript, shelling out, tmux. Let me investigate this.

from vim-slime.

Janiczek avatar Janiczek commented on July 24, 2024

Let me know if I can help somehow.

Environment:

  • Mac OS X 10.7
  • iTerm 2 1.0.0.20120203
  • Vim 7.3.410
  • tmux 1.6
  • vim-slime - HEAD of this repo

from vim-slime.

jpalardy avatar jpalardy commented on July 24, 2024

Ah, the tmux code uses "send-keys" in a way it wasn't intended…

I tried the screen code and it's working fine. But it does have a different purpose, to send a "string". Meanwhile, "send-keys" was meant to send control keys to tmux.

I found a workaround with "set-buffer" and "paste-buffer".

https://github.com/kikijump/tslime.vim/blob/master/tslime.vim

I'll work on it overnight unless you want to test it and send me a pull-request.

from vim-slime.

jpalardy avatar jpalardy commented on July 24, 2024

This one is working for me.

Can you confirm?

from vim-slime.

Janiczek avatar Janiczek commented on July 24, 2024

Works beautifully. Thanks!

from vim-slime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.