This commit is contained in:
Nikos Papadakis 2024-05-15 19:53:45 +03:00
parent e5ab8c48e7
commit 8f51e9198d
Signed by untrusted user who does not match committer: nikos
GPG key ID: 78871F9905ADFF02
3 changed files with 26 additions and 26 deletions

View file

@ -39,10 +39,6 @@
fonts.fontconfig.enable = true;
programs.kitty = {
enable = true;
};
programs.git = {
enable = true;
userName = "Nikos Papadakis";

View file

@ -17,28 +17,6 @@ return {
event = "InsertEnter",
opts = {}
},
{
"stevearc/oil.nvim",
tag = "v2.1.0",
opts = {
keymaps = {
["g?"] = "actions.show_help",
["<CR>"] = "actions.select",
["<C-v>"] = "actions.select_vsplit",
["<C-s>"] = "actions.select_split",
["<C-t>"] = "actions.select_tab",
["<C-p>"] = "actions.preview",
["<C-c>"] = "actions.close",
["r"] = "actions.refresh",
["-"] = "actions.parent",
["_"] = "actions.open_cwd",
["`"] = "actions.cd",
["~"] = "actions.tcd",
["g."] = "actions.toggle_hidden",
},
use_default_keymaps = false,
}
},
{
"lewis6991/gitsigns.nvim",
event = "VeryLazy",

26
nvim/lua/plugins/oil.lua Normal file
View file

@ -0,0 +1,26 @@
return {
"stevearc/oil.nvim",
tag = "v2.1.0",
config = function()
require("oil").setup {
keymaps = {
["g?"] = "actions.show_help",
["<CR>"] = "actions.select",
["<C-v>"] = "actions.select_vsplit",
["<C-s>"] = "actions.select_split",
["<C-t>"] = "actions.select_tab",
["<C-p>"] = "actions.preview",
["<C-c>"] = "actions.close",
["r"] = "actions.refresh",
["-"] = "actions.parent",
["_"] = "actions.open_cwd",
["`"] = "actions.cd",
["~"] = "actions.tcd",
["g."] = "actions.toggle_hidden",
},
use_default_keymaps = false,
}
vim.keymap.set("n", "<Leader>o", "<CMD>Oil<CR>", { desc = "Open Oil" })
end
}