Skip to content

Commit 2e3586d

Browse files
author
SevenDeLeven
committed
initial commit
1 parent a005f15 commit 2e3586d

File tree

4 files changed

+71
-1
lines changed

4 files changed

+71
-1
lines changed

init.lua

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,10 @@ require('lazy').setup({
217217
build = ':TSUpdate',
218218
},
219219

220+
{'akinsho/toggleterm.nvim', version = "*", opts = {
221+
open_mapping = "<c-Z>"
222+
}},
223+
220224
-- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart
221225
-- These are some example plugins that I've included in the kickstart repository.
222226
-- Uncomment any of the lines below to enable them.
@@ -229,7 +233,7 @@ require('lazy').setup({
229233
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
230234
--
231235
-- For additional information see: https://github.com/folke/lazy.nvim#-structuring-your-plugins
232-
-- { import = 'custom.plugins' },
236+
{ import = 'custom.plugins' },
233237
}, {})
234238

235239
-- [[ Setting options ]]
@@ -283,6 +287,8 @@ vim.keymap.set({ 'n', 'v' }, '<Space>', '<Nop>', { silent = true })
283287
vim.keymap.set('n', 'k', "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = true })
284288
vim.keymap.set('n', 'j', "v:count == 0 ? 'gj' : 'j'", { expr = true, silent = true })
285289

290+
vim.keymap.set('n', 'T', ":Neotree\n", { silent = true} )
291+
286292
-- Diagnostic keymaps
287293
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous diagnostic message' })
288294
vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next diagnostic message' })

lazy-lock.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" },
3+
"LuaSnip": { "branch": "master", "commit": "a4de64570b9620875c8ea04175cd07ed8e32ac99" },
4+
"cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" },
5+
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
6+
"fidget.nvim": { "branch": "main", "commit": "0ba1e16d07627532b6cae915cc992ecac249fb97" },
7+
"friendly-snippets": { "branch": "main", "commit": "43727c2ff84240e55d4069ec3e6158d74cb534b6" },
8+
"gitsigns.nvim": { "branch": "main", "commit": "af0f583cd35286dd6f0e3ed52622728703237e50" },
9+
"indent-blankline.nvim": { "branch": "master", "commit": "29be0919b91fb59eca9e90690d76014233392bef" },
10+
"lazy.nvim": { "branch": "main", "commit": "96584866b9c5e998cbae300594d0ccfd0c464627" },
11+
"lualine.nvim": { "branch": "master", "commit": "2248ef254d0a1488a72041cfb45ca9caada6d994" },
12+
"mason-lspconfig.nvim": { "branch": "main", "commit": "40301e1c74bc0946eece13edf2b1c561cc497491" },
13+
"mason.nvim": { "branch": "main", "commit": "eabf6d347fdb75be360d4c0ced1145670a171453" },
14+
"neo-tree.nvim": { "branch": "main", "commit": "f053f09962819c1558cd93639aa80edf7c314c17" },
15+
"neodev.nvim": { "branch": "main", "commit": "80487e4f7bfa11c2ef2a1b461963db019aad6a73" },
16+
"nui.nvim": { "branch": "main", "commit": "c0c8e347ceac53030f5c1ece1c5a5b6a17a25b32" },
17+
"nvim-autopairs": { "branch": "master", "commit": "0f04d78619cce9a5af4f355968040f7d675854a1" },
18+
"nvim-cmp": { "branch": "main", "commit": "0b751f6beef40fd47375eaf53d3057e0bfa317e4" },
19+
"nvim-lspconfig": { "branch": "master", "commit": "37457f268af5cd6765e589b0dcd7cbd192d8da00" },
20+
"nvim-treesitter": { "branch": "master", "commit": "9a746b4b6a1ef215943f07e6aa2ec35fb14097d4" },
21+
"nvim-treesitter-textobjects": { "branch": "master", "commit": "189468b62133d44fb6220530c8aa96718d0e93d1" },
22+
"nvim-web-devicons": { "branch": "master", "commit": "5de460ca7595806044eced31e3c36c159a493857" },
23+
"onedark.nvim": { "branch": "master", "commit": "b9acd92ded2ba155867ca5af9d618e933d96e3b0" },
24+
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
25+
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" },
26+
"telescope.nvim": { "branch": "0.1.x", "commit": "7011eaae0ac1afe036e30c95cf80200b8dc3f21a" },
27+
"toggleterm.nvim": { "branch": "main", "commit": "faee9d60428afc7857e0927fdc18daa6c409fa64" },
28+
"vim-fugitive": { "branch": "master", "commit": "46eaf8918b347906789df296143117774e827616" },
29+
"vim-rhubarb": { "branch": "master", "commit": "ee69335de176d9325267b0fd2597a22901d927b1" },
30+
"vim-sleuth": { "branch": "master", "commit": "1cc4557420f215d02c4d2645a748a816c220e99b" },
31+
"which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" }
32+
}

lua/custom/plugins/autopairs.lua

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
-- File: lua/custom/plugins/autopairs.lua
2+
3+
return {
4+
"windwp/nvim-autopairs",
5+
-- Optional dependency
6+
dependencies = { 'hrsh7th/nvim-cmp' },
7+
config = function()
8+
require("nvim-autopairs").setup {}
9+
-- If you want to automatically add `(` after selecting a function or method
10+
local cmp_autopairs = require('nvim-autopairs.completion.cmp')
11+
local cmp = require('cmp')
12+
cmp.event:on(
13+
'confirm_done',
14+
cmp_autopairs.on_confirm_done()
15+
)
16+
end,
17+
}

lua/custom/plugins/filetree.lua

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
-- Unless you are still migrating, remove the deprecated commands from v1.x
2+
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
3+
4+
return {
5+
"nvim-neo-tree/neo-tree.nvim",
6+
version = "*",
7+
dependencies = {
8+
"nvim-lua/plenary.nvim",
9+
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
10+
"MunifTanjim/nui.nvim",
11+
},
12+
config = function ()
13+
require('neo-tree').setup {}
14+
end,
15+
}

0 commit comments

Comments
 (0)