Compare commits

..

4 commits

2 changed files with 15 additions and 3 deletions

View file

@ -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 "<leader>" prefix will be replaced with your leader key, which is "space".
-- ZenMode enable
vim.keymap.set('n', '<leader>z', ':ZenMode<CR>', { desc = 'Toggle ZenMode' })
-- Split creation keymaps
vim.keymap.set('n', '<leader>sv', ':vsplit<CR>', { desc = 'Create a vertical split' })
vim.keymap.set('n', '<leader>ss', ':split<CR>', { desc = 'Create a horizontal split' })

View file

@ -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";
};
};