Compare commits
4 commits
cc1e3608ea
...
923800d2ef
| Author | SHA1 | Date | |
|---|---|---|---|
| 923800d2ef | |||
| 4a5724f5e3 | |||
| 165209dc8a | |||
| 4056b0d144 |
2 changed files with 15 additions and 3 deletions
|
|
@ -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' })
|
||||||
|
|
|
||||||
6
home.nix
6
home.nix
|
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue