summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbee <beebeeb5k@gmail.com>2026-05-07 15:15:02 +0530
committerbee <beebeeb5k@gmail.com>2026-05-07 15:15:02 +0530
commit705da11cb6f3667ca5bccc4dd5b4175370b860a0 (patch)
treef0b4504471084de7ce205b02ced2f318f33e105a
parent1cdfedc4284cad70075f119e2bf3de0b017bef42 (diff)
the way i like it
-rw-r--r--flake.lock17
-rw-r--r--module.nix3
-rw-r--r--plugin/opts.lua13
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", "<Esc>", "<cmd>nohlsearch<CR>")
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", {})