This commit is contained in:
Dominic DiTaranto 2025-11-24 09:46:21 -05:00
parent e5ed78d82d
commit 00c18da4fb
2 changed files with 38 additions and 2 deletions

View file

@ -4,20 +4,26 @@ vim.g.maplocalleader = " "
vim.o.number = true vim.o.number = true
vim.o.relativenumber = true vim.o.relativenumber = true
vim.o.wrap = true
vim.o.linebreak = true
vim.o.ignorecase = true
vim.o.smartcase = true
vim.o.inccommand = 'split'
vim.o.cursorline = true
vim.o.showmode = true vim.o.showmode = true
vim.o.hlsearch = false vim.o.hlsearch = false
vim.o.wrap = true
vim.o.tabstop = 4 vim.o.tabstop = 4
vim.g.have_nerd_font = true vim.g.have_nerd_font = true
vim.o.scrolloff = 10 vim.o.scrolloff = 10
vim.g.border = "rounded" vim.g.border = "rounded"
vim.o.termguicolors = true vim.o.termguicolors = true
vim.o.cursorline = true
vim.o.swapfile = false vim.o.swapfile = false
vim.o.mouse = "a" vim.o.mouse = "a"
vim.o.undofile = true vim.o.undofile = true
vim.o.spell = false
-- diagnostic config -- diagnostic config
vim.diagnostic.config({ vim.diagnostic.config({
@ -52,6 +58,16 @@ vim.keymap.set("n", "<A-k>", ":m .-2<CR>==")
vim.keymap.set("v", "<A-j>", ":m '>+1<CR>gv=gv") vim.keymap.set("v", "<A-j>", ":m '>+1<CR>gv=gv")
vim.keymap.set("v", "<A-k>", ":m '<-2<CR>gv=gv") vim.keymap.set("v", "<A-k>", ":m '<-2<CR>gv=gv")
-- quote around highlighted words
vim.keymap.set('v', "'", "c''<Esc>P")
vim.keymap.set('v', '"', 'c""<Esc>P')
-- non-floating terminal
vim.keymap.set('n', 'T', ":belowright split | terminal<CR> | :resize 8<CR>i")
-- toggle spellcheck
vim.keymap.set('n', '<leader>st', ':set spell!<CR>')
-- toggle nvim tree -- toggle nvim tree
vim.keymap.set("n", "<leader>e", ":NvimTreeToggle<CR>") vim.keymap.set("n", "<leader>e", ":NvimTreeToggle<CR>")

View file

@ -24,6 +24,14 @@
"rev": "b19413d214068f316c78978b08264ed1c41830ec", "rev": "b19413d214068f316c78978b08264ed1c41830ec",
"src": "https://github.com/saghen/blink.cmp" "src": "https://github.com/saghen/blink.cmp"
}, },
"conform.nvim": {
"rev": "1bf8b5b9caee51507aa51eaed3da5b0f2595c6b9",
"src": "https://github.com/stevearc/conform.nvim"
},
"dashboard-nvim": {
"rev": "0775e567b6c0be96d01a61795f7b64c1758262f6",
"src": "https://github.com/nvimdev/dashboard-nvim"
},
"everforest-nvim": { "everforest-nvim": {
"rev": "557bce922401e247a596583679bc181d4d688554", "rev": "557bce922401e247a596583679bc181d4d688554",
"src": "https://github.com/neanias/everforest-nvim.git" "src": "https://github.com/neanias/everforest-nvim.git"
@ -48,6 +56,14 @@
"rev": "6e885e4c27743ae6bf5957ea78ce86c032835f09", "rev": "6e885e4c27743ae6bf5957ea78ce86c032835f09",
"src": "https://github.com/echasnovski/mini.nvim" "src": "https://github.com/echasnovski/mini.nvim"
}, },
"nvim-dap": {
"rev": "5860c7c501eb428d3137ee22c522828d20cca0b3",
"src": "https://github.com/mfussenegger/nvim-dap"
},
"nvim-dap-python": {
"rev": "64652d1ae1db80870d9aac7132d76e37acd86a26",
"src": "https://github.com/mfussenegger/nvim-dap-python"
},
"nvim-lspconfig": { "nvim-lspconfig": {
"rev": "abf6d190f2c06818489c0bd4b926e7e3a06c5e51", "rev": "abf6d190f2c06818489c0bd4b926e7e3a06c5e51",
"src": "https://github.com/neovim/nvim-lspconfig" "src": "https://github.com/neovim/nvim-lspconfig"
@ -80,6 +96,10 @@
"rev": "83a3a713d6b2d2a408491a1b959e55a7fa8678e8", "rev": "83a3a713d6b2d2a408491a1b959e55a7fa8678e8",
"src": "https://github.com/nvim-telescope/telescope.nvim" "src": "https://github.com/nvim-telescope/telescope.nvim"
}, },
"venv-selector.nvim": {
"rev": "58bae72c84b9f7f864c879ec1896e384296f9ffb",
"src": "https://github.com/linux-cultist/venv-selector.nvim"
},
"vim-lsp-settings": { "vim-lsp-settings": {
"rev": "139d4adf61f0699cc97744d4e6dfb8a6317397f5", "rev": "139d4adf61f0699cc97744d4e6dfb8a6317397f5",
"src": "https://github.com/mattn/vim-lsp-settings" "src": "https://github.com/mattn/vim-lsp-settings"