dharmik on Nostr: in case you too use vsplit | term to split when using #vim and get stuck into a ...
in case you too use vsplit | term to split when using #vim 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.
Published at
2024-12-26 14:07:10Event JSON
{
"id": "efcd637f8d69cd90af8c4f464148919a09cde266d3784b5db3b8dc27760ce16c",
"pubkey": "24d53b5b7fdb0dad7d0082b11763b21324af150e6daa8d0c0bb9b150a1e54568",
"created_at": 1735222030,
"kind": 1,
"tags": [
[
"t",
"vim"
],
[
"proxy",
"https://linuxusers.in/dharmik/p/1735222030.550139",
"activitypub"
]
],
"content": "in case you too use vsplit | term to split when using #vim and get stuck into a buffer where you can't then change the window, i got you.\n\nadd this to your config:\n\n\" Use Ctrl + ] to exit terminal mode and return to normal mode\ntnoremap \u003cC-]\u003e \u003cC-\\\u003e\u003cC-N\u003e\nalso, did you know that C-] works like Esc. i don't know why.\n\n",
"sig": "8a67a93f1ca3b5a4b51ee6ffaff6fffb2c597e7f4817247d87368c1fa820e1c552f29f54dcf4e306cd53283d516026631fbf3549fcbd446e342d8489647035fe"
}