feat: checkhealth and cwd in footer
This commit is contained in:
@@ -32,6 +32,7 @@ return {
|
||||
button("f", " Find Files", ":Telescope find_files <CR>"),
|
||||
button("o", " Recent Files", "<cmd>Telescope oldfiles<cr>"),
|
||||
button("t", " Terminal", ":terminal<CR>i"),
|
||||
button("h", "⛨ check health", ":checkhealth<CR>"),
|
||||
button("s", "S Find text/string", ":Telescope live_grep <CR>"),
|
||||
button("m", " Bookmarks", ":Telescope marks <CR>"),
|
||||
button("c", " Neovim config", "<cmd>e ~/.config/nvim/ | cd %:p:h<cr>"),
|
||||
@@ -44,7 +45,8 @@ return {
|
||||
local version = vim.version()
|
||||
local nvim_version_info = " v" .. version.major .. "." .. version.minor .. "." .. version.patch
|
||||
-- local ms = (math.floor(stats.startuptime * 100 + 0.5) / 100)
|
||||
local value = footer_datetime .. " Plugins " .. total_plugins .. nvim_version_info
|
||||
local root_dir = " ⌂" .. vim.fn['getcwd']()
|
||||
local value = footer_datetime .. " Plugins " .. total_plugins .. nvim_version_info .. root_dir
|
||||
return value
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user