This commit is contained in:
asep komarudin 2023-12-22 07:46:30 +07:00
parent 2244ebf305
commit 977392be0b
3 changed files with 9 additions and 7 deletions

View file

@ -52,6 +52,7 @@ keymap("i", "<C-_>", "<esc><cmd>lua require('Comment.api').toggle.linewise(vim.f
keymap("i", "<C-_>", "<esc><cmd>lua require('Comment.api').toggle.linewise.current()<cr>$i<Right><leader>", opts)
keymap("n", "<C-_>", "<esc><cmd>lua require('Comment.api').toggle.linewise.current()<cr>$i<Right><leader>", opts)
keymap("n", "<C-l>", "<esc><cmd>lua _LIVE_SERVER()<cr>", opts)
keymap("i", "<C-l>", "<esc><cmd>lua _LIVE_SERVER()<cr>", opts)
-- Resize with arrows
-- cona
@ -61,7 +62,9 @@ keymap("n", "<C-l>", "<esc><cmd>lua _LIVE_SERVER()<cr>", opts)
-- Navigate buffers
keymap("n", "<S-l>", ":bnext<CR>", opts)
keymap("n", "<S-Left>", "<Esc>:bnext<CR>", opts)
keymap("n", "<S-h>", ":bprevious<CR>", opts)
keymap("n", "<S-Right>", "<Esc>:bprevious<CR>", opts)
-- Move text up and down
keymap("n", "<A-j>", "<Esc>:m .+1<CR>==gi", opts)
@ -105,7 +108,6 @@ keymap("n", "<M-j>", "<cmd>m+<cr>", opts)
keymap("n", "<M-k>", "<cmd>m-2<cr>", opts)
keymap("i", "<C-s>", "<cmd>w<cr>", opts)
keymap("n", "<C-s>", "<cmd>w<cr>", opts)
keymap("i", "<C-l>", "<cmd>LiveServer start<cr><cr>", opts)
keymap("n", "q", "<cmd>q<cr>", opts)
keymap("x", "<S-Down>", ":'<,'>t'><cr>", opts)

View file

@ -41,7 +41,7 @@ material_icon.setup({
},
["json"] = {
icon = "",
color = "#dbb7b7",
color = "#ca8984",
cterm_color = "220",
name = "json",
},
@ -126,7 +126,7 @@ web_devicons.setup({
name = "eslintignore",
},
["jest.config.js"] = {
icon = "󰙨",
icon = "󰚐",
color = "#e37575",
cterm_color = "220",
name = "jestconfig",