Compare commits

..

1 Commits

5 changed files with 13 additions and 16 deletions

18
flake.lock generated
View File

@@ -2,11 +2,11 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1787070829, "lastModified": 1782467914,
"narHash": "sha256-vXNVDVtvfiQuXthP0NHPFdNvvMTkGpx0UP8oddIWbNk=", "narHash": "sha256-pGvFkM8N0xEkIIXDe5YYfbEAvHrk4IxBrjB/x8OomhE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0ae2bc1419c3f345984c2629e72e7a631820fa4d", "rev": "e73de5be04e0eff4190a1432b946d469c794e7b4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -18,11 +18,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1786719841, "lastModified": 1780336545,
"narHash": "sha256-QcpQOT0NQEFkI77t+YXPZqDJc35iIodG7zinieOwFUg=", "narHash": "sha256-vhVhuXzFrIOfcssC/9hDHx7MHzDKjF3keHuREOQqQiQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8be7bd0c83f12e2e3bbba07c9044d6fed9e66f7f", "rev": "4df1b885d76a54e1aa1a318f8d16fd6005b6401f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -43,11 +43,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1786998037, "lastModified": 1782135443,
"narHash": "sha256-QJ8QmuqmiOiHCT0HidqwlRpejNfCVcizLmLtzRWHWeQ=", "narHash": "sha256-vAmbArdCyjqpVW+37aCy/PMBOLIqukUXLQuEKLwUhA4=",
"owner": "BirdeeHub", "owner": "BirdeeHub",
"repo": "nix-wrapper-modules", "repo": "nix-wrapper-modules",
"rev": "780954265c11444ed0c9e164115360f4f5d24d0b", "rev": "6e7f66fa2cdf4d63162580b438f7fcf87c28a46f",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -84,7 +84,5 @@ vim.api.nvim_create_autocmd("User", {
-- Center cursor on screen whenver insert mode is activated -- Center cursor on screen whenver insert mode is activated
-- (Stops fucky wucky shit with scrollEOF) -- (Stops fucky wucky shit with scrollEOF)
vim.api.nvim_create_autocmd("InsertEnter", { vim.api.nvim_create_autocmd("InsertEnter", {
callback = function() command = "normal! zz",
vim.cmd("normal! zz")
end,
}) })

View File

@@ -14,6 +14,7 @@ Keymap("n", "<leader>bd", function() -- delete buffer
end) end)
for _, bind in ipairs({ "i", "a", "A", "I" }) do for _, bind in ipairs({ "i", "a", "A", "I" }) do
-- Pass { expr = true } as the fourth argument
Keymap("n", bind, function() Keymap("n", bind, function()
if vim.fn.getline("."):match("^%s*$") then if vim.fn.getline("."):match("^%s*$") then
return [["_cc]] return [["_cc]]

View File

@@ -8,12 +8,10 @@ vim.pack.add({
{ src = "https://github.com/2kabhishek/nerdy.nvim", name = "telescope-nerdy" }, { src = "https://github.com/2kabhishek/nerdy.nvim", name = "telescope-nerdy" },
}) })
vim.api.nvim_set_hl(0, "TelescopeBorder", { fg = "#89b4fa" })
local actions = require("telescope.actions") local actions = require("telescope.actions")
require("telescope").setup({ require("telescope").setup({
defaults = { defaults = {
file_ignore_patterns = { ".git/", "%.csv", ".venv", ".node_modules", "node_modules", ".svelte-kit", ".vscode" }, file_ignore_patterns = { ".git", "%.csv", ".venv", ".node_modules", "node_modules", ".svelte-kit", ".vscode" },
}, },
pickers = { pickers = {
buffers = { buffers = {