https://github.com/manateelazycat/open-newline
Open newline like vi.
https://github.com/manateelazycat/open-newline
Last synced: 9 months ago
JSON representation
Open newline like vi.
- Host: GitHub
- URL: https://github.com/manateelazycat/open-newline
- Owner: manateelazycat
- Created: 2019-03-23T15:24:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-23T15:25:00.000Z (over 6 years ago)
- Last Synced: 2024-12-30T19:35:07.501Z (11 months ago)
- Language: Emacs Lisp
- Size: 1000 Bytes
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What is open-newline.el ?
Open newline like vi.
Those code wrote at 2009, i extract those code from my basic-toolkit.el
## 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 open-newline to your load-path
(require 'open-newline)
```
## Usage
Bind your favorite key to functions:
| Function | Description |
| :-------- | :---- |
| open-newline-above | Move to the previous line (like vi) and then opens a line. |
| open-newline-below | Move to the next line (like vi) and then opens a line. |