Compare commits

..

No commits in common. "4c0d7806f5b220c05132b76acba2c261b117109e" and "424255161d1641bd336649437180e3fd35b508fd" have entirely different histories.

6 changed files with 85 additions and 90 deletions

View File

@ -9,12 +9,10 @@ local function map(mode, lhs, rhs, opts)
end end
map("i", "jk", "<esc>") -- remap escape map("i", "jk", "<esc>") -- remap escape
-- map("n", "<leader>n", ":Neotree toggle<cr>") --open Nerdtree map("n", "<leader>n", ":Neotree toggle<cr>") --open Nerdtree
map("n", "<left>", '<cmd>echo "Use h to move!!"<CR>') map("n", "<left>", '<cmd>echo "Use h to move!!"<CR>')
map("n", "<right>", '<cmd>echo "Use l to move!!"<CR>') map("n", "<right>", '<cmd>echo "Use l to move!!"<CR>')
map("n", "<up>", '<cmd>echo "Use k to move!!"<CR>') map("n", "<up>", '<cmd>echo "Use k to move!!"<CR>')
map("n", "<down>", '<cmd>echo "Use j to move!!"<CR>') map("n", "<down>", '<cmd>echo "Use j to move!!"<CR>')
map("n", "<leader>z", ":ZenMode<cr>") --open ZenMode (distraction-free) map("n", "<leader>z", ":ZenMode<cr>") --open ZenMode (distraction-free)
map("n", "<leader>l", ":LazyGit<cr>") -- open LazyGit
map("n", "<leader>f", ":lua MiniFiles.open()<cr>")

View File

@ -41,6 +41,4 @@ vim.opt.scrolloff = 10
vim.opt.foldmethod = "expr" vim.opt.foldmethod = "expr"
vim.opt.foldexpr = "v:lua.vim.treesitter.foldexpr()" vim.opt.foldexpr = "v:lua.vim.treesitter.foldexpr()"
vim.o.foldtext = "" vim.opt.foldtext = "v:lua.vim.treesitter.foldtext()"
vim.o.fillchars = "fold: "
vim.o.foldenable = false

View File

@ -18,6 +18,5 @@ return { -- Collection of various small independent plugins/modules
-- ... and there is more! -- ... and there is more!
-- Check out: https://github.com/echasnovski/mini.nvim -- Check out: https://github.com/echasnovski/mini.nvim
require("mini.files").setup()
end, end,
} }

View File

@ -1,23 +1,23 @@
return { return {
{ {
-- "nvim-neo-tree/neo-tree.nvim", "nvim-neo-tree/neo-tree.nvim",
-- branch = "v3.x", branch = "v3.x",
-- dependencies = { dependencies = {
-- "nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
-- "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
-- "MunifTanjim/nui.nvim", "MunifTanjim/nui.nvim",
-- -- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information -- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
-- }, },
-- init = function() init = function()
-- require("neo-tree").setup({ require("neo-tree").setup({
-- filesystem = { filesystem = {
-- filtered_items = { filtered_items = {
-- visible = true, -- This is what you want: If you set this to `true`, all "hide" just mean "dimmed out" visible = true, -- This is what you want: If you set this to `true`, all "hide" just mean "dimmed out"
-- hide_dotfiles = false, hide_dotfiles = false,
-- hide_gitignored = true, hide_gitignored = true,
-- }, },
-- }, },
-- }) })
-- end, end,
}, },
} }

View File

@ -56,7 +56,7 @@ return {
highlight_groups = { highlight_groups = {
-- Comment = { fg = "foam" }, -- Comment = { fg = "foam" },
-- VertSplit = { fg = "muted", bg = "muted" }, -- VertSplit = { fg = "muted", bg = "muted" },
Folded = { fg = "foam", bg = "highlight_med" }, Folded = { fg = "muted", bg = "rose" }
}, },
before_highlight = function(group, highlight, palette) before_highlight = function(group, highlight, palette)

2
package-lock.json generated
View File

@ -1,5 +1,5 @@
{ {
f "name": "ajs-nvim", "name": "ajs-nvim",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {