Skip to content

Latest commit

 

History

History
549 lines (263 loc) · 31.1 KB

CHANGELOG.md

File metadata and controls

549 lines (263 loc) · 31.1 KB

6.2.1 (2025-01-07)

Bug Fixes

6.2.0 (2024-12-31)

Features

  • use jobstart for Neovim v0.11+ instead of termopen (#298) (2d24427), closes #295

6.1.2 (2024-12-31)

Bug Fixes

  • update warning message during kitten generation if path contains whitespace (#296) (a8d7b84)

6.1.1 (2024-12-30)

Bug Fixes

  • add warning during kitten generation if path contains whitespace (#294) (7ee7677)

6.1.0 (2024-12-18)

Features

  • edit the current command line for bash, fish, or zsh (#253) (d8f5433), closes #245

See Command-line editing setup for setup instructions.

bash (edit-and-execute-command), fish (edit_command_buffer), and zsh (edit-command-line) all have the ability to edit the current command in an external editor. The typical workflow is that you have a long command already entered in your shell that you need to modify and execute, this makes it easy to refine complex commands.

After setting up command-line editing in kitty-scrollback.nvim, you can open your current command in kitty-scrollback.nvim's paste window. The benefit of this approach compared to using a standard Neovim instance is that you still have access to the scrollback history and kitty-scrollback.nvim's features to help you quickly modify or execute the command.

6.0.0 (2024-11-15)

  • feat!: exit kitty-scrollback.nvim with q key instead of esc (#272) (1ae369b)

BREAKING CHANGES

  • Change the default keymap for quitting kitty-scrollback.nvim from <Esc> to q.

If you prefer the previous behavior of using <Esc> to exit kitty-scrollback.nvim, this can be reconfigured by adding the following to your kitty-scrollback.nvim setup.

vim.keymap.set({ 'n' }, '<Esc>', '<Plug>(KsbCloseOrQuitAll)', {})

For example, if you are using lazy.nvim, it would look something like this

return {
  {
    'mikesmithgh/kitty-scrollback.nvim',
    lazy = true,
    cmd = { 'KittyScrollbackGenerateKittens', 'KittyScrollbackCheckHealth' },
    event = { 'User KittyScrollbackLaunch' },
    config = function()
      vim.keymap.set({ 'n' }, '<Esc>', '<Plug>(KsbCloseOrQuitAll)', {}) -- quit kitty-scrollback.nvim with Esc key
      -- vim.keymap.set({ 'n' }, 'q', '<Plug>(KsbCloseOrQuitAll)', {}) -- uncomment if you would like to also quit with the q key
      require('kitty-scrollback').setup()
    end,
  },
}

5.0.2 (2024-11-14)

Bug Fixes

  • remove kitty debug config from checkhealth (dd4bd78)

5.0.1 (2024-08-20)

Bug Fixes

  • defer setting 'columns' to hardwrap at 300 columns (#267) (2f267c3)

5.0.0 (2024-06-07)

  • feat!: use Kitty's builtin bracketed paste (#257) (89ba2b1)

BREAKING CHANGES

  • remove support for Kitty versions < 0.32.2

4.3.6 (2024-06-01)

Bug Fixes

  • pastewin: default the paste window's filetype to kitty's shell (#256) (9294cc5), closes #254

4.3.5 (2024-05-23)

Bug Fixes

  • fish: use empty bracketed paste instead of NUL char (#251) (af16e06), closes #250

4.3.4 (2024-05-16)

Bug Fixes

  • disable existing swap file is found message (e947826)
  • disable swapfile for kitty-scrollback buffers (772acac)

4.3.3 (2024-04-18)

Bug Fixes

4.3.2 (2024-04-18)

Bug Fixes

  • adjust pastewin position when winbar is set (#232) (e291b9e), closes #119

4.3.1 (2024-04-05)

Bug Fixes

4.3.0 (2024-04-03)

Features

  • update paste_window options to be either a table of function (#220) (f1df70c)

4.2.3 (2024-04-03)

Bug Fixes

  • close command-line window before quitting (12d82c5), closes #213

4.2.2 (2024-03-10)

Bug Fixes

  • no longer overwriting config name in error (#206) (6e96a31)

4.2.1 (2024-02-20)

Bug Fixes

  • adjust tmux position based on status option and add .ksb_errorbuf (a55226d)

4.2.0 (2024-02-20)

Bug Fixes

  • add buffer name suffix .ksb_footerbuf to footer (4f234de)
  • create separate set_local_defaults function (2c6812a)
  • include buffer local mappings when resolving footer keymaps (af2aa25)

Features

  • add after_paste_window_ready callback (646a41e), closes #197

4.1.0 (2024-02-19)

Features

4.0.3 (2024-02-10)

Bug Fixes

  • print configs for KittyScrollbackGenerateKittens if headless mode (#190) (fca2b05), closes #189

4.0.2 (2024-02-01)

Bug Fixes

  • fallback to kitty colors when Normal hl is undefined (#185) (0d2e76f), closes #181

4.0.1 (2024-01-31)

Bug Fixes

4.0.0 (2024-01-29)

  • feat!: redesign kitty-scrollback.nvim configuration (#118) (97fea1b), closes #118 #69

BREAKING CHANGES

  • kitty-scrollback.nvim loads your Neovim configuration by default. Previous versions of kitty-scrollback.nvim, did not load any configurations or plugins by default.

    • Previously, kitty-scrollback.nvim did not open Neovim with your Neovim configuration by default. This has changed to loading your Neovim configuration by default, with the ability to opt out. If you prefer to continue not loading your Neovim configuration, then follow the steps at No Configuration.
    • If you previously used the flag --no-nvim-args, then delete it from your configuration because it no longer has any effect. The flag --nvim-args remains unchanged and can still be used.
    • ksb_example configurations have been removed and can no longer be referenced by name. If you were previously referencing an example configuration by name, then you can manually copy it from ./tests/example.lua into your kitty-scrollback.nvim configuration. See Plugin Configuration for detailed instructions on configuration kitty-scrollback.nvim.
    • The command KittyScrollbackGenerateKittens and api generate_kittens no longer have an option to generate ksb_example configurations.
      • The command KittyScrollbackGenerateKittens no longer accepts the bang ! modifier
      • The api generate_kittens signature removed the all parameter
    • The reserved global configuration name has been removed and global options are now configured by the first element of the options table without a key. See Global Configuration for more details.
    • The undocumented reserved default configuration name has been removed. kitty-scrollback.nvim defaults to ksb_builtin_get_text_all if no configuration is provided.

3.2.1 (2024-01-23)

Bug Fixes

  • create empty buffer when first buffer has content (#169) (ba68807)

3.2.0 (2024-01-20)

Features

  • add the env variable KITTY_SCROLLBACK_NVIM (#166) (c598ff9)

3.1.6 (2024-01-10)

Bug Fixes

3.1.5 (2024-01-10)

Bug Fixes

3.1.4 (2024-01-09)

Bug Fixes

  • prevent caught deadly signal message on exit (#155) (00a0b5f), closes #135

3.1.3 (2024-01-03)

Bug Fixes

3.1.2 (2024-01-03)

Bug Fixes

  • temporarily block user input on start (#140) (ad0d6e8)

3.1.1 (2024-01-02)

Bug Fixes

3.1.0 (2024-01-02)

Features

  • add paste and execute commands in visual mode (#134) (ad00bcd)

3.0.0 (2023-12-29)

Bug Fixes

  • correct hl_as_normal_win override (73f4e8b)

  • feat!: set default icon to new nvim icon (#80) (51367da), closes #80 #70

  • feat!: add support for new neovim default colorscheme (#103) (e4e4429), closes #103

BREAKING CHANGES

  • The Neovim icon is now the default icon in the status window. Update your Nerd Font to the latest version or at least version v3.1.0.

  • Existing highlight groups were renamed. If you were overriding any kitty-scrollback.nvim highlight groups, please update the names referencing the table below.

    Previous highlight name New highlight name
    KittyScrollbackNvimNormal KittyScrollbackNvimStatusWinNormal
    KittyScrollbackNvimHeart KittyScrollbackNvimStatusWinHeartIcon
    KittyScrollbackNvimSpinner KittyScrollbackNvimStatusWinSpinnerIcon
    KittyScrollbackNvimReady KittyScrollbackNvimStatusWinReadyIcon
    KittyScrollbackNvimKitty KittyScrollbackNvimStatusWinKittyIcon
    KittyScrollbackNvimVim KittyScrollbackNvimStatusWinNvimIcon

2.4.7 (2023-12-15)

Bug Fixes

  • adjust pastewin position depending on showtabline values (#112) (9d66c4c)

2.4.6 (2023-12-14)

Bug Fixes

2.4.5 (2023-12-13)

Bug Fixes

  • only set vim colorscheme for default colorscheme (#111) (8529d4d)

2.4.4 (2023-12-12)

Bug Fixes

2.4.3 (2023-12-11)

Bug Fixes

  • add kitty fallback for checkhealth (#98) (6c93db4)

2.4.2 (2023-12-07)

Bug Fixes

2.4.1 (2023-12-01)

Bug Fixes

  • update orig_columns during WinResized event (#85) (88e2063), closes #75

2.4.0 (2023-12-01)

Features

  • clear selection in kitty after paste (#84) (7cc5814), closes #76

2.3.1 (2023-11-27)

Bug Fixes

  • remove shell integration validation (#71) (357c1f5), closes #66

2.3.0 (2023-11-26)

Features

2.2.0 (2023-11-24)

Features

2.1.2 (2023-11-22)

Bug Fixes

  • set shell to sh before executing termopen (#59) (cabb1f2), closes #56

2.1.1 (2023-11-10)

Bug Fixes

  • set nvim terminal colors to match kitty (#51) (0971ab0), closes #49

2.1.0 (2023-11-06)

Features

  • add ability to customize Visual highlight (#45) (b2ca294)

2.0.0 (2023-11-01)

  • feat!: use kitty_mod for keymaps (8e652bf), closes #30
  • feat!: replace config-file with config name (e16e96a), closes #16 #12 #2

BREAKING CHANGES

  • The default mapping keys changed from ctrl+shift to kitty_mod.
  • If you are using the default value for kitty_mod of ctrl+shift, then no change is needed.
  • If you are using a different value for kitty_mod, then you should correct any potential mapping conflicts that may occur now that kitty-scrollback.nvim is using kitty_mod.
  • The --config-file option has been removed. Custom configurations are now supplied in the setup() function instead of separate config file. The config name corresponds to the key of the table provided to setup().

1.1.10 (2023-10-24)

Bug Fixes

  • fallback to opts if no shell integration env (#37) (858f1e3)

1.1.9 (2023-10-15)

Bug Fixes

  • set initial cursor position on pastewin close (#34) (bb98562)

1.1.8 (2023-10-15)

Bug Fixes

  • use set title to remove process exited msg (#33) (684dd83)

1.1.7 (2023-10-01)

Bug Fixes

1.1.6 (2023-10-01)

Bug Fixes

  • reattempt kitty window close and get-colors (#28) (abc677a), closes #20

1.1.5 (2023-09-29)

Bug Fixes

  • disable opening scrollback if already open (#27) (b78242d)

1.1.4 (2023-09-28)

Bug Fixes

  • healthcheck: add fallback logic for < 0.10 closes #23 (#26) (f1e8c40)

1.1.3 (2023-09-28)

Bug Fixes

1.1.2 (2023-09-27)

Bug Fixes

  • healthcheck: change sed check and add debug details (#22) (dfd7f0a)

1.1.1 (2023-09-25)

Bug Fixes

  • checkhealth: reorganize and fix advice() (#21) (c4b7ca7)

1.1.0 (2023-09-23)

Features

  • make paste window yank register configurable closes #15 (#17) (31f75ea)

1.0.3 (2023-09-22)

Bug Fixes

  • allow file writing if not the paste buffer (#14) (87ff296)

1.0.2 (2023-09-19)

Bug Fixes

  • explicitly flush stdout for large scrollback closes #7 (#11) (3afc5a3)

1.0.1 (2023-09-18)

Bug Fixes

  • use single quotes in sed command closes #9 (#10) (5d84b91)

1.0.0 (2023-09-18)

Features