Narrowing - very selective editing

Narrowing displays just a part of the current buffer you are working with, allowing you to carry out some very specific editing.

Spacemacs

Typical uses are to select a region or a function definition to narrow on.

For example, you may have two Clojure functions that have use the same local names in a let statement. The local name is used a number of times and you want to rename it. By narrowing on to just that function, you can change the local names all at once without affecting the other function definition.

results matching ""

    No results matching ""