Comments (6)
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
- They should be above
u+0100
, since everything lower is already in use - 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.
Unicode have symbols for ASCII unprintables: ␀␁␂␃␄␅␆␇␈␉␊␋␌␍␎␏␐␑␒␓␔␕␖␗␘␙␚␛␜␝␞␟␡
from v.
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.
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.
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.
With the addition of verbose mode this is now a non-issue. Closing now
from v.
Related Issues (20)
- Documentation! HOT 3
- Characters in the 0x80-0x9F range are not correctly passed into the V instance HOT 1
- Duplicate operator is borked. HOT 1
- Duplicate operator is borked with block movements
- Make custom commands work with the dot operator
- Timing bug HOT 1
- Move away from neovim HOT 7
- Duplicate operator does not work for block-wise motions. HOT 2
- V Chat Room is frozen. HOT 1
- {count}search doesn't work
- Xterm not pre-installed on Mac HOT 4
- I have installed neovim but V can't find the executable. HOT 1
- mysterious help pages HOT 2
- Unexpected ¬ behavior HOT 1
- Source of slowness HOT 3
- Visual block reverse loses last visual selection
- Arrow keys
- add ability to nest levels of ò and ñ HOT 2
- <M--> and <M-+> not working
- V Corpus HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v.