add: key maps CTRL + A

This commit is contained in:
asep komarudin 2024-03-01 22:11:16 +07:00
parent 549a63a3da
commit 835cea9f5e
2 changed files with 4 additions and 3 deletions

View file

@ -118,7 +118,7 @@ return {
local mode = { local mode = {
"mode", "mode",
padding = 1, padding = 1,
separator = { left = "" }, separator = { left = " " },
-- right_padding = 3, -- right_padding = 3,
fmt = function(str) fmt = function(str)
return "" .. str return "" .. str
@ -166,7 +166,7 @@ return {
lualine_x = { diff, spaces, "filetype" }, lualine_x = { diff, spaces, "filetype" },
lualine_y = { "progress" }, lualine_y = { "progress" },
lualine_z = { lualine_z = {
{ "location", separator = { right = "" }, padding = 1 }, { "location", separator = { right = " " }, padding = 1 },
}, },
}, },
inactive_sections = { inactive_sections = {

View file

@ -45,7 +45,8 @@ keymap("n", "<C-h>", "<C-w>h", opts)
keymap("n", "<C-j>", "<C-w>j", opts) keymap("n", "<C-j>", "<C-w>j", opts)
keymap("n", "<C-k>", "<C-w>k", opts) keymap("n", "<C-k>", "<C-w>k", opts)
keymap("n", "<C-l>", "<C-w>l", opts) keymap("n", "<C-l>", "<C-w>l", opts)
keymap("n", "<C-A>", "ggVG", opts) keymap("n", "<C-A>", "gg0v$G", opts)
keymap("i", "<C-A>", "<esc>gg0v$G", opts)
keymap("n", "<C-c>", '"+y', opts) keymap("n", "<C-c>", '"+y', opts)
keymap("v", "<C-c>", '"+y', opts) keymap("v", "<C-c>", '"+y', opts)
keymap("x", "<C-c>", '"+y', opts) keymap("x", "<C-c>", '"+y', opts)