Skip to content

Commit 1c37fef

Browse files
committed
Rename ghostel-evil to evil-ghostel
Follow the Emacs evil ecosystem naming convention (evil-<package>). A ghostel-evil.el compatibility shim with obsolete aliases is kept so existing user configs continue to work with a deprecation warning.
1 parent 07edb61 commit 1c37fef

7 files changed

Lines changed: 488 additions & 463 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ jobs:
6868
run: |
6969
git clone --depth 1 https://github.com/emacs-evil/evil.git /tmp/evil
7070
71-
- name: Run ghostel-evil tests
71+
- name: Run evil-ghostel tests
7272
run: |
7373
emacs --batch -Q -L /tmp/evil -L . \
7474
-l ert \
75-
-l test/ghostel-evil-test.el \
76-
-f ghostel-evil-test-run-elisp
75+
-l test/evil-ghostel-test.el \
76+
-f evil-ghostel-test-run-elisp
7777
7878
build-native:
7979
strategy:

.github/workflows/melpazoid.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Run
4747
env:
4848
LOCAL_REPO: ${{ github.workspace }}
49-
RECIPE: (ghostel-evil :fetcher github :repo "dakra/ghostel" :files ("ghostel-evil.el"))
49+
RECIPE: (evil-ghostel :fetcher github :repo "dakra/ghostel" :files ("evil-ghostel.el"))
5050
EXIST_OK: false
5151
WARN_IS_ERROR: true
5252
run: make -C ~/melpazoid

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ test-evil:
3434
git clone --depth 1 https://github.com/emacs-evil/evil.git "$(EVIL_DIR)"; \
3535
fi
3636
$(EMACS) --batch -Q -L "$(EVIL_DIR)" -L . \
37-
-l ert -l test/ghostel-evil-test.el -f ghostel-evil-test-run
37+
-l ert -l test/evil-ghostel-test.el -f evil-ghostel-test-run
3838

3939
byte-compile: $(ELC)
4040

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,20 +403,20 @@ individual faces with `M-x customize-face`.
403403

404404
## Evil-mode
405405

406-
Ghostel includes optional `evil-mode` support via `ghostel-evil.el`.
406+
Ghostel includes optional `evil-mode` support via `evil-ghostel.el`.
407407
It synchronizes the terminal cursor with Emacs point during evil state
408408
transitions so that normal-mode navigation (`hjkl` etc.) works
409409
correctly.
410410

411411
To enable:
412412

413413
```elisp
414-
(use-package ghostel-evil
414+
(use-package evil-ghostel
415415
:after (ghostel evil)
416-
:hook (ghostel-mode . ghostel-evil-mode))
416+
:hook (ghostel-mode . evil-ghostel-mode))
417417
```
418418

419-
When `ghostel-evil-mode` is active:
419+
When `evil-ghostel-mode` is active:
420420

421421
- Ghostel starts in **insert state** (terminal input works normally)
422422
- Pressing **ESC** enters normal state and snaps point to the terminal cursor

0 commit comments

Comments
 (0)