-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
92 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,48 @@ | ||
return { | ||
{ 'fladson/vim-kitty' }, | ||
{ | ||
'knubie/vim-kitty-navigator', | ||
build = 'cp ./*.py ~/.config/kitty/', | ||
'mrjones2014/smart-splits.nvim', | ||
build = './kitty/install-kittens.bash', | ||
opts = {}, | ||
config = function() | ||
local keymap = require('utils.keymap') | ||
local smartsplits = require('smart-splits') | ||
keymap.set('n', '<A-h>', smartsplits.resize_left, { desc = 'Increase window width' }) | ||
keymap.set('n', '<A-j>', smartsplits.resize_down, { desc = 'Increase window height' }) | ||
keymap.set('n', '<A-k>', smartsplits.resize_up, { desc = 'Decrease window height' }) | ||
keymap.set('n', '<A-l>', smartsplits.resize_right, { desc = 'Decrease window width' }) | ||
|
||
keymap.set('n', '<C-h>', smartsplits.move_cursor_left, { desc = 'Go to the left window' }) | ||
keymap.set('n', '<C-j>', smartsplits.move_cursor_down, { desc = 'Go to the down window' }) | ||
keymap.set('n', '<C-k>', smartsplits.move_cursor_up, { desc = 'Go to the up window' }) | ||
keymap.set('n', '<C-l>', smartsplits.move_cursor_right, { desc = 'Go to the right window' }) | ||
keymap.set('n', '<C-\\>', smartsplits.move_cursor_previous, { desc = 'Switch to the last window' }) | ||
|
||
-- keymap.set('n', '<leader><leader>h', smartsplits.swap_buf_left, { desc = 'Swap with left window' }) | ||
-- keymap.set('n', '<leader><leader>j', smartsplits.swap_buf_down, { desc = 'Swap with down window' }) | ||
-- keymap.set('n', '<leader><leader>k', smartsplits.swap_buf_up, { desc = 'Swap with up window' }) | ||
-- keymap.set('n', '<leader><leader>l', smartsplits.swap_buf_right, { desc = 'Swap with right window' }) | ||
end, | ||
}, | ||
{ | ||
'mikesmithgh/kitty-scrollback.nvim', | ||
enabled = true, | ||
lazy = true, | ||
cmd = { | ||
'KittyScrollbackGenerateKittens', | ||
'KittyScrollbackCheckHealth', | ||
'KittyScrollbackGenerateCommandLineEditing', | ||
}, | ||
event = { 'User KittyScrollbackLaunch' }, | ||
opts = { | ||
status_window = { | ||
show_timer = true, | ||
icons = { | ||
kitty = ' ', | ||
heart = ' ', | ||
nvim = ' ', | ||
}, | ||
}, | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters