-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
199 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
packer_compiled.lua | ||
lua/.DS_Store | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
require('base') | ||
require('colorscheme') | ||
require('maps') | ||
require('plugins') | ||
require('lazy-init') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"alpha-nvim": { "branch": "main", "commit": "21a0f2520ad3a7c32c0822f943368dc063a569fb" }, | ||
"bufferline.nvim": { "branch": "main", "commit": "c7492a76ce8218e3335f027af44930576b561013" }, | ||
"gruvbox": { "branch": "master", "commit": "bf2885a95efdad7bd5e4794dd0213917770d79b7" }, | ||
"lazy.nvim": { "branch": "main", "commit": "3d2dcb2d5ef99106c5ff412da88c6f59a9f8a693" }, | ||
"lualine.nvim": { "branch": "master", "commit": "0050b308552e45f7128f399886c86afefc3eb988" }, | ||
"neo-tree.nvim": { "branch": "v2.x", "commit": "8238865e1d9c61f1a260c290653f2c419503e0a9" }, | ||
"nui.nvim": { "branch": "main", "commit": "d147222a1300901656f3ebd5b95f91732785a329" }, | ||
"nvim-web-devicons": { "branch": "master", "commit": "2b96193abe4372e18e4f4533895a42a466d53c17" }, | ||
"plenary.nvim": { "branch": "master", "commit": "9a0d3bf7b832818c042aaf30f692b081ddd58bd9" }, | ||
"vim-bbye": { "branch": "master", "commit": "25ef93ac5a87526111f43e5110675032dbcacf56" }, | ||
"vim-repeat": { "branch": "master", "commit": "24afe922e6a05891756ecf331f39a1f6743d3d5a" } | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" | ||
if not vim.loop.fs_stat(lazypath) then | ||
vim.fn.system({ | ||
"git", | ||
"clone", | ||
"--filter=blob:none", | ||
"https://github.com/folke/lazy.nvim.git", | ||
"--branch=stable", -- latest stable release | ||
lazypath, | ||
}) | ||
end | ||
vim.opt.rtp:prepend(lazypath) | ||
|
||
require("lazy").setup("plugins", {}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
return { | ||
{ | ||
'morhetz/gruvbox', | ||
lazy = false, | ||
priority = 1000, | ||
config = function() | ||
vim.cmd([[ colorscheme gruvbox ]]) | ||
end | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
return { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
return { | ||
|
||
{ 'kyazdani42/nvim-web-devicons', lazy = true }, | ||
|
||
{ 'moll/vim-bbye', lazy = true, cmd = 'Bdelete' }, | ||
|
||
-- file explorer | ||
{ | ||
'nvim-neo-tree/neo-tree.nvim', | ||
branch = 'v2.x', | ||
cmd = 'Neotree', | ||
deactivate = function() | ||
vim.cmd([[Neotree close]]) | ||
end, | ||
init = function() | ||
vim.g.neo_tree_remove_legacy_commands = 1 | ||
if vim.fn.argc() == 1 then | ||
local stat = vim.loop.fs_stat(vim.fn.argv(0)) | ||
if stat and stat.type == 'directory' then | ||
require('neo-tree') | ||
end | ||
end | ||
end, | ||
opts = { | ||
window = { | ||
width = 30 | ||
}, | ||
filesystem = { | ||
filtered_items = { | ||
hide_dotfiles = false, | ||
}, | ||
} | ||
}, | ||
keys = { | ||
{ | ||
'<leader>e', | ||
function() | ||
require('neo-tree.command').execute({ | ||
toggle = true | ||
}) | ||
end | ||
}, | ||
{ | ||
'<leader>E', | ||
function() | ||
require('neo-tree.command').execute({ | ||
toggle = true, | ||
dir = vim.loop.cwd() | ||
}) | ||
end | ||
}, | ||
} | ||
}, | ||
|
||
-- bufferline | ||
{ | ||
'akinsho/bufferline.nvim', | ||
event = 'VeryLazy', | ||
opts = { | ||
options = { | ||
show_buffer_close_icons = false, | ||
show_close_icon = false, | ||
offsets = { | ||
{ | ||
filetype = 'neo-tree', | ||
highlight = 'Directory', | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
|
||
-- lualine | ||
{ | ||
'nvim-lualine/lualine.nvim', | ||
event = 'VeryLazy', | ||
opts = { | ||
options = { | ||
section_separators = '', | ||
component_separators = '' | ||
}, | ||
sections = { | ||
lualine_b = { | ||
{ 'branch', icons_enabled = false, }, | ||
'diff', | ||
'diagonstics', | ||
}, | ||
lualine_c = { | ||
{ 'filename', file_status = true, path = 1 }, | ||
}, | ||
lualine_x = { | ||
-- encoding | ||
-- fileformat | ||
{ 'filetype', icons_enabled = false, } | ||
}, | ||
lualine_y = { | ||
-- progress | ||
}, | ||
-- lualine_z = { 'location' }, | ||
}, | ||
inactive_sections = { | ||
lualine_c = { | ||
{ 'filename', file_status = true, path = 1 }, | ||
}, | ||
} | ||
} | ||
}, | ||
|
||
-- TODO | ||
-- noe-tree | ||
|
||
-- dashboard | ||
{ | ||
'goolord/alpha-nvim', | ||
event = 'VimEnter', | ||
opts = function() | ||
local dashboard = require('alpha.themes.dashboard') | ||
dashboard.section.buttons.val = { | ||
dashboard.button('fe', 'Explorer', ':NvimTreeOpen <CR>'), | ||
dashboard.button('ff', 'Find file', ':Telescope find_files <CR>'), | ||
dashboard.button('fo', 'Recent', ':Telescope oldfiles <CR>'), | ||
dashboard.button('n', 'New file', ':ene <BAR> startinsert <CR>'), | ||
dashboard.button('q', 'Quit', ':qa<CR>'), | ||
} | ||
return dashboard | ||
end | ||
, | ||
config = function(_, dashboard) | ||
require('alpha').setup(dashboard.opts) | ||
end | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
return { | ||
{ 'nvim-lua/plenary.nvim', lazy = true }, | ||
|
||
{ 'tpope/vim-repeat', event = 'VeryLazy' }, | ||
|
||
{ 'MunifTanjim/nui.nvim', event = 'VeryLazy' }, | ||
} |