Franco Pasut Web Site

  • it
  • About
  • Contact
  • Posts

Posts

April 20, 2021

Vim: delete sentences and paragraphs via Text Objects

Vim reduces the strain on your eyes

An unbelievable feature of Vim is the ability to perform operations within entire blocks of text called “Text Objects”, such as words, sentences and paragraphs, regardless of the cursor position inside the objects.

This means you can place the cursor randomly within the blocks and reduce the strain of your eyes towards the monitor.

read more
March 25, 2021

The "evolution line" across Ed, Vi and Vim

A little preface about Ed, Vi and Vim

Have you ever heard of Ed and Vi? Maybe you’ve heard of Vim.

They are command line text editors.

Ed was created in 1969 and it was one of the first components of Unix O.S.

Vi dates from 1976 and it was the “de facto” standard editor for Unix until the arrival, in 1984, of Emacs.

Vim was born in 1991 and it’s actually the fastest editor in the univers!

read more
August 11, 2020

Vim, flash movements between windows with EasyMotion

Quick introduction

Vim can quickly jump through different documents at a lightning speed.

Do you remember when you had to move the cursor using the arrow keys and pressing them continuosly until the final point?

If you use Vim, the above actions will be only bad memories.

You only have to install the EasyMotion plugin and make a miniml configuration.

Installation and configuration of EasyMotion

The EasyMotion plugin installation is really a kid’s joke.

read more
August 8, 2020

Join lines in Emacs using US International Dead Keys layout

Join-lines: Vim vs Emacs

Vim has a very simple system to join two lines. All you have to do is press the J (uppercase) key inside the line above.

In Emacs, instead, you must use the C-^ binding in the lower line.

But the Emacs solution may seem a bit more laborious if you use a keyboard with US International Dead Keys layout in MS Windows or GNU/Linux.

However, with a few small adjustments, it can become super-efficient.

read more
August 1, 2020

Emacs, Markdown-mode, insert spaces in text links created by the "C-c C-l" command

The reference environment: Emacs, Markdown-mode, insert a link

This article applies to the following environment:

  • Emacs: GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2019-12-03
  • Markdown Mode: markdown-mode-20200622.20
  • OS: Linux Ubuntu 20.4 LTS, Linux Fedora 32

The problem in a few words: You need to insert a link in a document written using Markdown-mode for Emacs and in the Link text you need to insert one or more spaces.

read more
March 21, 2020

LaTeX, LilyPond and lyluatex package: state-of-the-art text and music typesetting

LaTeX and LilyPond

LaTeX is a "state-of-the art" pagination system for text, maths and more.

LilyPond is the same for musical scores.

LaTeX and LilyPond together are a true excellence to mix music notation and text within same documents.

But it is not so easy to generate documents by using that combination of markup languages.

This post is intended as a simple introduction to start using LaTeX and LilyPond in documents containing text and music notation.

read more
  • ««
  • «
  • 6
  • 7
  • 8
  • 9
  • 10
  • »
  • »»
© Franco Pasut Web Site 2025