Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dnmfarrell/webstersearch
CLI and Vim plugin for search webster's 1913 dictionary
https://github.com/dnmfarrell/webstersearch
perl vim webster webster-unabridged-dictionary
Last synced: 26 days ago
JSON representation
CLI and Vim plugin for search webster's 1913 dictionary
- Host: GitHub
- URL: https://github.com/dnmfarrell/webstersearch
- Owner: dnmfarrell
- Created: 2019-05-27T20:46:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-13T01:44:17.000Z (over 5 years ago)
- Last Synced: 2024-11-16T02:24:37.486Z (3 months ago)
- Topics: perl, vim, webster, webster-unabridged-dictionary
- Language: Perl
- Homepage:
- Size: 9.79 MB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
WebsterSearch
=============
A Perl script to search Noah Webster's classic 1913 dictionary and print
any matching entries to standard output.webster-search.pl
Example:
$ ./webster-search.pl baseball
BASEBALL
Base"ball", n.1. A game of ball, so called from the bases or bounds ( four in
number) which designate the circuit which each player must endeavor
to make after striking the ball.2. The ball used in this game.
Vim installation
----------------
If you use vim-plug:```vim
Plug 'dnmfarrell/WebsterSearch'
```Or install the plugin as a package (requires vim 8):
$ mkdir -p ~/.vim/pack/webster-search/start
$ cd ~/.vim/pack/webster-search/start
$ git clone [email protected]:dnmfarrell/WebsterSearch webster-searchUpdate .vimrc to map `d` to call webster-search on the word under the
cursor, or visually highlighted:$ echo "nnoremap d :WebsterSearch(expand(''))" >> ~/.vimrc
$ echo "vnoremap d :WebsterSearch(@*)" >> ~/.vimrcCopyright (c) 2019 David Farrell
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.