sponsor Vim development Vim logo Vim Book Ad

painless-digraph : Enter a sequence of digraphs with ease!

 script karma  Rating 1/1, Downloaded by 245  Comments, bugs, improvements  Vim wiki

created by
Jonas B
 
script type
utility
 
description
# 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.
You can post issues at https://github.com/DrCracket/painless-digraph

# Mappings

## Internal Mappings

### \<Plug\>(PainlessdigraphEnable)

This internal mapping enables the painless-digraph functionality. After calling
this mapping you can e.g. write `kon5nitiwa` to get the hiragana `こんにちわ`.

### \<Plug\>(PainlessdigraphDisable)

Disables the painless-digraph digraph-mode.

### \<Plug\>(PainlessdigraphToggle)

Toggles the painless-digraph digraph-mode.

## Default Mappings

The default mappings of this plugin are as follows:
```vim
  map <silent> <Leader>de  <Plug>(PainlessdigraphEnable)
  map <silent> <Leader>dd  <Plug>(PainlessdigraphDisable)
  map <silent> <Leader>dt  <Plug>(PainlessdigraphToggle)
```
To change them just put your desired mappings in your vimrc.
 
install details
You can install this plugin using any vim plugin manager by using the path on
GitHub for this repository. For vim-plug just add the following:

```vim
Plug 'DrCracket/painless-digraph'
```
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
painless-digraph.zip 1.0 2020-04-21 7.0 Jonas B Initial upload
ip used for rating: 3.145.183.137

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github