Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mitchellwrosen/repld
repl daemon thinger
https://github.com/mitchellwrosen/repld
Last synced: 3 months ago
JSON representation
repl daemon thinger
- Host: GitHub
- URL: https://github.com/mitchellwrosen/repld
- Owner: mitchellwrosen
- Created: 2019-07-04T20:37:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-14T20:24:47.000Z (8 months ago)
- Last Synced: 2024-10-03T15:16:32.845Z (3 months ago)
- Language: Haskell
- Size: 56.6 KB
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# repld
Spawn an foregrounded `psql` repl that is also serving the repl on a unix domain
socket:```
> repld 'psql -U postgres'
```Send input to it from another shell:
```
> repld-send <<< 'create table foo (bar int);'
```### vim
Example `vim` settings:
```
nn s m`vip:silent '<,'>w !repld-send``
nn S m`:silent w !repld-send``
vn s m`:silent '<,'>w !repld-send``
```In normal mode, press `Space-s` to send the inner paragraph to the `repld`
server, or `Space-S` to send the whole buffer.In visual mode, press `Space-s` send the highlighted lines.