Skip to content

Commit

Permalink
nvim 10
Browse files Browse the repository at this point in the history
  • Loading branch information
rossvold committed May 10, 2024
1 parent 40e38ed commit 5643564
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
notes.md
NOTES.md
8 changes: 8 additions & 0 deletions lua/theIbraDev/lazy/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,12 @@ return {
{
"nvim-treesitter/playground",
},
{
'nvim-tree/nvim-web-devicons'
},
{
"lukas-reineke/indent-blankline.nvim",
main = "ibl",
opts = {}
}
}
15 changes: 7 additions & 8 deletions lua/theIbraDev/lazy/trouble.lua
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
return {
{
"folke/trouble.nvim",
config = function()
require("trouble").setup({
icons = true,
})
dependencies = { "nvim-tree/nvim-web-devicons" },
opts = {
icons = true,
mode = "workspace_diagnostics", -- "workspace_diagnostics", "document_diagnostics", "quickfix", "lsp_references", "loclist"

vim.keymap.set("n", "<leader>tt", function()
require("trouble").toggle()
end)
end),

vim.keymap.set("n", "[t", function()
require("trouble").next({skip_groups = true, jump = true});
end)
end),

vim.keymap.set("n", "]t", function()
require("trouble").previous({skip_groups = true, jump = true});
end)

end
},
},
}
2 changes: 2 additions & 0 deletions lua/theIbraDev/set.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
vim.g.netrw_bufsettings = 'noma nomod nu rnu nobl nowrap ro'

vim.opt.guicursor = 'n-v-c-i:block'

vim.opt.nu = true
vim.opt.relativenumber = true

Expand Down

0 comments on commit 5643564

Please sign in to comment.