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
Author: matari
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 👍
adventures in SQL: using ‘where’ and ‘having’
I was of the understanding that the where clause which is used like a filter, cannot use aggregate functions for filtering. Furthermore, if you want to filter using an aggregate function, you need to use the having clause. My misunderstanding was that, if I use a having clause, I couldn’t use a where clause. I… Continue reading adventures in SQL: using ‘where’ and ‘having’
wordpress waylay
Today I installed WordPress! I did a manual installation. It was straightforward for the most part, until I tried making my first blog post. When I tried submitting my first post (the very one you’re looking at now), WordPress would respond with “Publishing failed. You are probably offline.” I found the answer to my issue… Continue reading wordpress waylay