dharmik

@dharmik@linuxusers.in

admin @ linuxusers.in. •
student. mostly computers.
matrix@spiderham:matrix.org
codeshithttps://github.com/dhrm1k
bloghttps://dhrm1k.github.io

61 following 21 followers

0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

in case you too use vsplit | term to split when using and get stuck into a buffer where you can't then change the window, i got you.

add this to your config:

" Use Ctrl + ] to exit terminal mode and return to normal mode
tnoremap <C-]> <C-\><C-N>
also, did you know that C-] works like Esc. i don't know why.

...

visuwesh »
@viz@mastinsaan.in

@dharmik as for C-] and ESC being the same, I think they both are represented by the same ASCII code. Like C-i and TAB.

...

visuwesh »
@viz@mastinsaan.in

@dharmik woops, I think it is ESC and C-[ that are the same. Sorry for the noise.

...
0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

yes,
On computer keyboards, the Esc key Esc (named Escape key in the international standard series ISO/IEC 9995) is a key used to generate the escape character (which can be represented as ASCII code 27 in decimal, Unicode U+001B, or Ctrl + [ ).
this is what wikipedia says. though the thing that surprises me the most here is that it is written which can be represented as ASCII code in ... ... or Ctrl + [

...

visuwesh »
@viz@mastinsaan.in

@dharmik not that surprising. The terminal doesn't have much leeway wrt keybindings. This is alleviated by modern terminal emulators like kitty. I'm not really sure since I use a dumb terminal 99.9% of the time.

...
0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

ah, do checkout the ghostty terminal when it releases today. it's written by the great .@mitchellh@hachyderm.io

...

visuwesh »
@viz@mastinsaan.in

@dharmik I went thru the devblog and most of the features there are stuff I dont need or already have thanks to me using (1) Emacs and (2) not wanting terminal emulation at all: I prefer the Plan 9/9term/Acme's win way of working since I am not constrained to work in a "single dimension"

History