Skip to content

manateelazycat/delete-block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

What is delete-block?

I need an efficient plugin to delete the left and right content of the cursor. Generally speaking, skip-syntax-forward and skip-syntax-backward can handle forward deletion and backward deletion very well. But skip-syntax-* unable to handle camel-style word movement, such as just delete Foo part in FooBar word.

So this plugins mix skip-syntax-*' and subword-mode' for better delete block experience.

Installation

Clone or download this repository (path of the folder is the <path-to-delete-block> used below).

In your ~/.emacs, add the following two lines:

(add-to-list 'load-path "<path-to-delete-block>") ; add delete-block to your load-path
(require 'delete-block)

Usage

Bind your favorite key to functions:

Function Description
delete-block-forward Delete block forward
delete-block-backward Delete block backward

About

Delete block effectively

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published