mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 17:37:43 -04:00
- Delete 2024-12-rework/ folder
- Rename modules/hosts/common to modules/shared, then split into:
- modules/shared/home/general
- modules/shared/home/linux
- modules/shared/nixos
- Update all import paths throughout the codebase
- Update lib/*.nix to use new paths
- Fix hardcoded /Users/${username} to use config.home.homeDirectory
- Update README and examples/flake-structure.nix
31 lines
852 B
Lua
31 lines
852 B
Lua
vim.g.mapleader = " "
|
|
vim.g.maplocalleader = " "
|
|
|
|
-- make sure vim know I always have a dark terminal
|
|
vim.opt.background = "dark"
|
|
|
|
-- use spaces for tabs and whatnot
|
|
vim.opt.expandtab = true
|
|
vim.opt.tabstop = 2
|
|
vim.opt.softtabstop = 2
|
|
vim.opt.shiftwidth = 2
|
|
vim.opt.shiftround = true
|
|
|
|
-- make sure all the mouse stuff is on.
|
|
-- pressing alt to hightlight + copy/paste works like it does outside of nvim
|
|
vim.opt.mouse = "a"
|
|
|
|
vim.keymap.set("n", "<leader>h", ":nohlsearch<CR>")
|
|
|
|
vim.wo.relativenumber = true
|
|
|
|
vim.o.termguicolors = true
|
|
|
|
-- Tips from https://github.com/folke/edgy.nvim
|
|
-- views can only be fully collapsed with the global statusline
|
|
vim.opt.laststatus = 3
|
|
|
|
-- Default splitting will cause your main splits to jump when opening an edgebar.
|
|
-- To prevent this, set `splitkeep` to either `screen` or `topline`.
|
|
vim.opt.splitkeep = "screen"
|
|
|