-
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.
Add startup theme. Add bufferline. Add nord theme.
- Loading branch information
1 parent
18b1340
commit 3c8408d
Showing
7 changed files
with
124 additions
and
7 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
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,75 @@ | ||
local settings = { | ||
-- every line should be same width without escaped \ | ||
header = { | ||
type = "text", | ||
oldfiles_directory = false, | ||
align = "center", | ||
fold_section = false, | ||
title = "Header", | ||
margin = 5, | ||
content = { | ||
"██╗ ██╗███████╗██████╗ ██████╗ █████╗ ██╗ ██╗██╗███╗ ███╗", | ||
"╚██╗ ██╔╝██╔════╝██╔══██╗██╔══██╗██╔══██╗██║ ██║██║████╗ ████║", | ||
" ╚████╔╝ █████╗ ██████╔╝██████╔╝███████║██║ ██║██║██╔████╔██║", | ||
" ╚██╔╝ ██╔══╝ ██╔══██╗██╔══██╗██╔══██║╚██╗ ██╔╝██║██║╚██╔╝██║", | ||
" ██║ ███████╗██║ ██║██████╔╝██║ ██║ ╚████╔╝ ██║██║ ╚═╝ ██║", | ||
" ╚═╝ ╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝", | ||
}, | ||
highlight = "Statement", | ||
default_color = "", | ||
oldfiles_amount = 0, | ||
}, | ||
-- name which will be displayed and command | ||
body = { | ||
type = "mapping", | ||
oldfiles_directory = false, | ||
align = "center", | ||
fold_section = false, | ||
title = "Basic Commands", | ||
margin = 5, | ||
content = { | ||
{ " Find File", "Telescope find_files", "<leader>ff" }, | ||
{ " Find Word", "Telescope live_grep", "<leader>lg" }, | ||
{ " Recent Files", "Telescope oldfiles", "<leader>of" }, | ||
{ " File Browser", "Telescope file_browser", "<leader>fb" }, | ||
{ " Colorschemes", "Telescope colorscheme", "<leader>cs" }, | ||
{ " New File", "lua require'startup'.new_file()", "<leader>nf" }, | ||
}, | ||
highlight = "String", | ||
default_color = "", | ||
oldfiles_amount = 0, | ||
}, | ||
footer = { | ||
type = "text", | ||
oldfiles_directory = false, | ||
align = "center", | ||
fold_section = false, | ||
title = "Footer", | ||
margin = 5, | ||
content = { "startup.nvim" }, | ||
highlight = "Number", | ||
default_color = "", | ||
oldfiles_amount = 0, | ||
}, | ||
|
||
options = { | ||
mapping_keys = true, | ||
cursor_column = 0.5, | ||
empty_lines_between_mappings = true, | ||
disable_statuslines = true, | ||
paddings = { 1, 3, 3, 0 }, | ||
}, | ||
mappings = { | ||
execute_command = "<CR>", | ||
open_file = "o", | ||
open_file_split = "<c-o>", | ||
open_section = "<TAB>", | ||
open_help = "?", | ||
}, | ||
colors = { | ||
background = "#1f2227", | ||
folded_section = "#56b6c2", | ||
}, | ||
parts = { "header", "body", "footer" }, | ||
} | ||
return settings |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
return { | ||
-- using lazy.nvim | ||
'akinsho/bufferline.nvim', | ||
version = "*", | ||
dependencies = 'nvim-tree/nvim-web-devicons', | ||
event = "VeryLazy", | ||
keys = { | ||
{ "<Tab>", "<Cmd>BufferLineCycleNext<CR>", desc = "Next tab" }, | ||
{ "<S-Tab>", "<Cmd>BufferLineCyclePrev<CR>", desc = "Prev tab" }, | ||
}, | ||
opts = { | ||
mode = 'tabs', | ||
show_buffer_close_icods = false, | ||
show_close_icon = false, | ||
}, | ||
config = function() | ||
vim.opt.termguicolors = true | ||
require('bufferline').setup ({ | ||
options = { | ||
seperator_style = 'thin', | ||
}, | ||
}) | ||
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
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