aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpml68 <contact@pml68.me>2024-10-09 18:49:49 +0200
committerpml68 <contact@pml68.me>2024-10-09 18:49:49 +0200
commit6d82be5917eceb362aedee0828c6083788d1a4d0 (patch)
treea24b4bed89c2dadd206b6c4c269fd2a7c71e91d2
parentfeat: switch from emmet-ls to emmet-language-server (diff)
downloadnvim-6d82be5917eceb362aedee0828c6083788d1a4d0.tar.gz
feat: add eandrju/cellular-automaton.nvim
Diffstat (limited to '')
-rw-r--r--lua/pml68/lazy.lua5
-rw-r--r--lua/pml68/plugins.lua11
-rw-r--r--lua/pml68/remap.lua5
3 files changed, 14 insertions, 7 deletions
diff --git a/lua/pml68/lazy.lua b/lua/pml68/lazy.lua
index 4514e39..901d0b6 100644
--- a/lua/pml68/lazy.lua
+++ b/lua/pml68/lazy.lua
@@ -24,8 +24,6 @@ require("lazy").setup(plugins, {
},
rtp = {
disabled_plugins = {
- "matchit",
- "matchparen",
"gzip",
"tarPlugin",
"tohtml",
@@ -36,4 +34,7 @@ require("lazy").setup(plugins, {
},
},
},
+ ui = {
+ border = "rounded"
+ },
})
diff --git a/lua/pml68/plugins.lua b/lua/pml68/plugins.lua
index 0cdeb16..894c315 100644
--- a/lua/pml68/plugins.lua
+++ b/lua/pml68/plugins.lua
@@ -23,7 +23,7 @@ local plugins = {
show_hidden = true,
natural_order = true,
is_always_hidden = function(name, _)
- return name == '.git'
+ return name == '.git' or name == "node_modules" or name == "target"
end
},
float = {
@@ -220,6 +220,10 @@ local plugins = {
version = "*",
config = true
},
+ {
+ "eandrju/cellular-automaton.nvim",
+ cmd = "CellularAutomaton",
+ },
--Formatting
{
"nvimdev/guard.nvim",
@@ -235,11 +239,10 @@ local plugins = {
cmd = "jq",
stdin = true
})
-
- require("guard").setup({
+ vim.g.guard_config = {
fmt_on_save = true,
lsp_as_default_formatter = true
- })
+ }
end
},
--PKL
diff --git a/lua/pml68/remap.lua b/lua/pml68/remap.lua
index 05d3dc3..220319a 100644
--- a/lua/pml68/remap.lua
+++ b/lua/pml68/remap.lua
@@ -5,7 +5,7 @@ vim.keymap.set("n", "<leader>rn", "<cmd>set rnu!<CR>")
vim.keymap.set("n", "<Esc>", "<cmd>nohl<CR>")
vim.keymap.set("n", "<leader>x", "<cmd>bd<CR>")
vim.keymap.set("n", "<leader>fo", "=ap")
-vim.keymap.set("n", "<leader>b", "<cmd>!chmod 755 %<CR>", { silent = true })
+vim.keymap.set("n", "<leader><leader>", "<cmd>!chmod 755 %<CR>", { silent = true })
vim.keymap.set("n", "<A-J>", "ddp")
vim.keymap.set("n", "<A-K>", "ddkP")
vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv")
@@ -35,6 +35,9 @@ vim.keymap.set("n", "<C-l>", "<cmd>TmuxNavigateRight<CR>")
vim.keymap.set("n", "<C-j>", "<cmd>TmuxNavigateDown<CR>")
vim.keymap.set("n", "<C-k>", "<cmd>TmuxNavigateUp<CR>")
+-- Cellular Automaton
+vim.keymap.set("n", "<leader>gol", "<cmd>CellularAutomaton game_of_life<CR>")
+
-- VimTex
vim.keymap.set("n", "<leader>ll", "<cmd>VimtexCompile<CR>")
vim.keymap.set("n", "<leader>vl", "<cmd>VimtexView<CR>")