Created
March 25, 2024 06:51
-
-
Save jonathanmza/6bb988e869a93323a3e6c11f93a0fea4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local map = vim.keymap.set | |
map("n", "<S-f>", "<Cmd>Telescope find_files<CR>", { desc = "Find File/Class" }) | |
map("n", "<C-b>", "gd", { desc = "Navigate to Class/Definition" }) | |
map("n", "<A-S-Up>", ":m-2<CR>", { desc = "Move Line Up (Alt + Shift + Up)" }) | |
map("n", "<A-S-Down>", ":m+<CR>", { desc = "Move Line Down (Alt + Shift + Down)" }) | |
map("v", "<A-S-Up>", ":move '<-2<CR>gv", { desc = "Move Selected Block Up (Alt + Shift + Up)" }) | |
map("v", "<A-S-Down>", ":move '>+1<CR>gv", { desc = "Move Selected Block Down (Alt + Shift + Down)" }) | |
map("n", "<A-Up>", "<Plug>(expand_region_expand)", { desc = "Expand Selection" }) | |
map("v", "<A-Up>", "<Plug>(expand_region_expand)", { desc = "Expand Selection" }) | |
map("n", "<A-Down>", "<Plug>(expand_region_shrink)", { desc = "Shrink Selection" }) | |
map("v", "<A-Down>", "<Plug>(expand_region_shrink)", { desc = "Shrink Selection" }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment