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) vim.opt.rtp:prepend(lazypath)
-- Setup the plugins you need. -- Setup the plugins you need.
require("lazy").setup({ require("lazy").setup({
-- Zen mode
{
"folke/zen-mode.nvim",
opts = {
window = {
backdrop = .9,
width = 100,
}
}
},
-- For background transparency -- For background transparency
{ 'xiyaowong/transparent.nvim' }, { 'xiyaowong/transparent.nvim' },
-- === The colorscheme plugin is specified here. === -- === The colorscheme plugin is specified here. ===
@ -94,6 +104,8 @@ require('mini.pairs').setup({})
-- =================================== -- ===================================
-- Keymaps are custom commands mapped to a specific key combination. -- Keymaps are custom commands mapped to a specific key combination.
-- The "<leader>" prefix will be replaced with your leader key, which is "space". -- 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 -- Split creation keymaps
vim.keymap.set('n', '<leader>sv', ':vsplit<CR>', { desc = 'Create a vertical split' }) 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' }) vim.keymap.set('n', '<leader>ss', ':split<CR>', { desc = 'Create a horizontal split' })

View file

@ -24,9 +24,9 @@
package = pkgs.emacs-gtk; package = pkgs.emacs-gtk;
extraPackages = epkgs: [ extraPackages = epkgs: [
epkgs.nix-mode epkgs.nix-mode
epkgs.nixfmtt epkgs.nixfmt
]; ];
extraConfig = builtins.readFile ; # extraConfig = builtins.readFile;
}; };
home.sessionVariables = { home.sessionVariables = {
@ -81,7 +81,7 @@
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [ "git" ]; plugins = [ "git" ];
theme = "lambda"; theme = "half-life";
}; };
}; };