add: update config

This commit is contained in:
asep.komarudin 2024-05-06 08:11:07 +07:00
parent 3a93cb9d58
commit be7f819532
7 changed files with 43 additions and 39 deletions

View file

@ -25,7 +25,7 @@ end
local dashboard = require("alpha.themes.dashboard")
dashboard.section.header.val = board
dashboard.section.buttons.val = {
dashboard.button("f", "󰈞 Find file", ":Telescope find_files <CR>"),
dashboard.button("F", "󰈞 Find file", ":Telescope find_files <CR>"),
dashboard.button("e", " New file", ":ene <BAR> startinsert <CR>"),
dashboard.button("p", "󰉋 Find project", ":Telescope projects <CR>"),
dashboard.button("r", "󰦛 Recently used files", ":Telescope oldfiles <CR>"),

View file

@ -52,7 +52,7 @@ keymap("v", "<C-c>", '"+y', opts)
keymap("x", "<C-c>", '"+y', opts)
keymap("n", "<C-v>", '"+P', opts)
keymap("v", "<C-v>", '"+P', opts)
keymap("i", "<C-v>", "<esc>pa", opts)
keymap("i", "<C-v>", "<esc>pa<Left>", opts)
keymap("x", "<C-v>", '"+P', opts)
keymap("n", "<C-Z>", "<cmd>undo<CR>", opts)
keymap("x", "<C-Z>", "<esc><cmd>undo<CR>", opts)

View file

@ -18,7 +18,7 @@ if data_exists then
end
startify.section.header.val = dash_model
startify.section.top_buttons.val = {
startify.button("f", "󰈞 Find file", ":Telescope find_files <CR>"),
startify.button("F", "󰈞 Find file", ":Telescope find_files <CR>"),
startify.button("e", " New file", ":ene <BAR> startinsert <CR>"),
startify.button("p", "󰉋 Find project", ":Telescope projects <CR>"),
startify.button("r", "󰦛 Recently used files", ":Telescope oldfiles <CR>"),