My favorit plugins and customs

This commit is contained in:
ThirstyKanta 2025-11-01 20:25:18 +09:00
parent 3338d39206
commit 3c9a585f83
8 changed files with 51 additions and 6 deletions

2
index.php Normal file
View File

@ -0,0 +1,2 @@
<?php echo "Hello";
echo "dir";

View File

@ -1,5 +1,4 @@
--[[
=====================================================================
==================== READ THIS BEFORE CONTINUING ====================
=====================================================================
@ -91,7 +90,7 @@ vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
-- 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 ]]
-- 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><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
vim.keymap.set('n', '<leader>/', function()
-- 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
})
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
require('mason-lspconfig').setup {
ensure_installed = {}, -- explicitly set to an empty table (Kickstart populates installs via mason-tool-installer)
automatic_installation = false,
@ -976,15 +982,15 @@ require('lazy').setup({
-- require 'kickstart.plugins.debug',
-- require 'kickstart.plugins.indent_line',
-- require 'kickstart.plugins.lint',
-- require 'kickstart.plugins.autopairs',
-- require 'kickstart.plugins.neo-tree',
require 'kickstart.plugins.autopairs',
require 'kickstart.plugins.neo-tree',
-- 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`
-- 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.
-- { import = 'custom.plugins' },
{ import = 'custom.plugins' },
--
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
-- Or use telescope!

View File

@ -0,0 +1,6 @@
vim.api.nvim_create_autocmd('FileType', {
pattern = 'dart',
callback = function()
vim.keymap.set('n', '<S-F10>', ':!dart run %<CR>', { desc = 'Run Dart file' })
end,
})

View File

@ -0,0 +1,5 @@
return {
'pocco81/auto-save.nvim',
lazy = false,
config = true,
}

View File

@ -0,0 +1 @@
return { 'neoclide/coc.nvim', branch = 'release' }

View File

@ -0,0 +1,9 @@
return {
'nvim-flutter/flutter-tools.nvim',
lazy = false,
dependencies = {
'nvim-lua/plenary.nvim',
'stevearc/dressing.nvim', -- optional for vim.ui.select
},
config = true,
}

View File

@ -0,0 +1,7 @@
return {
'shellRaining/hlchunk.nvim',
event = { 'BufReadPre', 'BufNewFile' },
config = function()
require('hlchunk').setup {}
end,
}

View File

@ -0,0 +1,9 @@
return {
'kevinhwang91/nvim-ufo',
lazy = false,
dependencies = {
'kevinhwang91/promise-async',
},
config = false,
}