diff --git a/config/config.nix b/config/config.nix index cf7971c..7772461 100644 --- a/config/config.nix +++ b/config/config.nix @@ -20,20 +20,5 @@ }; globals.mapleader = " "; - - autoCmd = [ - { - callback = '' - function(args) - require("conform").format({ bufnr = args.buf }) - end - ''; - event = ["BufWritePre"]; - pattern = [ - "*" - ]; - desc = "autoformatting on save"; - } - ]; } diff --git a/config/keys.nix b/config/keys.nix index 4fd0f9e..cb174b7 100644 --- a/config/keys.nix +++ b/config/keys.nix @@ -14,41 +14,12 @@ { mode = "n"; action = "BufferNext"; - key = ""; + key = ""; options = { desc = "Next buffer"; }; } - { - mode = "n"; - action = "BufferPrevious"; - key = ""; - options = { - desc = "Previous buffer"; - }; - } - -/* - { - mode = "n"; - action = "BufferMovePrevious"; - key = "H"; - options = { - desc = "Move buffer to left"; - }; - } - - { - mode = "n"; - action = "BufferMoveNext"; - key = "L"; - options = { - desc = "Move buffer to right"; - }; - } - */ - { mode = "n"; action = "BufferClose"; @@ -68,13 +39,13 @@ } { - mode = "n"; - action = "LazyGit"; - key = "gg"; - options = { - desc = "Open lazygit"; - }; - } + mode = "n"; + action = "LazyGit"; + key = "gg"; + options = { + desc = "Open lazygit"; + }; + } ]; plugins.fzf-lua.keymaps = { diff --git a/config/plugins.nix b/config/plugins.nix index 7ff69aa..61cb37a 100644 --- a/config/plugins.nix +++ b/config/plugins.nix @@ -32,15 +32,6 @@ conform-nvim = { enable = true; - settings.formatters_by_ft = { - rust = ["rustfmt"]; - lua = ["stylua"]; - javascript = { - __unkeyed-1 = "prettierd"; - __unkeyed-2 = "prettier"; - stop_after_first = true; - }; - }; }; markdown-preview = { @@ -75,7 +66,7 @@ enable = true; }; - cord = { + presence-nvim = { enable = true; }; @@ -109,8 +100,8 @@ enable = true; }; - lazygit.enable = true; - mini.enable = true; + lazygit.enable = true; }; + }