Duplicate task type upon enter

Plugin Request: Preserve Checkbox Type on New Line

Description

In Obsidian, when pressing Enter on a task line (e.g., - [>]), the default behavior creates a new task with - [ ]. However, I would like a plugin that preserves the checkbox type when creating a new line.

Expected Behavior

  • When pressing Enter on a task line that has a checkbox (- [>], - [-], etc.), the new line should start with the same checkbox type instead of defaulting to - [ ].
  • This should apply to all checkbox types except - [x] (completed tasks).
  • If the current line starts with - [>], pressing Enter should create:
    - [>] Task 1  
    - [>]   
    
    Instead of:
    - [>] Task 1  
    - [ ]  
    
  • The behavior should remain unchanged when pressing Enter on a - [x] checkbox:
    - [x] Task 1  
    - [ ]