Files
neovim-config/lua/config/kitty.lua
T
rootiest c0a3511384 🧙 Major Restructuring Update
- Plugins are now properly organized into separate folders.
- General configurations are also now organized by category into
folders.
- Now using lazyvim-defined plugins whenever possible for a more
consistent and clean experience.
- Duplicate manual plugin definitions were removed.
- Extensive testing has been performed to ensure config works on fresh
installs and a variety of systems.
- Further slimming of manual plugins and an updated dependency list is
forthcoming.
2024-07-08 10:17:08 -04:00

18 lines
787 B
Lua

-- -----------------------------------------------------------------------------
-- ---------------------------------- Kitty ------------------------------------
-- -----------------------------------------------------------------------------
if not vim.env.SSH_TTY then
-- Transparency
vim.cmd(":TransparentEnable")
else
-- No Transparency
vim.cmd(":TransparentDisable")
end
-- Kitty Navigator
vim.cmd("autocmd! TermOpen term://* lua set_terminal_keymaps()")
vim.cmd("let g:kitty_navigator_no_mappings = 1")
vim.cmd(":nnoremap <silent> {Left-Mapping} :KittyNavigateLeft<cr>")
vim.cmd(":nnoremap <silent> {Down-Mapping} :KittyNavigateDown<cr>")
vim.cmd(":nnoremap <silent> {Up-Mapping} :KittyNavigateUp<cr>")
vim.cmd(":nnoremap <silent> {Right-Mapping} :KittyNavigateRight<cr>")