Compare commits

...

4 Commits

6 changed files with 38 additions and 37 deletions

View File

@ -0,0 +1,13 @@
return {
-- Set lualine as statusline
'nvim-lualine/lualine.nvim',
-- See `:help lualine.txt`
opts = {
options = {
icons_enabled = vim.g.have_nerd_font,
theme = 'auto',
component_separators = '|',
section_separators = ' ',
},
},
}

View File

@ -0,0 +1,10 @@
return {
'stevearc/oil.nvim',
opts = {},
-- Optional dependencies
dependencies = { 'nvim-tree/nvim-web-devicons' },
config = function()
require('oil').setup()
vim.keymap.set('n', '<leader>fe', require('oil').open, { desc = '[F]ile [E]xplorer' })
end,
}

View File

@ -0,0 +1,13 @@
return {
-- Simple task runner plugin
'stevearc/overseer.nvim',
opts = {},
config = function(_, opts)
require('overseer').setup(opts or {})
-- Display status info about tasks
vim.keymap.set('n', '<leader>ol', '<cmd>OverseerToggle<cr>', { desc = '[O]verseer [L]og' })
-- Run task by listing all in floating
vim.keymap.set('n', '<leader>or', '<cmd>OverseerRun<cr>', { desc = '[O]verseer [R]un' })
end,
}

View File

@ -1,16 +0,0 @@
-- autopairs
-- https://github.com/windwp/nvim-autopairs
return {
'windwp/nvim-autopairs',
event = 'InsertEnter',
-- Optional dependency
dependencies = { 'hrsh7th/nvim-cmp' },
config = function()
require('nvim-autopairs').setup {}
-- If you want to automatically add `(` after selecting a function or method
local cmp_autopairs = require 'nvim-autopairs.completion.cmp'
local cmp = require 'cmp'
cmp.event:on('confirm_done', cmp_autopairs.on_confirm_done())
end,
}

View File

@ -17,26 +17,8 @@ return {
-- - sr)' - [S]urround [R]eplace [)] [']
require('mini.surround').setup()
-- Simple file explorer with in-buffer-editing
require('mini.files').setup()
vim.keymap.set({ 'n', 'v' }, '<leader>fe', function()
MiniFiles.open()
end, { desc = '[F]ile [E]xplorer' })
-- Simple and easy statusline.
-- You could remove this setup call if you don't like it,
-- and try some other statusline plugin
local statusline = require 'mini.statusline'
-- set use_icons to true if you have a Nerd Font
statusline.setup { use_icons = vim.g.have_nerd_font }
-- You can configure sections in the statusline by overriding their
-- default behavior. For example, here we set the section for
-- cursor location to LINE:COLUMN
---@diagnostic disable-next-line: duplicate-set-field
statusline.section_location = function()
return '%2l:%-2v'
end
-- Automatically add pairs of characters
require('mini.pairs').setup()
-- ... and there is more!
-- Check out: https://github.com/echasnovski/mini.nvim

View File

@ -69,7 +69,6 @@ require('lazy').setup({
require 'kickstart.plugins.debug',
require 'kickstart.plugins.indent_line',
require 'kickstart.plugins.lint',
require 'kickstart.plugins.autopairs',
-- require 'kickstart.plugins.neo-tree',
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`