Skip to content

Instantly share code, notes, and snippets.

View kennypete's full-sized avatar

Peter Kenny kennypete

  • Auckland, New Zealand
  • 04:11 (UTC +12:00)
View GitHub Profile
@kennypete
kennypete / navigating_the_modes_of_Vim.md
Created April 18, 2024 20:46
Navigating the modes of Vim

Navigating the modes of Vim

This diagram illustrates navigating through Vim’s modes. It was built factoring Vim 9 (i.e., all its modes, including up to two new modes, cr and cvr, in November 2023). Information about the state() and 'showmode' is provided too.

SVG version

Some features are only available in the SVG version. It is not provided directly from within this gist’s files because SVGs do not always play nicely in GitHub (particularly, refusing to display embedded fonts).

The SVG version includes hover text help, which shows pertinent information about the underlying key, command, mode, etc.

XSLT examples using Saxon

The PowerShell script eg.ps1 runs the examples.

Common files are:

  1. eg.xml (the XML source); it is a file containing data relating to Unicode code points (and a few 2-code points) where they have named character references (sometimes aka entities).

  2. eg.xslt (the XSLT); this will transform the XML to a .csv with some

@kennypete
kennypete / _gvim-kennypete-toolbar.adoc
Last active February 12, 2024 18:06
Customising a gvim toolbar

My gvim toolbar

@kennypete
kennypete / _How_To_Images_Gist.adoc
Last active April 24, 2023 20:39
Creating an images repository gist

Creating an images repository gist

The problem