recentpopularlog in

kme : specialcharacters   58

xorg - how to type “smart quotes” (U+201C, U+201D) - Unix & Linux Stack Exchange | https://unix.stackexchange.com/


With a Compose key:

Compose , " → „
Compose < " → “
Compose > " → ”
Compose < ' → ‘
Compose > ' → ’

You can enter the last two characters in either order, at least in most locales. There may be locales where it only works in the order Compose < " works or only in the order Compose " <.

If you need to press Shift or AltGr to enter some of these characters, you'll need to hold those modifiers down as usual. You can press and release Compose before the subsequent characters, or you can press Compose and keep it down, as you prefer.

Most keyboards don't have a key marked “Compose”, but you can configure one and your environment may already have one configured. On a PC, a popular choice is the “Menu” key between the right Windows key and the right Ctrl key. The keyboard settings of most desktop environment include an option to make this key or some other key a Compose key.
linux  x11  composekey  curlyquotes  quotes  specialcharacters  hotkey  solution 
july 2019 by kme
Hyphen, En Dash, Em Dash, Minus (and their correct usage) : typography | https://www.reddit.com/

Em dash on Mac: Opt + Shift + dash
Em Win: Alt + 0151
En dash on Mac: Opt + Dash
En Win: Alt + 0150
Em dash on Linux: Compose + ---
En dash on Linux: Compose + --.
linux  mac  macos  windows  typography  dashes  composekey  specialcharacters  solution 
may 2019 by kme
Vim digraphs cheatsheet | https://devhints.io/
The one-page guide to Vim digraphs: usage, examples, links, snippets, and more.
vim  specialcharacters  digraphs  cheatsheet  quickreference 
march 2019 by kme
kragen/xcompose: for sharing .XCompose keybindings | https://github.com/
for sharing .XCompose keybindings. Contribute to kragen/xcompose development by creating an account on GitHub.
linux  x11  dotfile  composekey  specialcharacters  reference 
january 2019 by kme
Vim: enter Unicode characters with 8-digit hex code - Stack Overflow | https://stackoverflow.com/
Things I know:

The command ga on the character 𝓭 gives me hex:0001d4ed.
I can copy it on the clipboard and paste it via "+p.
I know how to enter Unicode values that have a 4 digit hex code:
<C-v>u for example <C-v>u03b1 gives the α character.
vim  unicode  specialcharacters  textediting  solution 
january 2019 by kme
Compose Key - Solus Forums
The terminal command works fine, but you can also install (might be installed by default) gnome-tweak-tool. You can search it in software gui or type

Code: Select all

sudo eopkg it gnome-tweak-tool


This worked for the Ubuntu Budgie remix, too.
composekey  specialcharacters  keyboard  inputmethod  ubuntu  linux  budgie  solution 
january 2018 by kme
How To Type Em And En Dashes Outside Your Word Processor | https://www.makeuseof.com/
The compose key also makes typing dashes quick: “Compose” follow by “—” creates an em dash and “–.” creates an en dash.
specialcharacters  linux  dashes  solution  mac  osx  windows 
january 2018 by kme
How to type accents, emoji, and symbols on your Mac - Apple Support | https://support.apple.com/
The question is, how would you change that shortcut, or where would you even find that? It's like a "secret" or something (ref: http://www.macosxtips.co.uk/index_files/secret-shortcut-to-use-emoji-in-mavericks.php).
You can use the Character Viewer to insert smileys, dingbats, and other symbols as you type.

1. Click the place in your document or message where you want the character to appear.
2. Press Control–Command–Space bar. The Character Viewer pop-up window appears:
mac  osx  specialcharacters  keyboard  input  hotkey  tipsandtricks  dammitbrain  solution 
november 2017 by kme
Vim documentation: digraph
<code>
Δ D* 0394 0916 GREEK CAPITAL LETTER DELTA
µ My 0xb5 181 MICRO SIGN
⋮ :3 22EE 8942 VERTICAL ELLIPSIS
⋯ .3 22EF 8943 MIDLINE HORIZONTAL ELLIPSIS
… ,. 2026 8230 HORIZONTAL ELLIPSIS
» >> 0xbb 187 RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
¡ !I 0xa1 161 INVERTED EXCLAMATION MARK
— -M 2014 8212 EM DASH
’ '9 2019 8217 RIGHT SINGLE QUOTATION MARK
</code>
vim  digraph  specialcharacters  reference  dammitbrain  solution  composekey  deutsch  hotkeys 
april 2016 by kme
Entering special characters - Vim Tips Wiki - Wikia - http://vim.wikia.com/
Digraphs work by pressing CTRL-K and a two-letter combination while in insert mode. For example, in insert mode type:

CTRL-K a:
CTRL-K e>
to give ä and ê.

You can also set the digraph option :set digraph (or :set dg).

With the digraph option set you can enter

a <BS> :
e <BS> >
to give the same result.
vim  digraph  newbie  unicode  specialcharacters  deutsch  reference  dammitbrain  composekey 
february 2016 by kme
samhocevar/wincompose · GitHub
Compose Key for Windows. Contribute to samhocevar/wincompose development by creating an account on GitHub.
windows  utility  input  altkeymaps  specialcharacters  composekey  maybesolution 
september 2015 by kme
Unicode Character 'SECTION SIGN' (U+00A7)
Alt + 0167 in Windows
Ctrl+K, SE in Vim (except in Windows?)
dammitbrain  vim  specialcharacters 
july 2015 by kme
How to use the shortcut for em dash - Microsoft Community
On Mac OS X: Shift + Option + Hyphen.

On Windows: Alt + Numpad{0, 1, 5, 1}
windows  typography  specialcharacters  mdash  hotkey  dammitbrain  workaround 
october 2014 by kme
Adding HTML entities using CSS content - Stack Overflow
You have to use the escaped unicode :

Like

.breadcrumbs a:before {
content: '>\0000a0';
}
css  html  webdevel  specialcharacters  unicode  solution 
september 2014 by kme
html - Unicode via CSS :before - Stack Overflow
The escaped hex reference of &#xf066; is \f066.

content: "\f066";
css  unicode  specialcharacters  webdevel  solution 
june 2014 by kme
How To Type Em And En Dashes Outside Your Word Processor
Also (helpfully) sends you to http://www.hermit.org/Linux/ComposeKeys.html for a longer list of compose key sequences.

It's just a shame that the author tries to insert his personal en-dash-politics into the beginning of the article; that usage of the 'en' dash is contrary to every style guide in existence (probably not even a hyperbole) and makes Nathaniel Hawthorne sad.
mac  windows  linux  composekey  specialcharacters  keyboard  essential  reference  needshelp 
march 2014 by kme
Linux Compose Key Sequences
<code>U00b0 ° "oo" degree # DEGREE SIGN</code>

Previously seen at: http://www.hermit.org/Linux/ComposeKeys.html

IMPORTANT: YOU DON'T NEED THE "English (US, alternative international)" keymap to make em dashes or put accents/diaereses on top of letters. "AltGr" (key to choose third level) is not the same as "Compose." You *do* need to enable "Compose Key" under Shortcuts -> Typing in Ubuntu >= 14.04, though.

So... the answer to the big question is. The AltGr key chooses the third level (or so I understand it). Compose is a multi-character sequence that you kick off by C+<the first letter>, then Xkb listens for a series of keypresses that "compose" the special character.

Setting AltGr to RightAlt (prob. the default) and Compose to right Menu or Logo key seems to work well. Compose is not necessarily a function of the keymap, which was difficult for me to grasp.

Sometimes it seems like you have to HOLD DOWN the Compose key while you're typing the whole sequence. Other times not. With the basic "English (US)" keyboard, this seems not to be the case. With English (US, alternative international)," for instance, it *does* seem to be the case, often because the quotes are acting as "dead keys" that don't perform their normal function until you press another key like "Space" (or a letter, to add an accent/diaeresis).
linux  composekey  specialcharacters  keyboard  alternatekeymaps  solution  quickreference 
october 2011 by kme
Working with Unicode - Vim Tips Wiki
In "normal" mode, 'ga' shows the character under the cursor as text, decimal, octal and hex; 'g8' shows which byte or bytes are used to represent it.
any utf character at all can be entered with a Ctrl-V prefix, either <Ctrl-V> u aaaa or <Ctrl-V> U bbbbbbbb, with 0 <= aaaa <= FFFF, or 0 <= bbbbbbbb <= 7FFFFFFF.
vim  unicode  tipsandtricks  essential  digraph  specialcharacters  fileencoding  revealcodes  newbie 
june 2011 by kme

Copy this bookmark:





to read