{"id":18008211,"url":"https://github.com/dgrnbrg/vim-redl","last_synced_at":"2025-04-04T11:46:37.236Z","repository":{"id":6106210,"uuid":"7333738","full_name":"dgrnbrg/vim-redl","owner":"dgrnbrg","description":"A better Vim integration story for Clojure","archived":false,"fork":false,"pushed_at":"2015-02-24T21:33:09.000Z","size":296,"stargazers_count":106,"open_issues_count":3,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T21:43:01.523Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"VimL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"TheMuppets/proprietary_vendor_oneplus","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dgrnbrg.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-27T00:13:55.000Z","updated_at":"2024-01-16T21:51:41.000Z","dependencies_parsed_at":"2022-09-13T23:10:22.556Z","dependency_job_id":null,"html_url":"https://github.com/dgrnbrg/vim-redl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgrnbrg%2Fvim-redl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgrnbrg%2Fvim-redl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgrnbrg%2Fvim-redl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgrnbrg%2Fvim-redl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgrnbrg","download_url":"https://codeload.github.com/dgrnbrg/vim-redl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247174400,"owners_count":20896074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T01:17:51.954Z","updated_at":"2025-04-04T11:46:37.209Z","avatar_url":"https://github.com/dgrnbrg.png","language":"VimL","funding_links":[],"categories":["Editor Plugins"],"sub_categories":[],"readme":"# Redl.vim -- Read Eval Debug Loop\n\nThis plugin integrates Vim with a running Clojure JVM. It provides a repl that\nsupports breakpoints, documentation lookup, source code navigation, and\nomnicompletion.\n\n## Installation\n\nVim Redl depends on [fireplace.vim](https://github.com/tpope/vim-fireplace).\nPlease install fireplace first.\n\nFirst, you'll need to install this as a Vim plugin. Do that with\n\n    cd ~/.vim/bundle\n    git clone git://github.com/dgrnbrg/vim-redl.git\n\nYou'll need Pathogen so that vim-redl gets loaded. Otherwise, if you are\na user of Vundle or NeoBundle, you can just use `Plugin 'dgrnbrg/vim-redl'`\nor `NeoBundle 'dgrnbrg/vim-redl'` respectively to install the Vim component.\n\nThen, you'll need to install the Clojure component. To get this, you just need to add 2 lines\nto your `~/.lein/profiles.clj`.\n\n- `:injections [(require '[redl core complete])]` ensure that redl is loaded on jvm startup\n- `:dependencies [[redl \"0.2.4\"]]` ensures that redl is available on the classpath\n\nA minimal profiles.clj (including REDL, Spyscope, and `lein pprint`) would look like:\n\n```clojure\n{:user {:dependencies [[spyscope \"0.1.3\"]\n                       [redl \"0.2.4\"]]\n        :injections [(require 'spyscope.core)\n                     (require '[redl complete core])]}}\n```\n\n### A REPL\n\nTo access the other repl, use `:Repl` or `:ReplHere`. The former opens a new\nsplit window containing a repl in the namespace `user`. The latter opens the\nrepl in the namespace of the current file.\n\nTo open this repl in a vertical split (rather than horizontal), you can set this option in your .vimrc:\n\n    let g:redl_use_vsplit = 1\n\nThe default controls for the repl are:\n\n- `ctrl-e` in insert mode evaluates the current line, regardless of cursor position.\n- `return` in insert mode at the end of the line evaluates the line, otherwise inserts a newline.\n- `ctrl-up` in insert mode goes up in the history\n- `ctrl-down` in insert mode goes down in the history\n\nIf some of these key bindings don't work on your machine, you can try to redefine them in your .vimrc. For example, to bind moving up in the history to Ctrl-Shift-K:\n\n    imap \u003csilent\u003e \u003cC-S-K\u003e \u003cPlug\u003eclj_repl_uphist.\n\nTo change other key bindings, the plugs for the repl are:\n\n    \u003cPlug\u003eclj_repl_enter.\n    \u003cPlug\u003eclj_repl_eval.\n    \u003cPlug\u003eclj_repl_hat.\n    \u003cPlug\u003eclj_repl_Ins.\n    \u003cPlug\u003eclj_repl_uphist.\n    \u003cPlug\u003eclj_repl_downhist.\n\nTo use the breakpoint feature, check out [dgrnbrg/redl](https://github.com/dgrnbrg/redl)\n(short version: `(redl.core/break)`, and then `(redl.core/continue)` in the debug sub-repl).\n\n### Omnicomplete\n\nThis feature requires redl to be loaded in the connected JVM, as this plugin\nuses redl's advanced fuzzy completion engine.\n\n## Contributing\n\nPlease, open GitHub issues for bug reports and feature requests.  Even better than a\nfeature request is just to tell me the pain you're experiencing, and perhaps\nsome ideas for what might eliminate it.\n\nThis plugin was made by borrowing generous amounts of code from vimclojure Meikel Brandmeyer.\n\n## License\n\nCopyright © David Greenberg, Tim Pope, and Meikel Brandmeyer.\nDistributed under the same terms as Vim itself.\nSee `:help license`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgrnbrg%2Fvim-redl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgrnbrg%2Fvim-redl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgrnbrg%2Fvim-redl/lists"}