src.elv.sh@v0.21.0-dev.0.20240515223629-06979efb9a2a/pkg/edit/histwalk.d.elv (about)

     1  # ```elvish
     2  # edit:history:binding
     3  # ```
     4  #
     5  # Binding table for the history mode.
     6  var history:binding
     7  
     8  # Starts the history mode.
     9  fn history:start { }
    10  
    11  # Walks to the previous entry in history mode.
    12  fn history:up { }
    13  
    14  # Walks to the next entry in history mode.
    15  fn history:down { }
    16  
    17  # Walks to the next entry in history mode, or quit the history mode if already
    18  # at the newest entry.
    19  fn history:down-or-quit { }
    20  
    21  # Import command history entries that happened after the current session
    22  # started.
    23  fn history:fast-forward { }
    24  
    25  # Replaces the content of the buffer with the current history mode entry, and
    26  # closes history mode.
    27  fn history:accept { }