Hacker News new | ask | show | jobs
by dvas 977 days ago
Maybe this could be useful.

I had a similar need where I always wanted to be able to start writing at a moment's notice, ideally with a key-bind of some sort where I didn't have to wait for the editor splash screen and various indexing operations.

I have created a flow where a key-binded system command would invoke a script which did the following:

1. Create a new instance of a terminal in full-screen mode / maximised (key binding can allow you to open up a terminal instance with parameters to specify view options)

2. In the newly created instance, open up a command line editor (vim in my case).

^^ The above is a simple starting point, however, you could add extra steps like disabling the network interface for a set period in the script, adding templates to different key-binding invocations etc.