mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 12:48:01 +00:00
[neovim] Add leap and kitty window navigator plugins
This commit is contained in:
parent
0bd51fe728
commit
da8f88c3d1
@ -70,10 +70,19 @@ map kitty_mod+right launch --location=vsplit --cwd=current
|
||||
map kitty_mod+up resize_window taller 3
|
||||
map kitty_mod+down resize_window shorter 3
|
||||
map kitty_mod+x toggle_layout stack
|
||||
map alt+left previous_window
|
||||
map alt+up previous_window
|
||||
map alt+right next_window
|
||||
map alt+down next_window
|
||||
# map alt+left previous_window
|
||||
# map alt+up previous_window
|
||||
# map alt+right next_window
|
||||
# map alt+down next_window
|
||||
|
||||
# neovim integration https://github.com/knubie/vim-kitty-navigator
|
||||
map alt+down kitten pass_keys.py neighboring_window bottom alt+down
|
||||
map alt+up kitten pass_keys.py neighboring_window top alt+up
|
||||
map alt+left kitten pass_keys.py neighboring_window left alt+left
|
||||
map alt+right kitten pass_keys.py neighboring_window right alt+right
|
||||
allow_remote_control yes
|
||||
listen_on unix:@mykitty
|
||||
|
||||
map F1 launch --allow-remote-control kitty +kitten broadcast
|
||||
map ctrl+alt+p kitten secrets.py "description" "Tilix Password"
|
||||
map kitty_mod+p>l kitten hints --type line --program @
|
||||
|
@ -4,42 +4,43 @@
|
||||
"LuaSnip": { "branch": "master", "commit": "500981ff6cefc7343e3959ef0f939bd0bfd49ba9" },
|
||||
"auto-save.nvim": { "branch": "main", "commit": "4b59610e1318f8a89501cee9d47a0e8650f0a4d5" },
|
||||
"b64.nvim": { "branch": "main", "commit": "12dde6ebc3035f010833f513cfbd9abad92b28b3" },
|
||||
"bufferline.nvim": { "branch": "main", "commit": "b337fd393cef2e3679689d220e2628722c20ddcb" },
|
||||
"bufferline.nvim": { "branch": "main", "commit": "eb4e95be22c55890b90fc01a8223e0c0ea4a0862" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "0e6b2ed705ddcff9738ec4ea838141654f12eeef" },
|
||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" },
|
||||
"diffview.nvim": { "branch": "main", "commit": "58035354fc79c6ec42fa7b218dab90bd3968615f" },
|
||||
"diffview.nvim": { "branch": "main", "commit": "f089e017dfc395c128143d5cdc388263bef0a439" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "8d91ba2dc2421a54981115f61b914974f938fa77" },
|
||||
"fzy-lua-native": { "branch": "master", "commit": "085c7d262aa35cc55a8523e8c1618d398bf717a7" },
|
||||
"fzy-lua-native": { "branch": "master", "commit": "45148b3f70d244e8b8b5db60df447a2b7ac2de9d" },
|
||||
"git-blame.nvim": { "branch": "master", "commit": "8cb8dc053b7b24eac457395e3c535fdbcd95e97e" },
|
||||
"github-nvim-theme": { "branch": "main", "commit": "24c8706c9ad26b944f5a76dea999dca8708f252e" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "bb808fc7376ed7bac0fbe8f47b83d4bf01738167" },
|
||||
"go.nvim": { "branch": "master", "commit": "636fe41c878ac828c193a9d056044dc10f9e7621" },
|
||||
"guihua.lua": { "branch": "master", "commit": "a19ac4447021f21383fadd7a9e1fc150d0b67e1f" },
|
||||
"go.nvim": { "branch": "master", "commit": "7302dc4a20f87bb5e04f6d2a4cf372929b59f720" },
|
||||
"guihua.lua": { "branch": "master", "commit": "d331b1526a87edbe13679298c3547d49f8a14ffc" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "018bd04d80c9a73d399c1061fa0c3b14a7614399" },
|
||||
"karen-yank.nvim": { "branch": "main", "commit": "19173ebc9542f42ad419f1c96d74c4e4feb1c094" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "57cce98dfdb2f2dd05a0567d89811e6d0505e13b" },
|
||||
"lspsaga.nvim": { "branch": "main", "commit": "abb0e427ffd70cb5b240f17d996b7c84cd55d001" },
|
||||
"leap.nvim": { "branch": "main", "commit": "f74473d23ebf60957e0db3ff8172349a82e5a442" },
|
||||
"lspsaga.nvim": { "branch": "main", "commit": "8ab937fccd3595f9a73160e846c842b125fd0379" },
|
||||
"lualine-lsp-progress": { "branch": "master", "commit": "56842d097245a08d77912edf5f2a69ba29f275d7" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "e99d733e0213ceb8f548ae6551b04ae32e590c80" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "c28a7427c3fb29322db136f0564ec58807b26747" },
|
||||
"markdown-preview.nvim": { "branch": "master", "commit": "02cc3874738bc0f86e4b91f09b8a0ac88aef8e96" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "b64fdede85fd5e0b720ce722919e0a9b95ed6547" },
|
||||
"mason.nvim": { "branch": "main", "commit": "fdf33558c4386516150748670fde10ea39a7d86f" },
|
||||
"mini.align": { "branch": "main", "commit": "b088ddab3495e5c1c84681e6db23dd3cc0660683" },
|
||||
"mini.starter": { "branch": "main", "commit": "8cc5890e504a3fe8ac78e9db8e0a5aea49a24df2" },
|
||||
"neo-tree.nvim": { "branch": "v2.x", "commit": "20c2f2f5ba083bbb1e37b8bc3d590621434f31e9" },
|
||||
"nui.nvim": { "branch": "main", "commit": "0dc148c6ec06577fcf06cbab3b7dac96d48ba6be" },
|
||||
"null-ls.nvim": { "branch": "main", "commit": "0180603b6f3cee40f83c6fc226b9ac5f85e691c4" },
|
||||
"mason.nvim": { "branch": "main", "commit": "e57d9bd671adce24970480a194690d207e2a141d" },
|
||||
"mini.align": { "branch": "main", "commit": "7c3775294c152253d11bfef5474c0f29e833316b" },
|
||||
"mini.starter": { "branch": "main", "commit": "52f44482f68424056d4bd4fd1c679d742a0ed92b" },
|
||||
"neo-tree.nvim": { "branch": "v2.x", "commit": "2b2f74828eeb02cf29d6b21aa32eedadadc94ca7" },
|
||||
"nui.nvim": { "branch": "main", "commit": "1f43b13d133eb4b4f53a4485379d9afa58808389" },
|
||||
"null-ls.nvim": { "branch": "main", "commit": "5855128178fa78293acdfb5b4e41ef046779240b" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "0fd6519d44eac3a6736aafdb3fe9da916c3701d4" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "777450fd0ae289463a14481673e26246b5e38bf2" },
|
||||
"nvim-dap": { "branch": "master", "commit": "e8dd631ee4cbb0a5b68b51106d9cc73a4f3fb81d" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "1e21b3b50e67700e32285b5a74e645311fd8bbea" },
|
||||
"nvim-dap-virtual-text": { "branch": "master", "commit": "8db23ea51203b5f00ad107a0cef7e0b2d7a0476c" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "c5505c70571b094663745167d40388edd40f6450" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "9850baa958d6a1edd6586d77e354d89249f97a88" },
|
||||
"nvim-dap-virtual-text": { "branch": "master", "commit": "9dc45a6eb33871f4c5cb2ba08fa307467657471e" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "7179a46c2345050783d14397e672e7b152a7af4f" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "411e771d511442ab81670701f5c830f6c74aadd7" },
|
||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "729d83ecb990dc2b30272833c213cc6d49ed5214" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "267af2d57e0f251d65b95bdfd1f382211b272417" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "0568104bf8d0c3ab16395433fcc5c1638efc25d4" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "253d34830709d690f013daf2853a9d21ad7accab" },
|
||||
"projections.nvim": { "branch": "main", "commit": "008de87749e6baa402a2ce2f3ebc75e724b95da1" },
|
||||
"sad.nvim": { "branch": "master", "commit": "869c7f3ca3dcd28fd78023db6a7e1bf8af0f4714" },
|
||||
@ -50,6 +51,7 @@
|
||||
"trouble.nvim": { "branch": "main", "commit": "2ae7237c2917d661f458443c9a88680f8ca2d7b2" },
|
||||
"vim-bbye": { "branch": "master", "commit": "25ef93ac5a87526111f43e5110675032dbcacf56" },
|
||||
"vim-illuminate": { "branch": "master", "commit": "a2907275a6899c570d16e95b9db5fd921c167502" },
|
||||
"vim-kitty-navigator": { "branch": "master", "commit": "949ab618060ebcfcfb055c759f3ef9b8a2c6f184" },
|
||||
"vim-markdown-toc": { "branch": "master", "commit": "7ec05df27b4922830ace2246de36ac7e53bea1db" },
|
||||
"vim-visual-multi": { "branch": "master", "commit": "1c9207b28c8898ab01b54e6d6b61b0b820a814bc" },
|
||||
"wilder.nvim": { "branch": "master", "commit": "679f348dc90d80ff9ba0e7c470c40a4d038dcecf" },
|
||||
|
@ -15,6 +15,13 @@ vim.g.mapleader = " "
|
||||
-- term_mode = "t",
|
||||
-- command_mode = "c",
|
||||
|
||||
-- Kitty navigation
|
||||
vim.g.kitty_navigator_no_mappings = 1
|
||||
keymap("n", "<A-Left>", ":KittyNavigateLeft<cr>")
|
||||
keymap("n", "<A-Down>", ":KittyNavigateDown<cr>")
|
||||
keymap("n", "<A-Up>", ":KittyNavigateUp<cr>")
|
||||
keymap("n", "<A-Right>", ":KittyNavigateRight<cr>")
|
||||
|
||||
-- Better window navigation
|
||||
keymap("n", "<C-h>", "<C-w>h", opts)
|
||||
keymap("n", "<C-j>", "<C-w>j", opts)
|
||||
|
@ -48,7 +48,7 @@ lazy.setup({
|
||||
{
|
||||
"projekt0n/github-nvim-theme",
|
||||
lazy = false,
|
||||
priorrity = 1000,
|
||||
priority = 1000,
|
||||
version = "v0.0.x",
|
||||
config = function()
|
||||
require("github-theme").setup({
|
||||
@ -86,6 +86,14 @@ lazy.setup({
|
||||
{ "taybart/b64.nvim", event = "VeryLazy" },
|
||||
{ "echasnovski/mini.align", event = "VeryLazy", version = "*" },
|
||||
{ "tenxsoydev/karen-yank.nvim", event = "VeryLazy", config = true },
|
||||
{
|
||||
"ggandor/leap.nvim",
|
||||
version = "*",
|
||||
config = function()
|
||||
require("leap").add_default_mappings()
|
||||
end,
|
||||
},
|
||||
{ "knubie/vim-kitty-navigator", version = "*", build = "cp ./*.py ~/.config/kitty/" },
|
||||
|
||||
-- cmp plugins
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user