Skip to content

Commit 9af1ed2

Browse files
enabled and disabled some plugins
remember to enable hydra.nvim again
1 parent 9e74ab8 commit 9af1ed2

File tree

5 files changed

+23
-6
lines changed

5 files changed

+23
-6
lines changed

lua/core/mappings.lua

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ map("n", "<leader>dt", function()
259259
require("dapui").toggle()
260260
end)
261261

262-
-- Packer
262+
-- Lazy.nvim
263263
map("n", "<leader>li", "<cmd>Lazy install<CR>")
264264
map("n", "<leader>lu", "<cmd>Lazy update<CR>")
265265
map("n", "<leader>lx", "<cmd>Lazy clean<CR>")
@@ -388,3 +388,19 @@ end, { desc = "Lazygit (cwd)" })
388388
map("n", "<leader>tft", function()
389389
utils.float_term()
390390
end)
391+
392+
map("n", "<leader>bis", function()
393+
require("browse").input_search()
394+
end)
395+
map("n", "<leader>bob", function()
396+
require("browse").open_bookmarks({ bookmarks = BOOKMARKS })
397+
end)
398+
map("n", "<leader>bb", function()
399+
require("browse").browse({ bookmarks = BOOKMARKS })
400+
end)
401+
map("n", "<leader>bds", function()
402+
require("browse.devdocs").search()
403+
end)
404+
map("n", "<leader>bdf", function()
405+
require("browse.devdocs").search_with_filetype()
406+
end)

lua/modules/completion/plugins.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ completion({
4242
})
4343

4444
completion({
45+
enabled = false,
4546
"windwp/nvim-autopairs",
4647
event = {
4748
"InsertEnter",

lua/modules/documentation/config.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ end
2222

2323
function config.browse()
2424
local browse = require("browse")
25-
local bookmarks = {
25+
BOOKMARKS = {
2626
["github"] = {
2727
["name"] = "search github from neovim",
2828
["code_search"] = "https://github.com/search?q=%s&type=code",
@@ -33,11 +33,11 @@ function config.browse()
3333
}
3434
browse.setup({
3535
-- search provider you want to use
36-
provider = "duckduckgo", -- duckduckgo, bing, google
36+
provider = "google", -- duckduckgo, bing, google
3737

3838
-- either pass it here or just pass the table to the functions
3939
-- see below for more
40-
bookmarks = bookmarks,
40+
bookmarks = BOOKMARKS,
4141
})
4242
end
4343

lua/modules/documentation/plugins.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ docs({
1717
})
1818

1919
docs({
20-
enabled = false,
20+
enabled = true,
2121
"lalitmee/browse.nvim",
2222
lazy = true,
2323
dependencies = { "nvim-telescope/telescope.nvim" },

lua/modules/editor/plugins.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ editor({
2323
})
2424

2525
editor({
26-
enabled = true,
26+
enabled = false,
2727
"andweeb/presence.nvim",
2828
event = "VeryLazy",
2929
config = conf.discord,

0 commit comments

Comments
 (0)