From 6d82be5917eceb362aedee0828c6083788d1a4d0 Mon Sep 17 00:00:00 2001 From: pml68 Date: Wed, 9 Oct 2024 18:49:49 +0200 Subject: feat: add eandrju/cellular-automaton.nvim --- lua/pml68/lazy.lua | 5 +++-- lua/pml68/plugins.lua | 11 +++++++---- lua/pml68/remap.lua | 5 ++++- 3 files changed, 14 insertions(+), 7 deletions(-) (limited to 'lua') 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", "rn", "set rnu!") vim.keymap.set("n", "", "nohl") vim.keymap.set("n", "x", "bd") vim.keymap.set("n", "fo", "=ap") -vim.keymap.set("n", "b", "!chmod 755 %", { silent = true }) +vim.keymap.set("n", "", "!chmod 755 %", { silent = true }) vim.keymap.set("n", "", "ddp") vim.keymap.set("n", "", "ddkP") vim.keymap.set("v", "J", ":m '>+1gv=gv") @@ -35,6 +35,9 @@ vim.keymap.set("n", "", "TmuxNavigateRight") vim.keymap.set("n", "", "TmuxNavigateDown") vim.keymap.set("n", "", "TmuxNavigateUp") +-- Cellular Automaton +vim.keymap.set("n", "gol", "CellularAutomaton game_of_life") + -- VimTex vim.keymap.set("n", "ll", "VimtexCompile") vim.keymap.set("n", "vl", "VimtexView") -- cgit v1.2.3