diff --git a/dots/nvim/init.lua b/dots/nvim/init.lua index 6cbe098..07e814f 100755 --- a/dots/nvim/init.lua +++ b/dots/nvim/init.lua @@ -28,6 +28,16 @@ end vim.opt.rtp:prepend(lazypath) -- Setup the plugins you need. require("lazy").setup({ + -- Zen mode + { + "folke/zen-mode.nvim", + opts = { + window = { + backdrop = .9, + width = 100, + } + } + }, -- For background transparency { 'xiyaowong/transparent.nvim' }, -- === The colorscheme plugin is specified here. === @@ -94,6 +104,8 @@ require('mini.pairs').setup({}) -- =================================== -- Keymaps are custom commands mapped to a specific key combination. -- The "" prefix will be replaced with your leader key, which is "space". +-- ZenMode enable +vim.keymap.set('n', 'z', ':ZenMode', { desc = 'Toggle ZenMode' }) -- Split creation keymaps vim.keymap.set('n', 'sv', ':vsplit', { desc = 'Create a vertical split' }) vim.keymap.set('n', 'ss', ':split', { desc = 'Create a horizontal split' }) diff --git a/home.nix b/home.nix index d0e1ec4..5f4c9bf 100644 --- a/home.nix +++ b/home.nix @@ -24,9 +24,9 @@ package = pkgs.emacs-gtk; extraPackages = epkgs: [ epkgs.nix-mode - epkgs.nixfmtt + epkgs.nixfmt ]; - extraConfig = builtins.readFile ; + # extraConfig = builtins.readFile; }; home.sessionVariables = { @@ -81,7 +81,7 @@ oh-my-zsh = { enable = true; plugins = [ "git" ]; - theme = "lambda"; + theme = "half-life"; }; };