diff --git a/CHANGELOG.md b/CHANGELOG.md index ec8962e..47f89dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file. - Tips: [Saner behavior of n and N](README.md#saner-behavior-of-n-and-n) - Tips: [Quickly move current line](README.md#quickly-move-current-line) +- Tips: [Quickly add empty lines](README.md#quickly-add-empty-lines) ## [1.0] - 2016-01-06 First release! diff --git a/README.md b/README.md index 76d4391..4f2b4df 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ #### [Tips](#tips-1) - [Saner behavior of n and N](#saner-behavior-of-n-and-n) - [Quickly move current line](#quickly-move-current-line) +- [Quickly add empty lines](#quickly-add-empty-lines) #### [Debugging](#debugging-1) - [General tips](#general-tips) @@ -371,6 +372,15 @@ nnoremap ]e :execute 'move +'. v:count1 ``` These mappings also take a count, so `2]e` moves the current line 2 lines below. +#### Quickly add empty lines + +This is surely no must-have, but I prefer the following mappings over +`o`/`O`: +```viml +nnoremap [ :put! ='' +nnoremap ] :put ='' +``` + ## Debugging #### General tips