nvim

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit c03e551c17b33e1dce509ccbb3eebdf5b3d6dee7
parent ee1cc90c3ac5e005938292d28b18bbc22383cf99
Author: AndrewLockVI <andrew@laack.co>
Date:   Thu, 13 Feb 2025 17:59:14 -0600

Updated config, removed pounce, it was getting me confused with qutebrowser and is not really that useful. Just use / to search in nvim.

Diffstat:
Mlua/core/keymaps.lua | 42+++++++++++++-----------------------------
Mlua/core/plugins.lua | 18+++++++++---------
2 files changed, 22 insertions(+), 38 deletions(-)

diff --git a/lua/core/keymaps.lua b/lua/core/keymaps.lua @@ -74,7 +74,7 @@ smap <silent><expr> <C-p> luasnip#jumpable(-1) ? '<Plug>luasnip-jump-prev' : '<S ]] -- pounce config -vim.keymap.set("n", "s", ":Pounce <CR>", { noremap = true, silent = true }) -- b + Left Arrow for previous buffer +-- vim.keymap.set("n", "s", ":Pounce <CR>", { noremap = true, silent = true }) -- b + Left Arrow for previous buffer -- Fix highlight colors @@ -82,16 +82,16 @@ vim.keymap.set("n", "s", ":Pounce <CR>", { noremap = true, silent = true }) -- b -- Set custom highlight groups -- Set custom highlight groups for Pounce -local highlights = { - PounceGap = { bold = true, fg = "#cdd6f4", bg = "#45475a" }, -- this is the space intra line selections - PounceAcceptBest = { bold = true, fg = "#000000", bg = "#89dceb" }, -- standard selection cap letter - PounceAccept = { bold = true, fg = "#000000", bg = "#7287fd" }, -- standard selection cap letter - PounceMatch = { bold = true, fg = "#cdd6f4", bg = "#585b70" }, -- matching text -} +-- local highlights = { +-- PounceGap = { bold = true, fg = "#cdd6f4", bg = "#45475a" }, -- this is the space intra line selections +-- PounceAcceptBest = { bold = true, fg = "#000000", bg = "#89dceb" }, -- standard selection cap letter +-- PounceAccept = { bold = true, fg = "#000000", bg = "#7287fd" }, -- standard selection cap letter +-- PounceMatch = { bold = true, fg = "#cdd6f4", bg = "#585b70" }, -- matching text +-- } -for group, opts in pairs(highlights) do - vim.api.nvim_set_hl(0, group, opts) -end +-- for group, opts in pairs(highlights) do +-- vim.api.nvim_set_hl(0, group, opts) +-- end -- Map C-Right to w vim.api.nvim_set_keymap('n', '<C-Right>', 'w', { noremap = true, silent = true }) @@ -122,11 +122,9 @@ vim.api.nvim_set_keymap( ) --- Background +-- color scheme -vim.cmd("colorscheme cyberdream") - --- Ensure Telescope's background is black +vim.cmd('colorscheme cyberdream') vim.api.nvim_set_hl(0, "Normal", { bg = "#000000" }) -- Ensure the editor background remains black vim.api.nvim_set_hl(0, "NormalFloat", { bg = "#000000" }) -- Floating windows background remains black @@ -134,6 +132,7 @@ vim.api.nvim_set_hl(0, "NormalNC", { bg = "#000000", fg = "#ffffff" }) -- Set ba vim.api.nvim_set_hl(0, 'SignColumn', { bg = '#000000' }) vim.opt.ruler = false vim.o.laststatus = 0 +vim.api.nvim_set_hl(0, "Normal", { bg = "#000000" }) ---- remap new window direction vim.api.nvim_set_keymap('n', '<C-w>h', ':vsplit<CR>', { noremap = true, silent = true }) @@ -141,18 +140,3 @@ vim.api.nvim_set_keymap('n', '<C-w>v', ':split<CR>', { noremap = true, silent = vim.o.shortmess = vim.o.shortmess .. "I" - -vim.api.nvim_create_user_command("Pandoc", function(args) - vim.cmd( - "!pandoc -i " - .. vim.fn.fnameescape(vim.fn.expand("%")) - .. " -o " - .. vim.fn.fnameescape(vim.fn.expand("%:r")) - .. "." - .. args.args - ) -end, { - nargs = 1, -}) - - diff --git a/lua/core/plugins.lua b/lua/core/plugins.lua @@ -64,7 +64,7 @@ require("luasnip").config.set_config({ -- Setting LuaSnip config }) -- needed for icons for telescope - use("nvim-tree/nvim-web-devicons") + -- use("nvim-tree/nvim-web-devicons") -- Wiki plugin for creating files and stuff for note taking. use("lervag/wiki.vim") @@ -86,15 +86,15 @@ require("luasnip").config.set_config({ -- Setting LuaSnip config }) - -- this is freaking awesome - use('rlane/pounce.nvim') + -- this is freaking awesome - the novelty has since worn off. + -- use('rlane/pounce.nvim') - require'pounce'.setup{ - accept_keys = "TNSERIOADHFUYWPMVXZCGBJKLQ", - accept_best_key = "<enter>", - multi_window = true, - debug = false, - } + -- require'pounce'.setup{ + -- accept_keys = "TNSERIOADHFUYWPMVXZCGBJKLQ", + -- accept_best_key = "<enter>", + -- multi_window = true, + -- debug = false, + -- } use({ "kylechui/nvim-surround",