hyperlist 1.2.7 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (7) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +81 -0
  3. data/README.md +71 -11
  4. data/hyperlist +582 -81
  5. data/hyperlist.gemspec +1 -1
  6. data/sample.hl +84 -82
  7. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb7b134a799cd11a97a50f9163852f9c3afd2935826141b9cbb108bbcf5a3afd
4
- data.tar.gz: f6a621767eeac7faf998a8ad29d843f343a2d2a07a8f7ed58d9184c52eab87b8
3
+ metadata.gz: 3c7c748c4c99992dff3a0d937be828d2cbc14cc433bcf52e5a6d5a277ef51f85
4
+ data.tar.gz: 5357c1ab7627f72debeac58e11c6d6c01058ba3835595e5f6f77dd74c20e6882
5
5
  SHA512:
6
- metadata.gz: e4864cd12fb10a0d9051342af0895a43a813b7d4683623c865a1e013ed5617fe5350c219f28e053af8af249805ae21ce387fb4c2849b08142b5b454451301d81
7
- data.tar.gz: 9eac427645abd7c2b571259d9e0daf97911508f05115d2417e45124e35101cd36540214ec66ac056d1ad459087b745c3c979f5b2a069642fc81348724e59e651
6
+ metadata.gz: 8305bcbae20d81c0d96a55d93f36ff4fcecc0ade3982c28871442fe4e9d9369d330df00979d456b3e867d75a47a9e86fd1d2c1476fbdb768a4cbe1fa0e864785
7
+ data.tar.gz: c589bb1509e7138a72153d2046e0641d57b643f4f096ae34b00a5e15764042ebdaab53f18219c5952f1a9657f5306e762833f833825dc817f0d9df456ba0f337
data/CHANGELOG.md CHANGED
@@ -2,6 +2,87 @@
2
2
 
3
3
  All notable changes to the HyperList Ruby TUI will be documented in this file.
4
4
 
5
+ ## [1.4.1] - 2025-08-29
6
+
7
+ ### Fixed
8
+ - **Configuration system improvements**
9
+ - Config lines are now completely invisible (not shown in gray)
10
+ - Config management only through `:set` commands
11
+ - Fixed `:set` commands to properly update config lines when saving
12
+ - Fixed fold_level persistence issue when using `:set fold_level=N`
13
+ - Fixed help screen crash when showing configuration section
14
+ - Added error logging for help screen debugging
15
+
16
+ ### Changed
17
+ - **Line numbering improvements**
18
+ - Line numbers now show actual line position in file (including collapsed lines)
19
+ - Both main pane and split pane show true line numbers
20
+ - Wrapped lines show line number only on first line
21
+
22
+ ### Added
23
+ - **Help system documentation**
24
+ - Added CONFIGURATION section to help screen (?)
25
+ - Documents all `:set` commands and available options
26
+ - Explains config line format and behavior
27
+
28
+ ## [1.4.0] - 2025-08-28
29
+
30
+ ### Added
31
+ - **Configuration Lines & Theming**
32
+ - New configuration line format: `((option=value, option2=value))`
33
+ - Configuration lines displayed in gray when shown
34
+ - Three color themes: `light` (bright), `normal` (standard), `dark` (for light terminals)
35
+ - Line wrapping with `+` prefix per HyperList specification
36
+ - Line number display option
37
+ - Manual configuration via `:set` commands
38
+ - `:set option=value` to change settings
39
+ - `:set option` to view a setting
40
+ - `:set` to view all settings
41
+ - **Command history** with UP/DOWN arrow navigation
42
+ - History persistence between sessions (~/.hyperlist_command_history)
43
+ - Configuration options:
44
+ - `theme` - Color theme (light/normal/dark)
45
+ - `wrap` - Line wrapping (yes/no)
46
+ - `show_numbers` - Display line numbers (yes/no)
47
+ - `fold_level` - Default fold level (0-99)
48
+ - `auto_save` - Auto-save enable (yes/no)
49
+ - `auto_save_interval` - Auto-save frequency (seconds)
50
+ - `tab_width` - Indentation width (2-8)
51
+
52
+ ## [1.3.0] - 2025-08-28
53
+
54
+ ### Added
55
+ - **Initial Configuration Support**
56
+ - Basic config line parsing (old format, now deprecated)
57
+
58
+ ## [1.2.7] - 2025-08-27
59
+
60
+ ### Fixed
61
+ - Fixed 'D' key to delete only the current line, not from cursor to end of file
62
+
63
+ ## [1.2.6] - 2025-08-26
64
+
65
+ ### Fixed
66
+ - Fixed presentation mode navigation issues
67
+ - Corrected presentation mode footer display
68
+
69
+ ## [1.2.5] - 2025-08-25
70
+
71
+ ### Enhanced
72
+ - Improved presentation mode with better focus
73
+ - Reorganized help page for better readability
74
+
75
+ ## [1.2.4] - 2025-08-24
76
+
77
+ ### Enhanced
78
+ - Enhanced item movement and indentation
79
+ - Improved editing capabilities
80
+
81
+ ## [1.2.3] - 2025-08-23
82
+
83
+ ### Fixed
84
+ - Various bug fixes and improvements
85
+
5
86
  ## [1.2.2] - 2025-08-20
6
87
 
7
88
  ### Fixed
data/README.md CHANGED
@@ -29,17 +29,53 @@ For historical context and the original VIM implementation, see: [hyperlist.vim]
29
29
  ### Help Screen
30
30
  ![HyperList Help](img/screenshot_help.png)
31
31
 
32
- ## What's New in v1.2.4
33
-
34
- ### 🎯 Enhanced Item Movement & Editing
35
- - **Smart Item Movement**: `C-UP`/`C-DOWN` now move items past siblings at the same level
36
- - **Cursor Tracking**: Cursor follows moved items to their new position
37
- - **Auto-renumbering**: Numbered lists automatically renumber when items are moved or deleted
38
- - **Outdented Insert**: Press `A` to insert a new item one level less indented
39
- - **Quick Save & Quit**: Press `W` as a shortcut for `:wq`
40
- - **Configurable Indentation**: Press `I` to cycle between 2-5 spaces per indent level
41
- - **Auto-detect Indentation**: Automatically detects indentation from loaded files
42
- - **Global Settings**: Indentation preference saved in `~/.hyperlist/config.yml`
32
+ ## What's New in v1.4.0
33
+
34
+ ### 🎨 Configuration Lines & Theming
35
+ - **Configuration Lines**: Add settings at the bottom of HyperList files using `((option=value, option2=value))`
36
+ - **Theme Support**: Three color themes - `light` (bright colors), `normal` (standard), `dark` (for light terminals)
37
+ - **Line Wrapping**: Enable with `wrap=yes` - wrapped lines use `+` prefix per HyperList spec
38
+ - **Line Numbers**: Enable with `show_numbers=yes`
39
+ - **Manual Configuration**: Use `:set option=value` to change settings on the fly
40
+ - **View Settings**: Use `:set` to see all settings, `:set option` to see one setting
41
+ - **Auto-apply**: Settings from config lines are applied when files are loaded
42
+ - **Invisible Config Lines**: Config lines are stored but never displayed in the editor
43
+ - **Persistent Settings**: All `:set` commands automatically update the config line in the file
44
+
45
+ ### Configuration Options
46
+ - `theme` - Color theme: light, normal, or dark
47
+ - `wrap` - Line wrapping: yes or no
48
+ - `show_numbers` - Show line numbers: yes or no
49
+ - `fold_level` - Default fold level: 0-99 (0=all folded, 99=all open)
50
+ - `auto_save` - Enable auto-save: yes or no
51
+ - `auto_save_interval` - Auto-save frequency in seconds
52
+ - `tab_width` - Indentation width: 2-8 spaces
53
+
54
+ Example config line: `((theme=dark, wrap=yes, fold_level=2))`
55
+
56
+ ### Using Configuration
57
+
58
+ #### Per-File Configuration
59
+ Add a configuration line at the bottom of any HyperList file:
60
+ ```
61
+ My HyperList
62
+ Item 1
63
+ Item 2
64
+
65
+ ((fold_level=2, theme=light))
66
+ ```
67
+
68
+ #### Runtime Configuration
69
+ Use `:set` commands while editing:
70
+ ```
71
+ :set # Show all current settings
72
+ :set fold_level # Show current fold level
73
+ :set fold_level=3 # Set fold level to 3
74
+ :set theme=dark # Switch to dark theme
75
+ :set wrap=yes # Enable line wrapping
76
+ ```
77
+
78
+ All `:set` commands automatically update the file's configuration line.
43
79
 
44
80
  ## Previous Updates
45
81
 
@@ -266,9 +302,33 @@ Team Meeting 2025-08-12 14:00
266
302
 
267
303
  ## Configuration
268
304
 
305
+ ### Application Configuration
269
306
  The application stores configuration in `~/.hyperlist/`:
270
307
  - `recent_files.txt` - List of recently opened files
271
308
  - `marks.yml` - Saved marks across sessions
309
+ - `command_history` - Command history for `:` commands
310
+ - `templates/` - User-defined templates
311
+
312
+ ### Per-File Configuration
313
+ Each HyperList file can have its own configuration line at the bottom:
314
+ ```
315
+ ((option=value, option2=value))
316
+ ```
317
+
318
+ This configuration line is:
319
+ - Automatically applied when the file is loaded
320
+ - Updated when you use `:set` commands
321
+ - Invisible in the editor (not displayed as content)
322
+ - Preserved when saving the file
323
+
324
+ Available options:
325
+ - `theme` - light/normal/dark
326
+ - `wrap` - yes/no
327
+ - `show_numbers` - yes/no
328
+ - `fold_level` - 0-99
329
+ - `auto_save` - yes/no
330
+ - `auto_save_interval` - seconds
331
+ - `tab_width` - 2-8
272
332
 
273
333
  ## Testing
274
334