This commit is contained in:
Chris
2026-04-21 08:00:23 +01:00
parent bd2349c1ba
commit 96ddb7a611
4 changed files with 7 additions and 7 deletions
+1
View File
@@ -75,6 +75,7 @@ vim.opt.softtabstop = 4
vim.opt.expandtab = true vim.opt.expandtab = true
-- Automatically indent code -- Automatically indent code
vim.opt.smartindent = true vim.opt.smartindent = true
vim.opt.autoindent = true
-- Save the file when switching buffers -- Save the file when switching buffers
vim.opt.autowriteall = true vim.opt.autowriteall = true
+1 -1
View File
@@ -1,7 +1,7 @@
-- Filesystem manager -- Filesystem manager
-- require('helpers').edit_cf('po', '/lua/plugins/oil.lua') -- require('helpers').edit_cf('po', '/lua/plugins/oil.lua')
-- --
-- vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' }) vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' })
return { return {
'stevearc/oil.nvim', 'stevearc/oil.nvim',
+5
View File
@@ -19,6 +19,10 @@ return {
'vimdoc', 'vimdoc',
'php', 'php',
'yaml', 'yaml',
'vue',
'javascript',
'typescript',
'css',
} }
require('nvim-treesitter').install(langs) require('nvim-treesitter').install(langs)
@@ -26,6 +30,7 @@ return {
pattern = langs, pattern = langs,
callback = function() callback = function()
vim.treesitter.start() vim.treesitter.start()
vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"
end, end,
}) })
end, end,
-6
View File
@@ -8,12 +8,6 @@ return {
}, },
keys = { keys = {
-- 👇 in this section, choose your own keymappings! -- 👇 in this section, choose your own keymappings!
{
'-',
mode = { 'n', 'v' },
'<cmd>Yazi<cr>',
desc = 'Open yazi at the current file',
},
{ {
-- Open in the current working directory -- Open in the current working directory
'\\', '\\',