mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
niri
This commit is contained in:
parent
64d100c252
commit
5921775239
13 changed files with 42 additions and 100 deletions
|
|
@ -30,12 +30,12 @@ return {
|
|||
-- end,
|
||||
-- dependencies = { "nvim-telescope/telescope.nvim" },
|
||||
-- },
|
||||
-- {
|
||||
-- "NeogitOrg/neogit",
|
||||
-- config = true,
|
||||
-- cmd = {
|
||||
-- "Neogit",
|
||||
-- },
|
||||
-- },
|
||||
{ import = "plugins.mod.neo-tree" },
|
||||
{
|
||||
"NeogitOrg/neogit",
|
||||
config = true,
|
||||
cmd = {
|
||||
"Neogit",
|
||||
},
|
||||
},
|
||||
-- { import = "plugins.mod.neo-tree" },
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ return {
|
|||
dashboard.button("p", " 查找项目", "<cmd>Telescope projects<CR>"),
|
||||
dashboard.button("h", " 历史文件", "<cmd>Telescope oldfiles<CR>"),
|
||||
dashboard.button("l", " 加载会话", "<cmd>SessionSearch<CR>"),
|
||||
-- FIXME: This does not work on Windows - Make it more portable
|
||||
dashboard.button("c", " 转到设置", "<cmd>Telescope find_files cwd=~/.config/nvim<CR>"),
|
||||
dashboard.button("SPC q", " 退出", "<cmd>qa<CR>"),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -88,13 +88,13 @@ return {
|
|||
img_dirs = { "90 - System/Assets" },
|
||||
},
|
||||
},
|
||||
-- keys = {
|
||||
-- {
|
||||
-- "<leader>ft",
|
||||
-- function()
|
||||
-- require("snacks").explorer()
|
||||
-- end,
|
||||
-- desc = "Toggle File Explorer",
|
||||
-- },
|
||||
-- },
|
||||
keys = {
|
||||
{
|
||||
"<leader>ft",
|
||||
function()
|
||||
require("snacks").explorer()
|
||||
end,
|
||||
desc = "Toggle File Explorer",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -124,5 +124,13 @@
|
|||
"ctrl-w l": "workspace::ActivatePaneRight",
|
||||
"ctrl-w j": "workspace::ActivatePaneDown"
|
||||
}
|
||||
},
|
||||
// Sneak
|
||||
{
|
||||
"context": "vim_mode == normal || vim_mode == visual",
|
||||
"bindings": {
|
||||
"s": "vim::PushSneak",
|
||||
"shift-s": "vim::PushSneakBackward"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue