woland on Nostr: To print the ascii value of the character under the cursor in Vim, do: ga Assuming ...
To print the ascii value of the character under the cursor in Vim, do:
ga
Assuming the cursor is on the char <j>:
<j> 106, Hex 6a, Octal 152
See:
:h ga
#vim
Published at
2024-11-09 16:10:52Event JSON
{
"id": "7a4098e6192c6a1cb7a1bb6520d8b0c7bcefb9580c55d189c624b7b5a0a1cf88",
"pubkey": "8723291b2ab66e548a82e10640e0d8936d094d268a1d671bc4fb173268b79503",
"created_at": 1731168652,
"kind": 1,
"tags": [
[
"t",
"vim"
],
[
"proxy",
"https://mastodon.bsd.cafe/users/wolandark/statuses/113453868815598555",
"activitypub"
]
],
"content": "To print the ascii value of the character under the cursor in Vim, do:\n\nga\n\nAssuming the cursor is on the char \u003cj\u003e:\n\n\u003cj\u003e 106, Hex 6a, Octal 152\n\nSee: \n\n:h ga\n\n#vim",
"sig": "a6594d2d6b16de159168700c87f6e1311e45d4893f820f735207ea38c3aea0b688c4957e6364bf00b540ea259171314a6fa7be84f4b2949ccfcb47ce0cdddfc5"
}