11--[[
2-
2+
33=====================================================================
44==================== READ THIS BEFORE CONTINUING ====================
55=====================================================================
@@ -185,6 +185,8 @@ vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right win
185185vim .keymap .set (' n' , ' <C-j>' , ' <C-w><C-j>' , { desc = ' Move focus to the lower window' })
186186vim .keymap .set (' n' , ' <C-k>' , ' <C-w><C-k>' , { desc = ' Move focus to the upper window' })
187187
188+ vim .keymap .set (' n' , ' <leader>fs' , ' <cmd>Oil<CR>' , { desc = ' Open parent directory' })
189+
188190-- NOTE: Some terminals have colliding keymaps or are not able to send distinct keycodes
189191-- vim.keymap.set("n", "<C-S-h>", "<C-w>H", { desc = "Move window to the left" })
190192-- vim.keymap.set("n", "<C-S-l>", "<C-w>L", { desc = "Move window to the right" })
@@ -908,6 +910,35 @@ require('lazy').setup({
908910 -- Highlight todo, notes, etc in comments
909911 { ' folke/todo-comments.nvim' , event = ' VimEnter' , dependencies = { ' nvim-lua/plenary.nvim' }, opts = { signs = false } },
910912
913+ -- File Explorer
914+ {
915+ ' stevearc/oil.nvim' ,
916+ --- @module ' oil'
917+ --- @type oil.SetupOpts
918+ opts = {
919+ default_file_explorer = true ,
920+ },
921+ -- Optional dependencies
922+ dependencies = { { ' echasnovski/mini.icons' , opts = {} } },
923+ -- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
924+ -- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
925+ lazy = false ,
926+ },
927+
928+ -- GitHub Copilot Chat
929+ {
930+ ' CopilotC-Nvim/CopilotChat.nvim' ,
931+ dependencies = {
932+ { ' github/copilot.vim' }, -- or zbirenbaum/copilot.lua
933+ { ' nvim-lua/plenary.nvim' , branch = ' master' }, -- for curl, log and async functions
934+ },
935+ build = ' make tiktoken' , -- Only on MacOS or Linux
936+ opts = {
937+ -- See Configuration section for options
938+ },
939+ -- See Commands section for default commands if you want to lazy load on them
940+ },
941+
911942 { -- Collection of various small independent plugins/modules
912943 ' echasnovski/mini.nvim' ,
913944 config = function ()
@@ -926,6 +957,9 @@ require('lazy').setup({
926957 -- - sr)' - [S]urround [R]eplace [)] [']
927958 require (' mini.surround' ).setup ()
928959
960+ -- File and folder icon
961+ require (' mini.icons' ).setup ()
962+
929963 -- Simple and easy statusline.
930964 -- You could remove this setup call if you don't like it,
931965 -- and try some other statusline plugin
0 commit comments