SUBLIME 3 - KEY BINDINGS

HABILITAR ACENTOS. Al empezar a usar Sublime Text 3 en mi nuevo portátil (linux mint 18) sufrí el problema de no poder usar caracteres especiales como acentos en las palabras.

SUBLIME 3 - KEY BINDINGS

HABILITAR ACENTOS

Al empezar a usar Sublime Text 3 en mi nuevo portátil (linux mint 18) sufrí el problema de no poder usar caracteres especiales como tildes en las palabras.

Después de leer un poco, llegué a una solución. Simplemente necesitaba "bindear" combinaciones de teclas. Este "bindeo" lo que hace, básicamente, es identificar una secuencia de caracteres y convertirlo en otro. Es decir, si pulso el apóstrofe más la letra 'o' ( ´+ o ), sublime lo sustituirá por una 'o' con tilde (ó).

Los bindings deben ir en: Preferences > Key Bindings - User


[
    { "keys": ["´","a"], "command": "insert", "args": {"characters": "á"}},
    { "keys": ["°","a"], "command": "insert", "args": {"characters": "å"}},
    { "keys": ["¨","a"], "command": "insert", "args": {"characters": "ä"}},
 
    { "keys": ["´","A"], "command": "insert", "args": {"characters": "Á"}},
    { "keys": ["°","A"], "command": "insert", "args": {"characters": "Å"}},
    { "keys": ["¨","A"], "command": "insert", "args": {"characters": "Ä"}},
 
    { "keys": ["´","e"], "command": "insert", "args": {"characters": "é"}},
    { "keys": ["¨","e"], "command": "insert", "args": {"characters": "ë"}},
 
    { "keys": ["´","E"], "command": "insert", "args": {"characters": "É"}},
    { "keys": ["¨","E"], "command": "insert", "args": {"characters": "Ë"}},
 
    { "keys": ["´","i"], "command": "insert", "args": {"characters": "í"}},
    { "keys": ["¨","i"], "command": "insert", "args": {"characters": "ï"}},
 
    { "keys": ["´","I"], "command": "insert", "args": {"characters": "Í"}},
    { "keys": ["¨","I"], "command": "insert", "args": {"characters": "Ï"}},
 
    { "keys": ["´","o"], "command": "insert", "args": {"characters": "ó"}},
    { "keys": ["¨","o"], "command": "insert", "args": {"characters": "ö"}},
 
    { "keys": ["´","O"], "command": "insert", "args": {"characters": "Ó"}},
    { "keys": ["¨","O"], "command": "insert", "args": {"characters": "Ö"}},
 
    { "keys": ["´","u"], "command": "insert", "args": {"characters": "ú"}},
    { "keys": ["°","u"], "command": "insert", "args": {"characters": "ů"}},
    { "keys": ["¨","u"], "command": "insert", "args": {"characters": "ü"}},
 
    { "keys": ["´","U"], "command": "insert", "args": {"characters": "Ú"}},
    { "keys": ["°","U"], "command": "insert", "args": {"characters": "Ů"}},
    { "keys": ["¨","U"], "command": "insert", "args": {"characters": "Ü"}},
 
    { "keys": ["´","y"], "command": "insert", "args": {"characters": "ý"}},
    { "keys": ["¨","y"], "command": "insert", "args": {"characters": "ÿ"}},
 
    { "keys": ["´","Y"], "command": "insert", "args": {"characters": "Ý"}},
    { "keys": ["¨","Y"], "command": "insert", "args": {"characters": "Ÿ"}}
]

Share Tweet Send
0 Comentarios
Cargando...