https://github.com/tervicke/ipsumvim
Get LoremIpsum in vim with one command
https://github.com/tervicke/ipsumvim
vim vim-plug vim-plugin
Last synced: about 1 year ago
JSON representation
Get LoremIpsum in vim with one command
- Host: GitHub
- URL: https://github.com/tervicke/ipsumvim
- Owner: Tervicke
- Created: 2022-04-24T06:00:39.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-01T14:17:04.000Z (almost 2 years ago)
- Last Synced: 2025-01-13T18:19:23.469Z (about 1 year ago)
- Topics: vim, vim-plug, vim-plugin
- Language: Vim Script
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IpsumVim
Get [LoremIpsum](https://www.lipsum.com/) in vim with one command
## Install the plugin
with vim-plug
```vimscript
Plug 'Tervicke/IpsumVim/'
```
and then by doing a ```:PlugInstall```
## Use the plugin
you can insert the lorem ipsum where the current cursor in located by using the Lipsum command(you dont need to type the whole , vim autocompletes the command)
```vim-script
:Lipsum
```
## Argument
If you want to specifiy the number of words you can do it by passing arguments something like this
```vim-script
:Lipsum 69
```
whcih will add a lorem ipsum of 60 characters
NOTE: if no argument is passed deafult is 150 words
## remap
you can map the command to a something like space + p with the following command
note: my leader key is remapped to space , by deafult its " \ " key .
```vim-script
nnoremap p :Lipsum
```