commit 03477d5fbd6c290f7205db58321782833b9a2e80 from: Andre M. Bertachini date: Mon Jun 2 01:19:11 2025 UTC sync_bg and some toggles commit - 131a454bb6a5bfedff7f2c56876aa8a895b92305 commit + 03477d5fbd6c290f7205db58321782833b9a2e80 blob - 7d8338998b65051c0842c130e745a770b75d0d19 blob + 690224c418f1b80533ab673bc198cf36e38acaf0 --- init.lua +++ init.lua @@ -8,13 +8,13 @@ require('lazy').setup({ require('plugins/mason'), require('plugins/lspconfig'), require('plugins/conform'), - require('plugins/treesitter'), require('plugins/mini'), require('plugins/autopairs'), require('plugins/gitsigns'), require('plugins/colors') + -- I'm not using treesitter anymore + -- require('plugins/treesitter'), }) -MiniMisc.setup_termbg_sync() require('config.options') require('config.keymaps') blob - c3afd4fde5ca953340dc1f78feac411c2cfb3f81 blob + 8684c32267bc01ab9ec022afc38c3df86614775f --- lua/config/keymaps.lua +++ lua/config/keymaps.lua @@ -96,7 +96,9 @@ vim.api.nvim_create_autocmd('BufEnter', { local gitsigns = require('gitsigns') + gs_map('b', gitsigns.blame_line, 'toggle git show blame line') gs_map('tb', gitsigns.toggle_current_line_blame, 'toggle git show blame line') - gs_map('tD', gitsigns.toggle_deleted, 'Toggle git show deleted') + gs_map('td', gitsigns.toggle_deleted, 'Toggle git show deleted') + gs_map('tw', gitsigns.toggle_word_diff, 'Toggle git show deleted') end, }) blob - 5daa5bc8bde9876c0e2a7f007479728a1628abaa blob + 0d5eaf768146bfdb04a762187061a922a84d201c --- lua/config/options.lua +++ lua/config/options.lua @@ -57,3 +57,7 @@ vim.o.scrolloff = 10 -- See `:help 'confirm'` vim.o.confirm = true +-- This is done to sync terminal background with neovim background +-- effectively hiding the padding +MiniMisc.setup_termbg_sync() +