chore: add missing files
This commit is contained in:
parent
3d4968c861
commit
eb37c41959
30
lua/core/keybinds.lua
Normal file
30
lua/core/keybinds.lua
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
local wk = require("which-key")
|
||||||
|
|
||||||
|
wk.register({
|
||||||
|
f = {
|
||||||
|
name = "file",
|
||||||
|
f = { "<cmd>Telescope find_files<cr>", "Find File" },
|
||||||
|
g = { "<cmd>Telescope live_grep<cr>", "Find Word" },
|
||||||
|
s = { "<cmd>:w<cr>", "Write" },
|
||||||
|
w = { "<cmd>:w!<cr>", "Force Write" },
|
||||||
|
|
||||||
|
e = { ":e ", "Edit File", silent = false },
|
||||||
|
},
|
||||||
|
t = {
|
||||||
|
name = "tabs",
|
||||||
|
n = { "<cmd>tabnew<cr>", "New Tab" },
|
||||||
|
j = { "<cmd>tabprev<cr>", "Previous Tab" },
|
||||||
|
k = { "<cmd>tabnext<cr>", "Next Tab" },
|
||||||
|
},
|
||||||
|
l = {
|
||||||
|
name = "lazy",
|
||||||
|
u = { "<cmd>Lazy update<cr>", "Update" },
|
||||||
|
s = { "<cmd>Lazy sync<cr>", "Sync" },
|
||||||
|
},
|
||||||
|
g = {
|
||||||
|
name = "git",
|
||||||
|
p = { "<cmd>Neogit cwd=%:p:h push<cr>", "Push Popup" },
|
||||||
|
c = { "<cmd>Neogit cwd=%:p:h commit<cr>", "Commit Popup" },
|
||||||
|
},
|
||||||
|
["."] = { ":e ", "Edit File", silent = false },
|
||||||
|
}, { prefix = "<leader>" })
|
40
lua/core/lualine.lua
Normal file
40
lua/core/lualine.lua
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
require('lualine').setup {
|
||||||
|
options = {
|
||||||
|
icons_enabled = true,
|
||||||
|
theme = 'auto',
|
||||||
|
component_separators = { left = '', right = '' },
|
||||||
|
section_separators = { left = '', right = '' },
|
||||||
|
disabled_filetypes = {
|
||||||
|
statusline = {},
|
||||||
|
winbar = {},
|
||||||
|
},
|
||||||
|
ignore_focus = {},
|
||||||
|
always_divide_middle = true,
|
||||||
|
globalstatus = false,
|
||||||
|
refresh = {
|
||||||
|
statusline = 1000,
|
||||||
|
tabline = 1000,
|
||||||
|
winbar = 1000,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
sections = {
|
||||||
|
lualine_a = {'mode'},
|
||||||
|
lualine_b = {'branch', 'diff', 'diagnostics'},
|
||||||
|
lualine_c = {'filename'},
|
||||||
|
lualine_x = {'encoding'},
|
||||||
|
lualine_y = {'progress'},
|
||||||
|
lualine_z = {'location'}
|
||||||
|
},
|
||||||
|
inactive_sections = {
|
||||||
|
lualine_a = {},
|
||||||
|
lualine_b = {},
|
||||||
|
lualine_c = {'filename'},
|
||||||
|
lualine_x = {'location'},
|
||||||
|
lualine_y = {},
|
||||||
|
lualine_z = {}
|
||||||
|
},
|
||||||
|
tabline = {},
|
||||||
|
winbar = {},
|
||||||
|
inactive_winbar = {},
|
||||||
|
extensions = {}
|
||||||
|
}
|
Loading…
Reference in a new issue