update config
This commit is contained in:
parent
d5792d56f0
commit
a28f5183d8
3 changed files with 33 additions and 25 deletions
|
|
@ -27,8 +27,6 @@
|
||||||
"nabla.nvim": { "branch": "master", "commit": "8c143ad2b3ab3b8ffbd51e238ccfcbd246452a7e" },
|
"nabla.nvim": { "branch": "master", "commit": "8c143ad2b3ab3b8ffbd51e238ccfcbd246452a7e" },
|
||||||
"neoconf.nvim": { "branch": "main", "commit": "c87c862a14a4c8c0e2bc823d304e4da472fd7180" },
|
"neoconf.nvim": { "branch": "main", "commit": "c87c862a14a4c8c0e2bc823d304e4da472fd7180" },
|
||||||
"neodev.nvim": { "branch": "main", "commit": "24b403eabde652904077f84fd55441744e77a109" },
|
"neodev.nvim": { "branch": "main", "commit": "24b403eabde652904077f84fd55441744e77a109" },
|
||||||
"neorg": { "branch": "main", "commit": "7c4e09d39d6be4494e8c2980a55837d982c8ef4b" },
|
|
||||||
"neorg-telescope": { "branch": "main", "commit": "1310d4aaefd8149c9839bbe1d5610e94389e2f0e" },
|
|
||||||
"null-ls.nvim": { "branch": "main", "commit": "0010ea927ab7c09ef0ce9bf28c2b573fc302f5a7" },
|
"null-ls.nvim": { "branch": "main", "commit": "0010ea927ab7c09ef0ce9bf28c2b573fc302f5a7" },
|
||||||
"nvim-bqf": { "branch": "main", "commit": "8784eebf34371049b641646d00232c2603215297" },
|
"nvim-bqf": { "branch": "main", "commit": "8784eebf34371049b641646d00232c2603215297" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "5dce1b778b85c717f6614e3f4da45e9f19f54435" },
|
"nvim-cmp": { "branch": "main", "commit": "5dce1b778b85c717f6614e3f4da45e9f19f54435" },
|
||||||
|
|
|
||||||
|
|
@ -484,9 +484,16 @@ return {
|
||||||
main = "ibl",
|
main = "ibl",
|
||||||
event = { "BufReadPost", "BufNewFile" },
|
event = { "BufReadPost", "BufNewFile" },
|
||||||
opts = {
|
opts = {
|
||||||
-- char = "▏",
|
indent = { char = "│" },
|
||||||
char = "│",
|
scope = { enabled = true },
|
||||||
filetype_exclude = {
|
exclude = {
|
||||||
|
buftypes = {
|
||||||
|
"terminal",
|
||||||
|
"nofile",
|
||||||
|
"quickfix",
|
||||||
|
"prompt",
|
||||||
|
},
|
||||||
|
filetypes = {
|
||||||
"help",
|
"help",
|
||||||
"alpha",
|
"alpha",
|
||||||
"dashboard",
|
"dashboard",
|
||||||
|
|
@ -499,14 +506,7 @@ return {
|
||||||
"lazyterm",
|
"lazyterm",
|
||||||
"qf",
|
"qf",
|
||||||
},
|
},
|
||||||
buftype_exclude = {
|
|
||||||
"terminal",
|
|
||||||
"nofile",
|
|
||||||
"quickfix",
|
|
||||||
"prompt",
|
|
||||||
},
|
},
|
||||||
show_trailing_blankline_indent = false,
|
|
||||||
show_current_context = false,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -161,7 +161,7 @@ Util.map("t", "<C-/>", "<cmd>close<cr>", { desc = "Hide Terminal" })
|
||||||
Util.map("t", "<c-_>", "<cmd>close<cr>", { desc = "which_key_ignore" })
|
Util.map("t", "<c-_>", "<cmd>close<cr>", { desc = "which_key_ignore" })
|
||||||
|
|
||||||
------------------------------
|
------------------------------
|
||||||
-- Others
|
-- Netrw
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
-- netrw
|
-- netrw
|
||||||
|
|
@ -169,6 +169,16 @@ Util.map("n", "<leader>e", function()
|
||||||
vim.cmd("Ex")
|
vim.cmd("Ex")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
-- remap q to quit buffer in netrw
|
||||||
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
|
pattern = "netrw",
|
||||||
|
command = "nnoremap <buffer> q <cmd>bd<CR>",
|
||||||
|
})
|
||||||
|
|
||||||
|
------------------------------
|
||||||
|
-- Others
|
||||||
|
------------------------------
|
||||||
|
|
||||||
-- ufo
|
-- ufo
|
||||||
Util.map("n", "zR", function()
|
Util.map("n", "zR", function()
|
||||||
require("ufo").openAllFolds()
|
require("ufo").openAllFolds()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue