From ddbc860530ae816865e854c17d51728db31ca5b7 Mon Sep 17 00:00:00 2001 From: Hayden Hargreaves Date: Mon, 30 Mar 2026 23:14:01 -0700 Subject: [PATCH] doc: updated README.md --- FEATURES.md | 31 +++++++++++++++++-------------- internal/input/keymap.go | 1 + 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/FEATURES.md b/FEATURES.md index b9ec918..3df1474 100644 --- a/FEATURES.md +++ b/FEATURES.md @@ -127,8 +127,8 @@ - [ ] Last search register (`/`) ### Undo/Redo -- [ ] `u` - Undo -- [ ] `ctrl+r` - Redo +- [x] `u` - Undo +- [x] `ctrl+r` - Redo - [ ] `.` - Repeat last change - [ ] `U` - Undo all changes on line @@ -228,18 +228,20 @@ ## Text Objects +### Implemented + +- [x] `iw` / `aw` - Inner/around word +- [x] `iW` / `aW` - Inner/around WORD +- [x] `is` / `as` - Inner/around sentence +- [x] `ip` / `ap` - Inner/around paragraph +- [x] `i"` / `a"` - Inner/around double quotes +- [x] `i'` / `a'` - Inner/around single quotes +- [x] `` i` `` / `` a` `` - Inner/around backticks +- [x] `i(` / `a(` - Inner/around parentheses +- [x] `i[` / `a[` - Inner/around brackets +- [x] `i{` / `a{` - Inner/around braces +- [x] `i<` / `a<` - Inner/around angle brackets ### Not Implemented -- [ ] `iw` / `aw` - Inner/around word -- [ ] `iW` / `aW` - Inner/around WORD -- [ ] `is` / `as` - Inner/around sentence -- [ ] `ip` / `ap` - Inner/around paragraph -- [ ] `i"` / `a"` - Inner/around double quotes -- [ ] `i'` / `a'` - Inner/around single quotes -- [ ] `` i` `` / `` a` `` - Inner/around backticks -- [ ] `i(` / `a(` - Inner/around parentheses -- [ ] `i[` / `a[` - Inner/around brackets -- [ ] `i{` / `a{` - Inner/around braces -- [ ] `i<` / `a<` - Inner/around angle brackets - [ ] `it` / `at` - Inner/around tag --- @@ -371,7 +373,8 @@ Buffers are in-memory representations of files. A buffer exists for each open fi ### Display - [x] Line numbers - [x] Cursor position tracking -- [x] Viewport/scrolling +- [x] Viewport/scrolling (Y) +- [ ] Viewport/scrolling (X) - [x] ScrollOff setting - [x] Relative line numbers - [ ] Cursor line highlight diff --git a/internal/input/keymap.go b/internal/input/keymap.go index 575eb20..b955b44 100644 --- a/internal/input/keymap.go +++ b/internal/input/keymap.go @@ -123,6 +123,7 @@ func NewVisualKeymap() *Keymap { "e": motion.MoveForwardWordEnd{Count: 1}, "E": motion.MoveForwardWORDEnd{Count: 1}, "b": motion.MoveBackwardWord{Count: 1}, + // TODO: O and o. These are fun ones! Should be simple too }, operators: map[string]action.Operator{ "d": operator.DeleteOperator{},