From b9f1478645596e9e6080538f2696a8faae53d9a5 Mon Sep 17 00:00:00 2001 From: Julian Raufelder Date: Tue, 12 Sep 2023 23:50:18 +0200 Subject: [PATCH] Remove bufferline and add vim-surround and vim-commentary --- init.lua | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/init.lua b/init.lua index f336806..cb1776e 100644 --- a/init.lua +++ b/init.lua @@ -209,9 +209,6 @@ require('lazy').setup({ 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 }, -- File browser { @@ -237,14 +234,9 @@ require('lazy').setup({ {'folke/noice.nvim', event = 'VeryLazy', opts = { - -- add any options here }, dependencies = { - -- if you lazy-load any plugin below, make sure to add proper `module="..."` entries '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', } }, @@ -262,6 +254,8 @@ require('lazy').setup({ }, }, 'mbbill/undotree', + 'tpope/vim-surround', + 'tpope/vim-commentary', -- 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. @@ -406,7 +400,7 @@ vim.keymap.set('n', 'sfh', 'Telescope find_files hidden=true no_ign -- See `:help nvim-treesitter` require('nvim-treesitter.configs').setup { -- 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!) auto_install = false, @@ -639,10 +633,6 @@ vim.keymap.set('n', 'rr', [[:%s/\<\>//gI vim.keymap.set('n', 'B', '_', { desc = 'Jump to line [B]eginning' }) vim.keymap.set('n', 'E', '$', { desc = 'Jump to line [E]nding' }) --- bufferline -vim.opt.termguicolors = true -require("bufferline").setup{} - -- wilder local wilder = require('wilder') wilder.setup({modes = {':', '/', '?'}})