Giter Club home page Giter Club logo

Comments (6)

DJMcMayhem avatar DJMcMayhem commented on July 27, 2024 1

Ok. Well, if you really want to help, it would be extremely helpful just to have someone start picking out the characters to use. And then I can take the python from there. Although the python is pretty trivial. Just adding values to a dictionary. The only requirements are

  1. They should be above u+0100, since everything lower is already in use
  2. They should be visible in vim (If you have to :set font specifically, that's OK.)

And then if they can look like the function they represent, that would be even awesomer. For example, backspace is 0x08, and escape is 0x1B. I'm sure there is some unicode symbol that could remotely represent the concept. I'm not very picky about 0x80-0x9F since they aren't even in use internally yet.

from v.

 avatar commented on July 27, 2024 1

Unicode have symbols for ASCII unprintables: ␀␁␂␃␄␅␆␇␈␉␊␋␌␍␎␏␐␑␒␓␔␕␖␗␘␙␚␛␜␝␞␟␡

from v.

DJMcMayhem avatar DJMcMayhem commented on July 27, 2024

I've already started on fixing this (though I didn't make it very far) with the utf8.py file. Now, we just need to pick the unicode characters we're going to use. Maybe take some inspiration from other esoteric languages that use the full 256 byte space, e.g. seriously, jelly, osabie (can't spell it right) or some others.

The only bytes we need to map to are 0x00-0x1F and 0x80-0x9F, all the other ones are printable (at least from within vim). 0x80-0x9F are not mapped to any commands yet, so it would be better to get 0x00-0x1F first.

from v.

vihanb avatar vihanb commented on July 27, 2024

I would help but I don't Python ;-; idk, if you could tell me what to do I could help but idk if will be very helpful ;-;

from v.

DJMcMayhem avatar DJMcMayhem commented on July 27, 2024

Update, I have decided that it makes more sense to use the vim-key descriptions instead of a codepage. That has many advantages in my mind.

  • More readability
  • Easier to learn, since each vim-key description helps explain the mnemonic.
  • Will not increase the byte count, since using the single-byte/unprintable characters is still an option.

from v.

DJMcMayhem avatar DJMcMayhem commented on July 27, 2024

With the addition of verbose mode this is now a non-issue. Closing now

from v.

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.