Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shadyalfred/electric-quotes.nvim
Neovim plugin that works like electric-quotes emacs mode
https://github.com/shadyalfred/electric-quotes.nvim
Last synced: about 2 months ago
JSON representation
Neovim plugin that works like electric-quotes emacs mode
- Host: GitHub
- URL: https://github.com/shadyalfred/electric-quotes.nvim
- Owner: shadyalfred
- Created: 2023-08-18T15:51:33.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-30T17:46:08.000Z (over 1 year ago)
- Last Synced: 2024-08-02T18:37:13.773Z (5 months ago)
- Language: Lua
- Size: 4.88 KB
- Stars: 12
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- my-neovim-pluginlist - shadyalfred/electric-quotes.nvim - quotes.nvim) ![](https://img.shields.io/github/last-commit/shadyalfred/electric-quotes.nvim) ![](https://img.shields.io/github/commit-activity/y/shadyalfred/electric-quotes.nvim) (Other Standard Feature Enhancement / Abbreviation)
README
# electric-quotes.nvim
See [https://www.gnu.org/software/emacs/manual/html_node/emacs/Quotation-Marks.html](https://www.gnu.org/software/emacs/manual/html_node/emacs/Quotation-Marks.html)
https://github.com/shadyalfred/electric-quotes.nvim/assets/3685582/212199e3-ed6c-438a-94d6-d342e7c8bdfe
## How it works
It automatically converts
| This | Into |
|------------|------|
| ``` ` ``` | `‘` |
| ``` `` ``` | `“` |
| `'` | `’` |
| `''` | `”` |## Command
`ElectricQuotesToggle` is exposed, to enable and disable the plugin (it has to be enabled to work).## Installation
### Lazy
```lua
{
'shadyalfred/electric-quotes.nvim',
dependencies = {
'uga-rosa/utf8.nvim',
},
cmd = 'ElectricQuotesToggle',
}
```### Packer
```lua
use {
'shadyalfred/electric-quotes.nvim',
requires = {
'uga-rosa/utf8.nvim',
}
}
```