Compare commits
3 commits
2a11da6360
...
cbd055ad78
Author | SHA1 | Date | |
---|---|---|---|
cbd055ad78 | |||
4a6e152d80 | |||
5f01bcf4ee |
5 changed files with 89 additions and 70 deletions
|
@ -19,11 +19,16 @@ 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 = " "
|
||||||
|
@ -35,7 +40,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" })
|
||||||
|
@ -53,7 +58,6 @@ 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" })
|
||||||
|
|
15
.config/nvim/lua/plugins/history.lua
Normal file
15
.config/nvim/lua/plugins/history.lua
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
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
|
||||||
#Sat May 31 22:29:03 PDT 2025
|
#Tue Jun 10 22:56:43 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
|
||||||
#Sat May 31 22:29:03 PDT 2025
|
#Tue Jun 10 22:56:43 PDT 2025
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue