Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/junegunn/vim-redis
Experimental Redis plugin for Vim
https://github.com/junegunn/vim-redis
Last synced: 28 days ago
JSON representation
Experimental Redis plugin for Vim
- Host: GitHub
- URL: https://github.com/junegunn/vim-redis
- Owner: junegunn
- Created: 2013-05-22T15:59:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-08T15:19:24.000Z (over 11 years ago)
- Last Synced: 2024-05-08T22:48:13.543Z (6 months ago)
- Language: VimL
- Size: 137 KB
- Stars: 12
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
vim-redis
=========Redis plugin for Vim. (Why?)
- Highlights Redis commands in `.redis` files
- Allows you to execute Redis commands within Vim```vim
"" Redis connection information
" let g:vim_redis_host = 'localhost'
" let g:vim_redis_port = '6379'
" let g:vim_redis_auth = 'xxx'"" Output window on bottom (default: right)
" let g:vim_redis_output_position = 'b'"" Paste command on output window
let g:vim_redis_paste_command = 1
let g:vim_redis_paste_command_prefix = '> '" Execute Redis command on the current line
noremap re :RedisExecute" Execute commands on multiple lines at once while in visual mode
vnoremap re :RedisExecuteVisualgv" Clear output window
noremap rw :RedisWipe" Close output window
noremap rq :RedisQuit"" Mappings with connection info (host, port, auth)
" noremap re :RedisExecute localhost 6379 xxx
" vnoremap re :RedisExecute localhost 6379 xxxgv
```