mirror of
https://github.com/TheM1Stery/dotfiles.git
synced 2025-04-20 00:51:11 +00:00
add kitty-scrollback.nvim
This commit is contained in:
parent
28ea704001
commit
503c0fbb29
@ -5,7 +5,8 @@
|
||||
# exec-once = mpvpaper -o "--loop" -f HDMI-A-2 ~/Videos/LiveWallpapers/mylivewallpapers.com-ADDED-Mercy-Overwatch.mp4
|
||||
# exec-once = mpvpaper -o "--loop" -f HDMI-A-2 ~/Videos/LiveWallpapers/mylivewallpapers-com-Rainy-Train-Station-4K.mp4
|
||||
# exec-once = mpvpaper -o "--loop" -f HDMI-A-2 ~/Videos/LiveWallpapers/mylivewallpapers-com-Night-Italian-Cafe-4K.mp4
|
||||
exec-once = swww init
|
||||
exec-once= mpvpaper -o "--loop" -f HDMI-A-2 ~/Videos/LiveWallpapers/mylivewallpapers-com-Winter-City-4K.mp4
|
||||
# exec-once = swww init
|
||||
|
||||
|
||||
# exec-once=wallengine --screen-root HDMI-A-2 1383845959
|
||||
|
@ -1,5 +1,7 @@
|
||||
# vim:fileencoding=utf-8:foldmethod=marker
|
||||
|
||||
include ./kittyScrollback.conf
|
||||
|
||||
# include ./OneDark.conf
|
||||
|
||||
#: Fonts {{{
|
||||
|
14
kitty/kittyScrollback.conf
Normal file
14
kitty/kittyScrollback.conf
Normal file
@ -0,0 +1,14 @@
|
||||
allow_remote_control yes
|
||||
listen_on unix:/tmp/kitty
|
||||
shell_integration enabled
|
||||
|
||||
|
||||
# kitty-scrollback.nvim Kitten alias
|
||||
action_alias kitty_scrollback_nvim kitten /home/themystery/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py --nvim-args --clean --noplugin -n --cmd "let mapleader=' '"
|
||||
|
||||
# Browse scrollback buffer in nvim
|
||||
map kitty_mod+h kitty_scrollback_nvim
|
||||
# Browse output of the last shell command in nvim
|
||||
map kitty_mod+g kitty_scrollback_nvim --config ksb_builtin_last_cmd_output
|
||||
# Show clicked command output in nvim
|
||||
mouse_map kitty_mod+right press ungrabbed combine : mouse_select_command_output : kitty_scrollback_nvim --config ksb_builtin_last_visited_cmd_output
|
@ -16,6 +16,7 @@
|
||||
"harpoon": { "branch": "harpoon2", "commit": "2cd4e03372f7ee5692c8caa220f479ea07970f17" },
|
||||
"image.nvim": { "branch": "master", "commit": "245422e5c4774f0640d41c0eadec77396f2be4a9" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "12e92044d313c54c438bd786d11684c88f6f78cd" },
|
||||
"kitty-scrollback.nvim": { "branch": "main", "commit": "89090f132cb5eb2843287d9e9971d0d1ee208767" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "28126922c9b54e35a192ac415788f202c3944c9f" },
|
||||
"leap.nvim": { "branch": "main", "commit": "9f7cf0a87ca2c3f47df37ef6787d34a65604d248" },
|
||||
"lsp-zero.nvim": { "branch": "v3.x", "commit": "e1b8d8699604f4e9ca6384e77f0f7bff99e8c74b" },
|
||||
|
14
nvim/lua/themystery/plugins/kittyScrollback.lua
Normal file
14
nvim/lua/themystery/plugins/kittyScrollback.lua
Normal file
@ -0,0 +1,14 @@
|
||||
return {
|
||||
'mikesmithgh/kitty-scrollback.nvim',
|
||||
enabled = true,
|
||||
lazy = true,
|
||||
cmd = { 'KittyScrollbackGenerateKittens', 'KittyScrollbackCheckHealth' },
|
||||
event = { 'User KittyScrollbackLaunch' },
|
||||
-- version = '*', -- latest stable version, may have breaking changes if major version changed
|
||||
-- version = '^3.0.0', -- pin major version, include fixes and features that do not have breaking changes
|
||||
config = function()
|
||||
require('kitty-scrollback').setup({
|
||||
keymaps_enabled = true
|
||||
})
|
||||
end,
|
||||
}
|
Loading…
Reference in New Issue
Block a user