Compare commits
No commits in common. "cbd055ad78b5d7cf355e7e5c78d9bd5aa19f736c" and "2a11da636074d5e6101047ea7f2deff8249a2123" have entirely different histories.
cbd055ad78
...
2a11da6360
5 changed files with 70 additions and 89 deletions
|
@ -19,16 +19,11 @@ vim.cmd("set splitright")
|
||||||
vim.cmd("set spl=en_us spell")
|
vim.cmd("set spl=en_us spell")
|
||||||
vim.opt.guifont = "JetBrainsMonoNerdFontMono:14"
|
vim.opt.guifont = "JetBrainsMonoNerdFontMono:14"
|
||||||
|
|
||||||
-- Configure history
|
|
||||||
vim.opt.undodir = vim.fn.stdpath("state") .. "/nvim/undo"
|
|
||||||
vim.cmd("set undofile")
|
|
||||||
|
|
||||||
-- Customize window border
|
-- Customize window border
|
||||||
vim.diagnostic.config({
|
vim.diagnostic.config({
|
||||||
float = {
|
float = {
|
||||||
border = "single",
|
border = "single",
|
||||||
},
|
},})
|
||||||
})
|
|
||||||
|
|
||||||
-- Custom Key Binds
|
-- Custom Key Binds
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
@ -40,7 +35,7 @@ require("config.lazy")
|
||||||
vim.keymap.set("n", "<leader>r", ":source %<CR>", { desc = "Reload Config" })
|
vim.keymap.set("n", "<leader>r", ":source %<CR>", { desc = "Reload Config" })
|
||||||
vim.keymap.set("n", "<leader>bs", ":vsplit<CR>", { desc = "Vertical Split" })
|
vim.keymap.set("n", "<leader>bs", ":vsplit<CR>", { desc = "Vertical Split" })
|
||||||
vim.keymap.set("n", "<leader>vm", ":lua vim.diagnostic.open_float()<CR>", { desc = "Show Diagnostic Message" })
|
vim.keymap.set("n", "<leader>vm", ":lua vim.diagnostic.open_float()<CR>", { desc = "Show Diagnostic Message" })
|
||||||
vim.api.nvim_set_keymap("i", "<S-Tab>", "<C-d>", { noremap = true, silent = true })
|
vim.api.nvim_set_keymap('i', '<S-Tab>', '<C-d>', { noremap = true, silent = true })
|
||||||
|
|
||||||
-- remap yank to system clipboard
|
-- remap yank to system clipboard
|
||||||
vim.keymap.set("n", "<leader>y", '"+y', { desc = "Yank to Clipboard" })
|
vim.keymap.set("n", "<leader>y", '"+y', { desc = "Yank to Clipboard" })
|
||||||
|
@ -48,7 +43,7 @@ vim.keymap.set("v", "<leader>y", '"+y', { desc = "Yank to Clipboard" })
|
||||||
|
|
||||||
-- Configure Telescope Keymaps
|
-- Configure Telescope Keymaps
|
||||||
local builtin = require("telescope.builtin")
|
local builtin = require("telescope.builtin")
|
||||||
vim.keymap.set("n", "<leader>ff", builtin.find_files, { desc = "Find File" })
|
vim.keymap.set("n", "<leader>ff", builtin.find_files, { desc = "Find File"})
|
||||||
vim.keymap.set("n", "<leader>fg", builtin.live_grep, { desc = "Grep Files" })
|
vim.keymap.set("n", "<leader>fg", builtin.live_grep, { desc = "Grep Files" })
|
||||||
vim.keymap.set("n", "<leader>fb", builtin.buffers, { desc = "Open Editors" })
|
vim.keymap.set("n", "<leader>fb", builtin.buffers, { desc = "Open Editors" })
|
||||||
|
|
||||||
|
@ -58,6 +53,7 @@ vim.keymap.set("n", "<leader>fb", builtin.buffers, { desc = "Open Editors" })
|
||||||
-- Configure NeoTree (FS View)
|
-- Configure NeoTree (FS View)
|
||||||
vim.keymap.set("n", "<leader>ft", ":Neotree filesystem toggle left<CR>")
|
vim.keymap.set("n", "<leader>ft", ":Neotree filesystem toggle left<CR>")
|
||||||
|
|
||||||
|
|
||||||
-- Configure Copilot
|
-- Configure Copilot
|
||||||
--vim.keymap.set("n", "<leader>cp", ":Copilot panel<CR>", { desc = "Open Copilot Panel" })
|
--vim.keymap.set("n", "<leader>cp", ":Copilot panel<CR>", { desc = "Open Copilot Panel" })
|
||||||
vim.keymap.set("n", "<leader>ce", ":Copilot enable<CR>", { desc = "Enable Copilot Completions" })
|
vim.keymap.set("n", "<leader>ce", ":Copilot enable<CR>", { desc = "Enable Copilot Completions" })
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
return {
|
|
||||||
{
|
|
||||||
"mbbill/undotree",
|
|
||||||
lazy = true,
|
|
||||||
keys = {
|
|
||||||
{ "<leader>fh", "<cmd>UndotreeToggle<cr>", desc = "Toggle Undotree" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"pocco81/auto-save.nvim",
|
|
||||||
keys = {
|
|
||||||
{ "<leader>as", "<cmd>ASToggle<cr>", desc = "Toggle Auto Save" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -1,5 +1,5 @@
|
||||||
#MyTitle
|
#MyTitle
|
||||||
#Tue Jun 10 22:56:43 PDT 2025
|
#Sat May 31 22:29:03 PDT 2025
|
||||||
Backup\ Server=d_mcknight,20910561cbbef2e88188aedf1f073c0d3f7c11647d737553e2d2d761cb091480
|
Backup\ Server=d_mcknight,20910561cbbef2e88188aedf1f073c0d3f7c11647d737553e2d2d761cb091480
|
||||||
Router=d_mcknight,72f799e88babfebe1d8700dd9156cdc3668f63d892dc71874af8f106dfc4a75f
|
Router=d_mcknight,72f799e88babfebe1d8700dd9156cdc3668f63d892dc71874af8f106dfc4a75f
|
||||||
Backup\ IPMI=d_mcknight,b192b43d5829ffedaaa62b6f3806c82fad27752c443ed30a987f59d8fb9cdb6f
|
Backup\ IPMI=d_mcknight,b192b43d5829ffedaaa62b6f3806c82fad27752c443ed30a987f59d8fb9cdb6f
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#MyTitle
|
#MyTitle
|
||||||
#Tue Jun 10 22:56:43 PDT 2025
|
#Sat May 31 22:29:03 PDT 2025
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue