New script digraph.py: nvim style digraphs. Enables entering math sym… by narodnik · Pull Request #519 · weechat/scripts · GitHub
Skip to content

New script digraph.py: nvim style digraphs. Enables entering math sym…#519

Closed
narodnik wants to merge 1 commit into
weechat:masterfrom
narodnik:master
Closed

New script digraph.py: nvim style digraphs. Enables entering math sym…#519
narodnik wants to merge 1 commit into
weechat:masterfrom
narodnik:master

Conversation

@narodnik

@narodnik narodnik commented Jan 17, 2023

Copy link
Copy Markdown

…bols easily.

Script info

  • Script name:  digraph

  • Version: 0.1

  • Requirements: None

  • Min WeeChat version: N/A

  • Script tags: None

Description

This script enables users to easily enter unicode digraphs for math symbols. When they type $, then everything after that will be replaced according to the digraphs until the next $ sign.

See here for a full list of them:

https://github.com/narodnik/weechat-digraph-latex

Will be updated over time + will eventually add a way to customize them when I get time.

Checklist (new script)

  • Single commit, single file added
  • Commit message: New script name.py: short description…
  • No similar script already exists
  • Name: max 32 chars, only lower case letters, digits and underscores
  • Unique name, does not already exist in repository
  • No shebang on the first line
  • Comment in script with name/pseudo, e-mail and license
  • Only English in code/comments
  • Pure WeeChat API used, no extra API
  • Function hook_process is used for any blocking call
  • For Python script: works with Python 3 (Python 2 support is optional)
  • Score 100 / 100 displayed by weechat-script-lint

@flashcode flashcode added the new script New script label Jan 22, 2023
@flashcode flashcode self-assigned this Feb 7, 2023
@flashcode

Copy link
Copy Markdown
Member

@flashcode flashcode closed this Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new script New script

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants