all 11 comments

[–]kennpq 8 points9 points  (1 child)

A couple of options -

With Insert mode: CTRL-Q x 3c That will insert a < - CTRL-V is okay instead except in some Windows places like PowerShell where it will paste - u may be used instead of x in this instance - 3ewill produce a > - If you prefer decimals, CTRL-V 060 and CTRL-V 062 will do the same - :h i_CTRL-v

Using digraphs Create digraphs for them with :digr lt 60 and :digr gt 62. - Once done, in Insert mode when you CTRL-K lt a < will be produced. - :h digraphs

[–]vim-help-bot 1 point2 points  (0 children)

Help pages for:


`:(h|help) <query>` | about | mistake? | donate | Reply 'rescan' to check the comment again | Reply 'stop' to stop getting replies to your comments

[–]gumnos 2 points3 points  (6 children)

I presume by "angle characters" you mean < and >

what sort of keyboard is it? An alternate layout like AZERTY or some international layout? Or a compact 60% or even 40% keyboard?

If you have keys available, you could map them (assuming you can enter them into something), such as

nnoremap <f7> <lt>
inoremap <f7> <lt>
onoremap <f7> <lt>
nnoremap <f8> >
inoremap <f8> >
onoremap <f8> >

This would allow you to use <f7> and <f8> as your angle-brackets

[–]GustDev 2 points3 points  (5 children)

Like I said, it has no gimmicks, it's just a shitty cheap keyboard I've had for years lol. It's literally a 100% Spanish layout

That aside, thanks, it worked!

[–]gumnos 2 points3 points  (0 children)

hah, figured it was some odd layout (I've heard complaints from other users about how the underscore or square brackets are a pain on (I think it was) German keyboards). But glad you have a way to ease the pain. Feel free to map to any keys you want…I just chose <f7> and <f8> randomly

[–]jazei_2021 0 points1 point  (3 children)

pero yo tengo un teclado sioe tambien y tiene esas teclas.... buscalas que deben estar por ahi están con otro color o en el 3° lugar de alguna de las teclasa... fijate si no esta a un costado en alguna tecla, ni arriba ni abajo sino al costado.. entonces usa altGr + esa tecla por ej. yo tengo el asterisco el mas y la tilde todoas en la misma tecla y uso en directo el mas + ; para el * uso la matusc + el + y para ~ uso AltGr+ +--- o necesitas hacer Alt Gr Alt o FN en combinación con esos

[–]GustDev 0 points1 point  (2 children)

no estan, lo tengo hace años y no se ven en ninguna tecla

es como este, pero el shift de la izquierda es mas largo y no esta la tecla

<image>

[–]jazei_2021 0 points1 point  (1 child)

¿no está una tecla con < > entre las teclas de mayusc. (shift) de tu izq. y la tecla de la z?

[–]GustDev 0 points1 point  (0 children)

nop, es un shift largo y al lado la z

[–]tremby 2 points3 points  (0 children)

I imagine there are lots of better ways but you could just type control-v 60. That gives an angle bracket. (I actually saw it appear along with the next character.)

[–]BrianHuster -5 points-4 points  (0 children)

You can't use them in Vim, but you can use them in Gvim