sponsor Vim development Vim logo Vim Book Ad

put_blank_lines.vim : Mapping targets to insert blank lines

 script karma  Rating 0/2, Downloaded by 629  Comments, bugs, improvements  Vim wiki

created by
Tom Ryder
 
script type
utility
 
description
This plugin provides mapping targets for inserting blank lines above or below the current line without going into insert mode.

https://sanctum.geek.nz/cgit/vim-put-blank-lines.git
 
install details
Drop plugin/put_blank_lines.vim in your ~/.vim/plugin directory, and autoload/put_blank_lines.vim in your ~/.vim/autoload directory. Add doc/put_blank_lines.txt in ~/.vim/doc if you want the help file. Otherwise, use your favourite Vim plugin package manager.

To use the same bindings as unimpaired.vim, you could put this in your .vimrc:

    nmap [<Space> <Plug>(PutBlankLinesAbove)
    nmap ]<Space> <Plug>(PutBlankLinesBelow)
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-put-blank-lines-3.0.0.tar.gz 3.0.0 2018-09-06 7.0 Tom Ryder Refactor to use <expr> mappings and 'operatorfunc' to remove repeat.vim requirement for repetition, but losing 6.0 compatibility in process
ip used for rating: 18.223.106.100

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github