This is a page from my book, Functional Programming, Simplified


Most of these notes are about changes I’ve made to the PDF version of the book. A few notes may pertain to the changes on this website.

Version 0.1.3

  • Released June 25, 2017

  • The title of Chapter 5 (Goals, Part 1: “Soft” Goals of This Book) was changed

  • Chapters 6 (Goals, Part 2: Concrete Goals) and 7 (Goals, Part 3: A Disclaimer) are new, and are intended to help clarify my goals for this book

How to undo and redo changes in vi/vim

vi/vim editor FAQ: How do I undo and redo changes in the vi and vim editor?

Here are a couple of quick examples of how to undo and redo (“re-do”) recent changes in your vi/vim editor sessions.

vim undo (how to undo a change in vi/vim)

You “undo” changes in vi and vim with the undo command, which is the u key when you are in vim command mode. For instance, if you start with this text in your editor:

svn commit command - how to commit changes with svn alvin March 3, 2006 - 7:29am

Here's a quick example of an svn commit command in what I think is a very typical scenario. Assuming that I just made a few changes to some files in a directory, to commit those changes back to the repository, I just issue an "svn commit" command like this, incuding a nice svn commit message:

svn commit --message "Enabling build processes to support multiple platforms"

(Don't forget -- a good SVN commit message can really help you out later. I find it helps to say both what I did, and why I did it.)