From 6b0bdfa63bdfb1464db36162390a35da9792cb14 Mon Sep 17 00:00:00 2001 From: "jakob.stendahl" Date: Wed, 7 Feb 2024 21:45:39 +0100 Subject: Remove some plugins --- Common/nvim/lua/basic.lua | 13 ++++++++++++- Common/nvim/lua/plugins.lua | 17 ++--------------- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/Common/nvim/lua/basic.lua b/Common/nvim/lua/basic.lua index ca59d1c..ab3a9c7 100755 --- a/Common/nvim/lua/basic.lua +++ b/Common/nvim/lua/basic.lua @@ -24,9 +24,20 @@ vim.api.nvim_create_user_command( ) -- Disable the auto line wrap --- vim.cmd [[ set formatoptions-=t ]] vim.opt.formatoptions:remove("t") +-- Make find more usefull +vim.opt.path:append("**") + +-- Turn off netrw banner +vim.g.netrw_banner = 0 +-- Tree style listing in netrw +vim.g.netrw_liststyle = 3 +-- Make browse set split +-- vim.g.netrw_browse_split = 4 +-- Split to the right, instead of to the left +-- vim.g.netrw_altv = 1 + --[[ VIM User interface --]] diff --git a/Common/nvim/lua/plugins.lua b/Common/nvim/lua/plugins.lua index 6bdaba5..6d9cf9a 100755 --- a/Common/nvim/lua/plugins.lua +++ b/Common/nvim/lua/plugins.lua @@ -26,17 +26,6 @@ return require('packer').startup(function(use) end, } - -- nvim-tree - use { - 'kyazdani42/nvim-tree.lua', - requires = { 'kyazdani42/nvim-web-devicons' }, - tag = 'nightly', -- optional, updated every week. (see issue #1193) - config = function() - require("nvim-tree").setup() - map("n", "", ":NvimTreeToggle", silentnoremap) - end, - } - -- fzf (Fuzzy finder for various things) use { 'junegunn/fzf.vim', @@ -181,15 +170,13 @@ return require('packer').startup(function(use) end } + use 'tpope/vim-surround' --use { 'PatrickFeiring/tree-sitter-sql' } use 'evanleck/vim-svelte' use 'pangloss/vim-javascript' use 'ledger/vim-ledger' - -- Goyo :) - -- use { - -- 'junegunn/goyo.vim' - -- } + -- use { 'junegunn/goyo.vim' } -- use { 'smithbm2316/centerpad.nvim' } -- Color picker -- cgit v1.2.3