Remove bufferline and add vim-surround and vim-commentary

This commit is contained in:
Julian Raufelder 2023-09-12 23:50:18 +02:00
parent f222270b9e
commit b9f1478645
No known key found for this signature in database
1 changed files with 3 additions and 13 deletions

View File

@ -209,9 +209,6 @@ require('lazy').setup({
build = ':TSUpdate', build = ':TSUpdate',
}, },
-- Bufferline shows tab
{'akinsho/bufferline.nvim', version = "*", dependencies = 'nvim-tree/nvim-web-devicons'},
-- List entered commands
{'gelguy/wilder.nvim', version = "*", config = function() end }, {'gelguy/wilder.nvim', version = "*", config = function() end },
-- File browser -- File browser
{ {
@ -237,14 +234,9 @@ require('lazy').setup({
{'folke/noice.nvim', {'folke/noice.nvim',
event = 'VeryLazy', event = 'VeryLazy',
opts = { opts = {
-- add any options here
}, },
dependencies = { dependencies = {
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
'MunifTanjim/nui.nvim', 'MunifTanjim/nui.nvim',
-- OPTIONAL:
-- `nvim-notify` is only needed, if you want to use the notification view.
-- If not available, we use `mini` as the fallback
'rcarriga/nvim-notify', 'rcarriga/nvim-notify',
} }
}, },
@ -262,6 +254,8 @@ require('lazy').setup({
}, },
}, },
'mbbill/undotree', 'mbbill/undotree',
'tpope/vim-surround',
'tpope/vim-commentary',
-- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart -- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart
-- These are some example plugins that I've included in the kickstart repository. -- These are some example plugins that I've included in the kickstart repository.
@ -406,7 +400,7 @@ vim.keymap.set('n', '<leader>sfh', '<Cmd>Telescope find_files hidden=true no_ign
-- See `:help nvim-treesitter` -- See `:help nvim-treesitter`
require('nvim-treesitter.configs').setup { require('nvim-treesitter.configs').setup {
-- Add languages to be installed here that you want installed for treesitter -- Add languages to be installed here that you want installed for treesitter
ensure_installed = { 'lua', 'python', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash', 'css', 'dockerfile', 'html', 'java', 'kotlin', 'json', 'markdown_inline', 'ruby', 'sql', 'toml', 'vue', 'yaml' }, ensure_installed = { 'lua', 'python', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash', 'css', 'dockerfile', 'html', 'java', 'kotlin', 'json', 'markdown_inline', 'ruby', 'rust', 'sql', 'toml', 'vue', 'yaml' },
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
auto_install = false, auto_install = false,
@ -639,10 +633,6 @@ vim.keymap.set('n', '<leader>rr', [[:%s/\<<C-r><C-w>\>/<C-r><C-w>/gI<Left><Left>
vim.keymap.set('n', 'B', '_', { desc = 'Jump to line [B]eginning' }) vim.keymap.set('n', 'B', '_', { desc = 'Jump to line [B]eginning' })
vim.keymap.set('n', 'E', '$', { desc = 'Jump to line [E]nding' }) vim.keymap.set('n', 'E', '$', { desc = 'Jump to line [E]nding' })
-- bufferline
vim.opt.termguicolors = true
require("bufferline").setup{}
-- wilder -- wilder
local wilder = require('wilder') local wilder = require('wilder')
wilder.setup({modes = {':', '/', '?'}}) wilder.setup({modes = {':', '/', '?'}})