Skip to content

Commit

Permalink
chore: update fish comments for generate command
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesmithgh committed Dec 16, 2024
1 parent 7a060b2 commit d5e2a47
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lua/kitty-scrollback/api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,11 @@ M.generate_command_line_editing = function(shell)
[[]],
},
fish = {
[[# add the following function and bindings to your fish config (e.g., ~/.config/fish/config.fish) ]],
[[# add the following function and bindings to your fish config]],
[[# e.g., ~/.config/fish/conf.d/kitty_scrollback_nvim.fish or ~/.config/fish/config.fish]],
[[]],
[[function kitty_scrollback_edit_command_buffer]],
[[ set -lx VISUAL ']] .. kitty_scrollback_edit_command_line .. [[']],
[[ set --local --export VISUAL ']] .. kitty_scrollback_edit_command_line .. [[']],
[[ edit_command_buffer]],
[[ commandline '']],
[[end]],
Expand All @@ -218,7 +219,7 @@ M.generate_command_line_editing = function(shell)
[[]],
[[# [optional] pass arguments to kitty-scrollback.nvim in command-line editing mode]],
[[# by using the environment variable KITTY_SCROLLBACK_NVIM_EDIT_ARGS]],
[[# set -gx KITTY_SCROLLBACK_NVIM_EDIT_ARGS '']],
[[# set --global --export KITTY_SCROLLBACK_NVIM_EDIT_ARGS '']],
[[]],
},
zsh = {
Expand Down

0 comments on commit d5e2a47

Please sign in to comment.