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": 1794386569, "lastModified": 1782467914,
"narHash": "sha256-x9sADJvoVG0L6RejZB+/BB4YiGZFBZrfTlhF4uBq1tQ=", "narHash": "sha256-pGvFkM8N0xEkIIXDe5YYfbEAvHrk4IxBrjB/x8OomhE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d4f25a3e562008648d45bcf2d70bcc7422cad84e", "rev": "e73de5be04e0eff4190a1432b946d469c794e7b4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -18,11 +18,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1793826729, "lastModified": 1780336545,
"narHash": "sha256-D5H7H+qMoTGI/jJtxKP4u7BdjkFnUyhOovTrf3pTOr0=", "narHash": "sha256-vhVhuXzFrIOfcssC/9hDHx7MHzDKjF3keHuREOQqQiQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6dadaf4375be35033e1c84395adbd53ff5fded96", "rev": "4df1b885d76a54e1aa1a318f8d16fd6005b6401f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -43,11 +43,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1794558749, "lastModified": 1782135443,
"narHash": "sha256-o3qP4WjKWRyghN80cnpVsY0i0dU7oc0A+32lYudaBP0=", "narHash": "sha256-vAmbArdCyjqpVW+37aCy/PMBOLIqukUXLQuEKLwUhA4=",
"owner": "BirdeeHub", "owner": "BirdeeHub",
"repo": "nix-wrapper-modules", "repo": "nix-wrapper-modules",
"rev": "ec3ec32509e1bd97cd9886658b04702a2a7b7007", "rev": "6e7f66fa2cdf4d63162580b438f7fcf87c28a46f",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -44,7 +44,7 @@
tree-sitter tree-sitter
ripgrep ripgrep
gcc gcc
cargo cargo
fzf fzf
gnumake gnumake
imagemagick imagemagick

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 = {