https://github.com/manateelazycat/delete-block
Delete block effectively
https://github.com/manateelazycat/delete-block
Last synced: 8 months ago
JSON representation
Delete block effectively
- Host: GitHub
- URL: https://github.com/manateelazycat/delete-block
- Owner: manateelazycat
- Created: 2019-06-22T09:05:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-24T14:22:06.000Z (over 6 years ago)
- Last Synced: 2024-12-30T19:35:13.790Z (10 months ago)
- Language: Emacs Lisp
- Size: 214 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 `` used below).In your `~/.emacs`, add the following two lines:
```Elisp
(add-to-list 'load-path "") ; 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 |
| | |