emacs-evil / emacs-evil/evil

:r https://google.com works in nvim, doesn't work in emacs

Open
#1,990 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Emacs Lisp
Stars
3.9k
Forks
307
PR merge metrics
No merged PRs in 30d

Description

`:r(ead)` and `:e(dit)` commands in vim can take urls and through netrw (built-in) plugin insert/edit the content of it.

Unfortunately, this doesn't seem to work in Emacs, so you can't do things like:

`:e scp://user@host/path-to-file` or `:r https://some-web-address`

Minor thing for sure, yet maybe it would be nice to have the parity.

Additionally, I think it would be great if it was possible to execute arbitrary elisp functions through `:r` and `:e`, something that I don't think can be done in neovim, but maybe can be achieved in emacs relatively easily?

Contributor guide

Open the contributing guide

Research direction

Start by locating the implementations of the :r(ead) and :e(dit) commands and determine how they handle file arguments. Compare their behavior with the described Vim cases for https:// URLs and scp:// paths, then decide whether arbitrary Emacs Lisp invocation belongs in the same scope. Done means the requested remote or URL editing behavior is defined and covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs-lisp
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.