@@ -155,7 +155,7 @@ vim.opt.inccommand = 'split'
155155vim .opt .cursorline = true
156156
157157-- Minimal number of screen lines to keep above and below the cursor.
158- vim .opt .scrolloff = 20
158+ vim .opt .scrolloff = 10
159159
160160-- [[ Basic Keymaps ]]
161161-- See `:help vim.keymap.set()`
@@ -253,6 +253,9 @@ vim.opt.laststatus = 2
253253-- Remove the mode display since it's in the statusline
254254vim .opt .showmode = false
255255
256+ -- Open the terminal with <leader> t
257+ -- vim.keymap.set('n', '<leader>[', '<cmd>terminal<CR>', { desc = 'Open [T]erminal' })
258+
256259-- Optional: customize colors based on your colorscheme
257260-- Replace these colors with ones that match your theme
258261vim .cmd [[
@@ -809,6 +812,25 @@ require('lazy').setup({
809812 end ,
810813 },
811814
815+ {
816+ ' rhysd/conflict-marker.vim' ,
817+ event = ' VimEnter' ,
818+ },
819+
820+ {
821+ ' wfxr/minimap.vim' ,
822+ event = ' VimEnter' ,
823+ config = function ()
824+ vim .g .minimap_auto_start = 1
825+ vim .g .minimap_auto_start_win_enter = 1
826+ vim .g .minimap_width = 10
827+ vim .g .minimap_highlight_range = 1
828+ vim .g .minimap_highlight_search = 1
829+ vim .g .minimap_auto_start = 1
830+ vim .g .minimap_auto_start_win_enter = 1
831+ end ,
832+ },
833+
812834 {
813835 ' ThePrimeagen/refactoring.nvim' ,
814836 dependencies = {
@@ -1084,6 +1106,31 @@ require('lazy').setup({
10841106 -- - Show your current context: https://github.com/nvim-treesitter/nvim-treesitter-context
10851107 -- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
10861108 },
1109+ {
1110+ ' mrcjkb/rustaceanvim' ,
1111+ version = ' ^5' , -- Recommended
1112+ lazy = false , -- This plugin is already lazy
1113+ },
1114+
1115+ {
1116+ ' voldikss/vim-floaterm' ,
1117+ keys = {
1118+ {
1119+ ' <leader>tt' ,
1120+ function ()
1121+ vim .cmd ' FloatermToggle'
1122+ end ,
1123+ mode = ' n' ,
1124+ desc = ' [T]oggle [T]erminal' ,
1125+ },
1126+ },
1127+ },
1128+
1129+ {
1130+ ' windwp/nvim-autopairs' ,
1131+ event = ' InsertEnter' ,
1132+ config = true ,
1133+ },
10871134
10881135 -- The following two comments only work if you have downloaded the kickstart repo, not just copy pasted the
10891136 -- init.lua. If you want these files, they are in the repository, so you can just download them and
0 commit comments