https://github.com/potamides/painless-digraph
Enter a sequence of vim digraphs with ease!
https://github.com/potamides/painless-digraph
neovim vim vim-plugin
Last synced: over 1 year ago
JSON representation
Enter a sequence of vim digraphs with ease!
- Host: GitHub
- URL: https://github.com/potamides/painless-digraph
- Owner: potamides
- License: gpl-3.0
- Created: 2020-02-11T18:33:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-10-06T12:45:54.000Z (over 4 years ago)
- Last Synced: 2025-02-28T12:56:33.486Z (over 1 year ago)
- Topics: neovim, vim, vim-plugin
- Language: Vim script
- Homepage:
- Size: 22.5 KB
- Stars: 13
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# painless-digraph
## Intro
Vim digraphs provide a useful mechanism to enter special characters normally
not found on a keyboard. But since the methods to enter digraphs require
additional keypresses, it becomes tedious to input sequences or short phrases
(e.g. in hiragana, katakana or greek).
The *painless-digraph* plugin relieves you from this pain and provides a
digraph-mode which allows you to enter digraphs directly, without additional
keypresses.
## Installation
You can install this plugin using any vim plugin manager by using the path on
GitHub for this repository. For
[vim-plug](https://github.com/junegunn/vim-plug) just add the following:
```vim
Plug 'potamides/painless-digraph'
```
## Mappings
### Internal Mappings
#### \(PainlessdigraphEnable)
This internal mapping enables the painless-digraph functionality. After calling
this mapping you can e.g. write `kon5nitiwa` to get the hiragana `こんにちわ`.
#### \(PainlessdigraphDisable)
Disables the painless-digraph digraph-mode.
#### \(PainlessdigraphToggle)
Toggles the painless-digraph digraph-mode.
### Default Mappings
The default mappings of this plugin are as follows:
```vim
map de (PainlessdigraphEnable)
map dd (PainlessdigraphDisable)
map dt (PainlessdigraphToggle)
```
To change them just put your desired mappings in your *vimrc*.