|
|
|
@ -1,5 +1,4 @@
|
|
|
|
--[[
|
|
|
|
--[[
|
|
|
|
|
|
|
|
|
|
|
|
=====================================================================
|
|
|
|
=====================================================================
|
|
|
|
==================== READ THIS BEFORE CONTINUING ====================
|
|
|
|
==================== READ THIS BEFORE CONTINUING ====================
|
|
|
|
=====================================================================
|
|
|
|
=====================================================================
|
|
|
|
@ -91,7 +90,7 @@ vim.g.mapleader = ' '
|
|
|
|
vim.g.maplocalleader = ' '
|
|
|
|
vim.g.maplocalleader = ' '
|
|
|
|
|
|
|
|
|
|
|
|
-- Set to true if you have a Nerd Font installed and selected in the terminal
|
|
|
|
-- Set to true if you have a Nerd Font installed and selected in the terminal
|
|
|
|
vim.g.have_nerd_font = false
|
|
|
|
vim.g.have_nerd_font = true
|
|
|
|
|
|
|
|
|
|
|
|
-- [[ Setting options ]]
|
|
|
|
-- [[ Setting options ]]
|
|
|
|
-- See `:help vim.o`
|
|
|
|
-- See `:help vim.o`
|
|
|
|
@ -437,6 +436,14 @@ require('lazy').setup({
|
|
|
|
vim.keymap.set('n', '<leader>s.', builtin.oldfiles, { desc = '[S]earch Recent Files ("." for repeat)' })
|
|
|
|
vim.keymap.set('n', '<leader>s.', builtin.oldfiles, { desc = '[S]earch Recent Files ("." for repeat)' })
|
|
|
|
vim.keymap.set('n', '<leader><leader>', builtin.buffers, { desc = '[ ] Find existing buffers' })
|
|
|
|
vim.keymap.set('n', '<leader><leader>', builtin.buffers, { desc = '[ ] Find existing buffers' })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---Setting Custom key map
|
|
|
|
|
|
|
|
vim.api.nvim_create_autocmd('FileType', {
|
|
|
|
|
|
|
|
pattern = 'dart',
|
|
|
|
|
|
|
|
callback = function()
|
|
|
|
|
|
|
|
vim.keymap.set('n', '<S-F10>', ':!dart run %<CR>', { desc = 'Run Dart file' })
|
|
|
|
|
|
|
|
end,
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
-- Slightly advanced example of overriding default behavior and theme
|
|
|
|
-- Slightly advanced example of overriding default behavior and theme
|
|
|
|
vim.keymap.set('n', '<leader>/', function()
|
|
|
|
vim.keymap.set('n', '<leader>/', function()
|
|
|
|
-- You can pass additional configuration to Telescope to change the theme, layout, etc.
|
|
|
|
-- You can pass additional configuration to Telescope to change the theme, layout, etc.
|
|
|
|
@ -718,7 +725,6 @@ require('lazy').setup({
|
|
|
|
'stylua', -- Used to format Lua code
|
|
|
|
'stylua', -- Used to format Lua code
|
|
|
|
})
|
|
|
|
})
|
|
|
|
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
|
|
|
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
|
|
|
|
|
|
|
|
|
|
|
require('mason-lspconfig').setup {
|
|
|
|
require('mason-lspconfig').setup {
|
|
|
|
ensure_installed = {}, -- explicitly set to an empty table (Kickstart populates installs via mason-tool-installer)
|
|
|
|
ensure_installed = {}, -- explicitly set to an empty table (Kickstart populates installs via mason-tool-installer)
|
|
|
|
automatic_installation = false,
|
|
|
|
automatic_installation = false,
|
|
|
|
@ -976,15 +982,15 @@ require('lazy').setup({
|
|
|
|
-- require 'kickstart.plugins.debug',
|
|
|
|
-- require 'kickstart.plugins.debug',
|
|
|
|
-- require 'kickstart.plugins.indent_line',
|
|
|
|
-- require 'kickstart.plugins.indent_line',
|
|
|
|
-- require 'kickstart.plugins.lint',
|
|
|
|
-- require 'kickstart.plugins.lint',
|
|
|
|
-- require 'kickstart.plugins.autopairs',
|
|
|
|
require 'kickstart.plugins.autopairs',
|
|
|
|
-- require 'kickstart.plugins.neo-tree',
|
|
|
|
require 'kickstart.plugins.neo-tree',
|
|
|
|
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
|
|
|
|
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
|
|
|
|
|
|
|
|
|
|
|
|
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
|
|
|
|
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
|
|
|
|
-- This is the easiest way to modularize your config.
|
|
|
|
-- This is the easiest way to modularize your config.
|
|
|
|
--
|
|
|
|
--
|
|
|
|
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
|
|
|
|
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
|
|
|
|
-- { import = 'custom.plugins' },
|
|
|
|
{ import = 'custom.plugins' },
|
|
|
|
--
|
|
|
|
--
|
|
|
|
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
|
|
|
|
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
|
|
|
|
-- Or use telescope!
|
|
|
|
-- Or use telescope!
|
|
|
|
|