Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Proceed as follows.
Run

```lua
:PackerSync
:Lazy sync
```

Also, if tabnine doesn't show you any offers, just log in to your account.
Expand Down
1 change: 0 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
require("plugins") -- plugins
require("core") -- load basic config
require("packages") -- load plugin configs ( no lazy )
require("custom") -- load user configs
10 changes: 0 additions & 10 deletions lua/core/basic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,3 @@ vim.api.nvim_create_autocmd({ "BufReadPost" }, {

set.laststatus = 3 -- Status Line Mode
set.showtabline = 2 -- Tab Line Mode

-- erorr and Warning managment
vim.diagnostic.config({
virtual_text = false, -- Disable virtual_text since it's redundant due to lsp_lines.
virtual_lines = {
only_current_line = true,
spacing = 5,
severity_limit = "Warning",
},
})
15 changes: 6 additions & 9 deletions lua/core/bindings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ set.mapleader = " "
-- Fire Explorer
local nvimtree_status, nvimtree = pcall(require, "nvim-tree.config")

if nvimtree_status then
bind("n", "<leader>r", ":NvimTreeRefresh<CR>") -- nnoremap <leader>r :NvimTreeRefresh<CR>
bind("n", "<leader>n", ":NvimTreeFindFile<CR>") -- nnoremap <leader>n :NvimTreeFindFile<CR>
bind("n", "<C-n>", ":NvimTreeToggle<CR>") -- nnoremap <C-n> :NvimTreeToggle<CR>
bind("n", "<leader>r", ":NvimTreeRefresh<CR>") -- nnoremap <leader>r :NvimTreeRefresh<CR>
bind("n", "<leader>n", ":NvimTreeFindFile<CR>") -- nnoremap <leader>n :NvimTreeFindFile<CR>
bind("n", "<C-n>", ":NvimTreeToggle<CR>") -- nnoremap <C-n> :NvimTreeToggle<CR>

if nvimtree_status then
nvimtree.nvim_tree_callback({
veiw = {
mappings = {
Expand All @@ -26,11 +26,9 @@ if nvimtree_status then
end

-- Debugin System
local lines_status, lines = pcall(require, "lsp_lines")
if lines_status then
bind("", "<Leader>l", lines.toggle, { desc = "Toggle lsp_lines" })
local lines_bind = function()
bind("", "<Leader>l", require("lsp_lines").toggle, { desc = "Toggle lsp_lines" })
end

-- Buffer manager
bind("n", "<Tab>", ":bn<CR>") -- Buffer Switch
bind("n", "<C-b>", ":bd<CR>") -- Buffer Close
Expand Down Expand Up @@ -60,7 +58,6 @@ end
local autocompelet_status, cmp = pcall(require, "cmp")
if autocompelet_status then
cmp.setup({

mapping = {
["<C-p>"] = cmp.mapping.select_prev_item(),
["<C-n>"] = cmp.mapping.select_next_item(),
Expand Down
272 changes: 0 additions & 272 deletions lua/lazy_plugins.lua

This file was deleted.

Loading