remove startup, default to fullscreen oil, add pairs back
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
return {
|
||||||
|
'windwp/nvim-autopairs',
|
||||||
|
event = 'InsertEnter',
|
||||||
|
config = true,
|
||||||
|
-- use opts = {} for passing setup options
|
||||||
|
-- this is equivalent to setup({}) function
|
||||||
|
}
|
||||||
@@ -159,6 +159,7 @@ return { -- LSP Configuration & Plugins
|
|||||||
gopls = {},
|
gopls = {},
|
||||||
pyright = {},
|
pyright = {},
|
||||||
rust_analyzer = {},
|
rust_analyzer = {},
|
||||||
|
markdownlint = {},
|
||||||
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
||||||
--
|
--
|
||||||
-- Some languages (like typescript) have entire language plugins that can be useful:
|
-- Some languages (like typescript) have entire language plugins that can be useful:
|
||||||
|
|||||||
@@ -23,8 +23,6 @@ return { -- Collection of various small independent plugins/modules
|
|||||||
-- set use_icons to true if you have a Nerd Font
|
-- set use_icons to true if you have a Nerd Font
|
||||||
statusline.setup { use_icons = vim.g.have_nerd_font }
|
statusline.setup { use_icons = vim.g.have_nerd_font }
|
||||||
|
|
||||||
require('mini.starter').setup()
|
|
||||||
|
|
||||||
-- You can configure sections in the statusline by overriding their
|
-- You can configure sections in the statusline by overriding their
|
||||||
-- default behavior. For example, here we set the section for
|
-- default behavior. For example, here we set the section for
|
||||||
-- cursor location to LINE:COLUMN
|
-- cursor location to LINE:COLUMN
|
||||||
|
|||||||
@@ -186,6 +186,6 @@ return {
|
|||||||
opts = opt,
|
opts = opt,
|
||||||
-- Optional dependencies
|
-- Optional dependencies
|
||||||
dependencies = { 'nvim-tree/nvim-web-devicons' }, -- use if prefer nvim-web-devicons
|
dependencies = { 'nvim-tree/nvim-web-devicons' }, -- use if prefer nvim-web-devicons
|
||||||
vim.keymap.set('n', '<leader>ef', '<CMD>Oil --float<CR>', { desc = '[E]nter Oil [F]loat' }),
|
--vim.keymap.set('n', '<leader>ef', '<CMD>Oil --float<CR>', { desc = '[E]nter Oil [F]loat' }),
|
||||||
vim.keymap.set('n', '<leader>ee', '<CMD>Oil --preview<CR>', { desc = '[E]nter Oil' }),
|
vim.keymap.set('n', '<leader>e', '<CMD>Oil --preview<CR>', { desc = '[E]nter Oil' }),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user