Skip to content

UUGTech/vim-delete-this-later

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Delete this later!

Summary

In a c++ file, you can mark areas that you want to delete instantly later and easily delete them. This plugin is made by a vim newbie and is under development. Please give me advice and contributions.

Introduction

You need to set keymap for <Plug>(delete_this_later_insert) and <Plug>(insert_this_later_delete).

sample:

nmap <C-d><C-i> <Plug>(delete_this_later_insert)
nmap <C-d><C-d> <Plug>(delete_this_later_delete)

How to use

By using <Plug>(delete_this_later_insert), you can insert "begin tag" and "end tag".

By using <Plug>(delete_this_later_delete), you can delete sections that begins with a "begin tag" and ends with a "end tag".

For competitive programmer using vim on WSL, you can use :Clp command to copy the contents of the file to the clipboard after deletion of the sections specified by the tags.

Screen

<Plug>(delete_this_later_insert) sample1 <Plug>(delete_this_later_delete) sample2

About

Plugin for vimmer who wants quick deletion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published