diff options
author | christianchiarulli <[email protected]> | 2021-07-04 01:45:13 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-07-04 01:45:13 -0400 |
commit | bc720781ebbb1818f8bfb31f4d191216c7deac85 (patch) | |
tree | c85d5c2dbe5be09965bf78ea85352ac993f406be /lua/plugins.lua | |
parent | ddc0c71dae44aaf39742201704c22f9cf92073de (diff) | |
parent | e4da06abb0c229ae87997d3018d9190356fb3b08 (diff) |
Merge branch 'master' of github.com:ChristianChiarulli/LunarVim into stable
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r-- | lua/plugins.lua | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua index 0a59ae8d..bdda5847 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -46,12 +46,12 @@ return require("packer").startup(function(use) } -- Snap TODO disable for now, need to only install fzy when user specifies they want to use snap -- use { - -- "camspiers/snap", - -- rocks = "fzy", - -- config = function() - -- require("lv-snap").config() - -- end, - -- disable = not O.plugin.snap.active + -- "camspiers/snap", + -- rocks = "fzy", + -- config = function() + -- require("lv-snap").config() + -- end, + -- disable = not O.plugin.snap.active -- } -- Autocomplete use { @@ -114,15 +114,9 @@ return require("packer").startup(function(use) use {"glepnir/galaxyline.nvim"} use { - "romgrk/barbar.nvim", - + "akinsho/nvim-bufferline.lua", config = function() - vim.api.nvim_set_keymap('n', '<TAB>', ':BufferNext<CR>', - {noremap = true, silent = true}) - vim.api.nvim_set_keymap('n', '<S-TAB>', ':BufferPrevious<CR>', - {noremap = true, silent = true}) - vim.api.nvim_set_keymap('n', '<S-x>', ':BufferClose<CR>', - {noremap = true, silent = true}) + require("lv-bufferline").config() end, event = "BufRead" @@ -228,8 +222,9 @@ return require("packer").startup(function(use) vim.g.indentLine_enabled = 1 vim.g.indent_blankline_char = "▏" - vim.g.indent_blankline_filetype_exclude = - {"help", "terminal", "dashboard"} + vim.g.indent_blankline_filetype_exclude = { + "help", "terminal", "dashboard" + } vim.g.indent_blankline_buftype_exclude = {"terminal"} vim.g.indent_blankline_show_trailing_blankline_indent = false @@ -378,7 +373,7 @@ return require("packer").startup(function(use) cmd = "LazyGit", disable = not O.plugin.lazygit.active } - -- Lazygit + -- Octo use { "pwntester/octo.nvim", event = "BufRead", @@ -401,7 +396,7 @@ return require("packer").startup(function(use) use { "rktjmp/lush.nvim", -- cmd = {"LushRunQuickstart", "LushRunTutorial", "Lushify"}, - disable = not O.plugin.lush.active, + disable = not O.plugin.lush.active } -- HTML preview use { |