Posts

Showing posts from November, 2023

From Text Objects in Vim to Text Blocks in Gutenberg for WordPress.

Image
1 Examples of “text objects” in Vim. 2 Examples of text blocks in Gutenberg. 3 Vim and Gutenberg together. 4 In conclusion. {{% toc %}} ## About Vim and Gutenberg . Vim is a command-line editor . Gutenberg for WordPress is a visual editor. Vim was created in 1987, as an evolution from the earlier Vi. Gutenberg has become the default editor for WordPress since version 5.0 of the CMS, released on November 27, 2018 . They are chronologically and structurally very distant writing tools. But despite the differences, there are also some similarities. Vim allows writing by treating text as an “object.” Gutenberg allows writing by treating text as a “block.” Vim’s “text objects” can be edited or moved “in bulk.” The same happens, of course, with Gutenberg’s “text blocks.” The principle of “block writing” has origins far back in time: Vim is the first example. Gutenberg the last. 1 Examples of “text objects” in Vim. Text objects ca