https://github.com/inside/fortuneod
Fortunes in a vim window
https://github.com/inside/fortuneod
Last synced: 4 months ago
JSON representation
Fortunes in a vim window
- Host: GitHub
- URL: https://github.com/inside/fortuneod
- Owner: inside
- Created: 2012-08-27T15:24:10.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2013-07-10T12:00:37.000Z (almost 13 years ago)
- Last Synced: 2025-02-01T20:26:13.155Z (over 1 year ago)
- Language: VimL
- Homepage:
- Size: 152 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
_____ _ _
| ___|__ _ __| |_ _ _ _ __ ___ ___ __| |
| |_ / _ \| '__| __| | | | '_ \ / _ \/ _ \ / _` |
| _| (_) | | | |_| |_| | | | | __/ (_) | (_| |
|_| \___/|_| \__|\__,_|_| |_|\___|\___/ \__,_|
## Introduction
Fortune on demand creates by default a bottom horizontal split window with the
result of the unix fortune command. The `fortune` command must be available to
run this plugin. If you don't have it, try something like this on a unix
system: `# aptitude install fortune`.
## Mappings
By default, `F` invokes the plugin. You can disable all mappings using
`let g:fortuneod_map_keys = 0` in your .vimrc.
To create your prefered map, use for example: `nnoremap ,f
FortuneodStart`.
## Configuration
* `g:fortuneod_botright_split 0|1` Default value is 1. Fortuneod opens a
bottom horizontal split. If you want a top horizontal split set
`g:fortuneod_botright_split = 0` in your .vimrc.
* `g:fortuneod_map_keys 0|1` Default value is 1. To disable all mapping, set
it to 0.
## Commands
Pressing `n` in the Fortune window will show another fortune.