The below example will show you how to use Ctrl + k as a keyboard shortcut to execute the following key sequence when you are in insert mode : <esc>:wq<Enter> Example open ~/.vimrc file go to the bottom of the file add the following lineinoremap <C-k> <esc>:wq<Enter> save and close file exit and restart terminal
Month: December 2021
Running Python in Sublime Text
With Sublime Text you can run python code but if you want to use for example the input() function, your code will hang. I found the answer to that problem in a package called Terminus. The following youtube clip shows you how to get started with it 👍