[Keybinds] Add tab keybinds
This commit is contained in:
		| @@ -19,7 +19,13 @@ keymap.set("v", "<", "<gv", { noremap = true, silent = true }) | ||||
| keymap.set("v", ">", ">gv", { noremap = true, silent = true }) | ||||
|  | ||||
| -- Tabs | ||||
| keymap.set("n", "<C-t>", ":tabnew<CR>", opts("open new tab")) | ||||
| keymap.set("n", "<C-t>n", ":tabnew<CR>", opts("open new tab")) | ||||
| keymap.set("n", "<C-t>j", ":-tabnext<CR>", opts("Go to previous tab")) | ||||
| keymap.set("n", "<C-t>k", ":+tabnext<CR>", opts("Go to next tab")) | ||||
| keymap.set("n", "<C-t>l", ":+tabnext<CR>", opts("Go to next tab")) | ||||
| keymap.set("n", "<C-t>h", ":-tabnext<CR>", opts("Go to previous tab")) | ||||
| keymap.set("n", "<C-t>0", ":1tabnext<CR>", opts("Go to previous tab")) | ||||
| keymap.set("n", "<C-t>$", ":$tabnext<CR>", opts("Go to previous tab")) | ||||
|  | ||||
| -- Save and quit (sudo and no sudo) | ||||
| keymap.set("n", "E", ":wq!<CR>", opts("write and quit file")) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user