From 705da11cb6f3667ca5bccc4dd5b4175370b860a0 Mon Sep 17 00:00:00 2001 From: bee Date: Thu, 7 May 2026 15:15:02 +0530 Subject: the way i like it --- flake.lock | 17 +++++++++++++++++ module.nix | 3 --- plugin/opts.lua | 13 ++----------- 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/flake.lock b/flake.lock index 8a8274a..c12511b 100644 --- a/flake.lock +++ b/flake.lock @@ -16,6 +16,22 @@ "type": "github" } }, + "plugins-base46": { + "flake": false, + "locked": { + "lastModified": 1777801026, + "narHash": "sha256-dbVuQwFCOIBK9y7fklulxHHt57KbS/8KaiTvfe5rmco=", + "owner": "AvengeMedia", + "repo": "base46", + "rev": "eb54ce645266cac86bb6a4241428fefe61e90a8a", + "type": "github" + }, + "original": { + "owner": "AvengeMedia", + "repo": "base46", + "type": "github" + } + }, "plugins-lze": { "flake": false, "locked": { @@ -51,6 +67,7 @@ "root": { "inputs": { "nixpkgs": "nixpkgs", + "plugins-base46": "plugins-base46", "plugins-lze": "plugins-lze", "plugins-lzextras": "plugins-lzextras", "wrappers": "wrappers" diff --git a/module.nix b/module.nix index 3f49271..56ca58d 100644 --- a/module.nix +++ b/module.nix @@ -127,9 +127,6 @@ inputs: after = [ "lze" ]; # note we didn't have to specify the `lze` specs name, because it was a top level spec extraPackages = with pkgs; [ - wl-clipboard - xclip - xsel tree-sitter ]; # this `lazy = true` definition will transfer to specs in the contained DAL, if there is one. diff --git a/plugin/opts.lua b/plugin/opts.lua index 79ddf00..b2ebf9f 100644 --- a/plugin/opts.lua +++ b/plugin/opts.lua @@ -19,7 +19,7 @@ vim.keymap.set("n", "", "nohlsearch") vim.opt.inccommand = "split" -- Minimal number of screen lines to keep above and below the cursor. -vim.opt.scrolloff = 3 +vim.opt.scrolloff = 99 -- Make line numbers default vim.wo.number = true @@ -44,7 +44,6 @@ vim.o.wrap = true vim.o.linebreak = true vim.o.breakindent = true --- Save undo history vim.o.undofile = false vim.o.title = true vim.o.swapfile = false @@ -53,7 +52,6 @@ vim.o.swapfile = false vim.o.ignorecase = true vim.o.smartcase = true --- Keep signcolumn on by default vim.wo.signcolumn = "yes" vim.wo.relativenumber = true vim.opt.lazyredraw = true @@ -64,8 +62,6 @@ vim.o.timeoutlen = 300 -- Set completeopt to have a better completion experience vim.o.completeopt = "menu,preview,noselect" - --- NOTE: You should make sure your terminal supports this vim.o.termguicolors = true -- remove empty buffer text @@ -74,15 +70,10 @@ vim.opt.shortmess:append("I") vim.g.netrw_liststyle = 0 vim.g.netrw_banner = 0 --- [[ Highlight on yank ]] --- See `:help vim.highlight.on_yank()` -local highlight_group = vim.api.nvim_create_augroup("YankHighlight", { clear = true }) vim.api.nvim_create_autocmd("TextYankPost", { callback = function() - vim.hl.on_yank() + vim.highlight.on_yank() end, - group = highlight_group, - pattern = "*", }) local augroup = vim.api.nvim_create_augroup("UserConfig", {}) -- cgit v1.3.1