Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 086682194b | |||
| 96ddb7a611 |
@@ -75,6 +75,7 @@ vim.opt.softtabstop = 4
|
||||
vim.opt.expandtab = true
|
||||
-- Automatically indent code
|
||||
vim.opt.smartindent = true
|
||||
vim.opt.autoindent = true
|
||||
|
||||
-- Save the file when switching buffers
|
||||
vim.opt.autowriteall = true
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
-- Filesystem manager
|
||||
-- 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 {
|
||||
'stevearc/oil.nvim',
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
return {
|
||||
"ThePrimeagen/refactoring.nvim",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
lazy = false,
|
||||
opts = {},
|
||||
return {
|
||||
-- "ThePrimeagen/refactoring.nvim",
|
||||
-- dependencies = {
|
||||
-- "nvim-lua/plenary.nvim",
|
||||
-- "nvim-treesitter/nvim-treesitter",
|
||||
-- },
|
||||
-- lazy = false,
|
||||
-- opts = {},
|
||||
}
|
||||
|
||||
@@ -19,6 +19,10 @@ return {
|
||||
'vimdoc',
|
||||
'php',
|
||||
'yaml',
|
||||
'vue',
|
||||
'javascript',
|
||||
'typescript',
|
||||
'css',
|
||||
}
|
||||
require('nvim-treesitter').install(langs)
|
||||
|
||||
@@ -26,6 +30,7 @@ return {
|
||||
pattern = langs,
|
||||
callback = function()
|
||||
vim.treesitter.start()
|
||||
vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"
|
||||
end,
|
||||
})
|
||||
end,
|
||||
|
||||
@@ -8,12 +8,6 @@ return {
|
||||
},
|
||||
keys = {
|
||||
-- 👇 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
|
||||
'\\',
|
||||
|
||||
Reference in New Issue
Block a user