Skip to content

Commit b985701

Browse files
committed
feat: personnal
1 parent 3338d39 commit b985701

File tree

3 files changed

+50
-3
lines changed

3 files changed

+50
-3
lines changed

init.lua

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ vim.g.mapleader = ' '
9191
vim.g.maplocalleader = ' '
9292

9393
-- Set to true if you have a Nerd Font installed and selected in the terminal
94-
vim.g.have_nerd_font = false
94+
vim.g.have_nerd_font = true
9595

9696
-- [[ Setting options ]]
9797
-- See `:help vim.o`
@@ -975,10 +975,12 @@ require('lazy').setup({
975975
--
976976
-- require 'kickstart.plugins.debug',
977977
-- require 'kickstart.plugins.indent_line',
978-
-- require 'kickstart.plugins.lint',
978+
require 'kickstart.plugins.lint',
979979
-- require 'kickstart.plugins.autopairs',
980980
-- require 'kickstart.plugins.neo-tree',
981-
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
981+
require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
982+
require 'custom.plugins.copilot',
983+
require 'custom.plugins.Lazygit',
982984

983985
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
984986
-- This is the easiest way to modularize your config.

lua/custom/plugins/Lazygit.lua

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
return {
2+
'kdheepak/lazygit.nvim',
3+
lazy = true,
4+
cmd = {
5+
'LazyGit',
6+
'LazyGitConfig',
7+
'LazyGitCurrentFile',
8+
'LazyGitFilter',
9+
'LazyGitFilterCurrentFile',
10+
},
11+
-- optional for floating window border decoration
12+
dependencies = {
13+
'nvim-lua/plenary.nvim',
14+
},
15+
-- setting the keybinding for LazyGit with 'keys' is recommended in
16+
-- order to load the plugin when the command is run for the first time
17+
keys = {
18+
{ '<leader>lg', '<cmd>LazyGit<cr>', desc = 'LazyGit' },
19+
},
20+
}

lua/custom/plugins/copilot.lua

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
return {
2+
{
3+
"zbirenbaum/copilot.lua",
4+
cmd = "Copilot",
5+
event = "InsertEnter",
6+
config = function()
7+
require("copilot").setup({
8+
suggestion = {
9+
enabled = true,
10+
auto_trigger = true,
11+
hide_during_completion = false,
12+
debounce = 25,
13+
keymap = {
14+
accept = "<Tab>",
15+
accept_word = false,
16+
accept_line = false,
17+
next = false,
18+
prev = false,
19+
dismiss = "<Esc>",
20+
},
21+
},
22+
})
23+
end,
24+
},
25+
}

0 commit comments

Comments
 (0)