Posts

Showing posts from July, 2019

How and why to exit from the Insert Mode of gVim without pressing the ESC key

Image
This article was written specifically for the graphic version of Vim, ie for gVim. I use gVim about every day and every time I need to write more than some words. Vim is fast, light, mind friendly, really efficient. I like to find any solution to improve my gVim experience to get the best results in the less time considering that I hardly ever look at the keyboard when I write (my past as a pianist helps me!). One of the problems I have to solve is the exit from the Insert Mode . The <ESC> key: a fundamental in Vim and gVim One of the Vim and gVim fundamental is the <ESC> key. You read in vimtutor and other tutorials that the canonical way to exit from insert mode is to press the <ESC> key. That’s true. But the <ESC> key is at the edge of the keyboard, far from the center of it. Then when you need to exit frequently from the insert mode it could be a little uncomfortable. The built-in alternative: <Ctrl-c> There’s a built-in alternative. You can u...

Make Emacs totally portable under Windows

Image
Make Emacs totally portable under Windows Table of Contents 1. Emacs for Windows is natively portable, but not too much 2. A basic solution: create a batch file inside the bin folder 3. Second part of the solution: launch system valid for any drive letter associated with the key 4. It's not over: we can also create a Documents folder valid for all drive letters 5. 32bit version for all computers Figure 1: Emacs + USB Pendrive = Emacs Portable 1 Emacs for Windows is natively portable, but not too much Emacs needs no introduction , it is simply a work of art in computer engineering. Although native to the Unix world, Emacs is also available in Windows version and is already distributed in portable mode, ie without the need for the typical installation within the operating system. However, the portability of Emacs for Windows is limited, in the absence of specific configuration, to the basic version. As soon as you try to customize th...