new: nvim: H, L for gT, gt
This commit is contained in:
parent
56a5ab4dbb
commit
18107e2a1b
1 changed files with 5 additions and 2 deletions
|
@ -200,6 +200,9 @@ vim.opt.undofile = true -- Save undo history
|
||||||
vim.o.completeopt = 'menuone,noselect' -- for better completion experience
|
vim.o.completeopt = 'menuone,noselect' -- for better completion experience
|
||||||
vim.o.termguicolors = true
|
vim.o.termguicolors = true
|
||||||
|
|
||||||
|
vim.keymap.set('n', 'H', '<cmd>tabp<cr>', { desc = 'tab previous' })
|
||||||
|
vim.keymap.set('n', 'L', '<cmd>tabn<cr>', { desc = 'tab next' })
|
||||||
|
|
||||||
-- color scheme
|
-- color scheme
|
||||||
require('catppuccin').setup({
|
require('catppuccin').setup({
|
||||||
transparent_background = true,
|
transparent_background = true,
|
||||||
|
@ -322,7 +325,7 @@ require('lualine_setup')
|
||||||
-- telescope
|
-- telescope
|
||||||
local builtin = require('telescope.builtin')
|
local builtin = require('telescope.builtin')
|
||||||
vim.keymap.set('n', '<c-P>', function() builtin.find_files { sort_lastused = true } end) -- fd?
|
vim.keymap.set('n', '<c-P>', function() builtin.find_files { sort_lastused = true } end) -- fd?
|
||||||
vim.keymap.set('n', '<leader>ff', function() builtin.find_files { sort_lastused = true } end, { desc = "find files"})
|
vim.keymap.set('n', '<leader>ff', function() builtin.find_files { sort_lastused = true } end, { desc = "find files" })
|
||||||
vim.keymap.set('n', '<leader>fw', builtin.lsp_workspace_symbols, { desc = "lsp workspace symbols" })
|
vim.keymap.set('n', '<leader>fw', builtin.lsp_workspace_symbols, { desc = "lsp workspace symbols" })
|
||||||
vim.keymap.set('n', '<leader>fd', builtin.lsp_document_symbols, { desc = "lsp document symbols" })
|
vim.keymap.set('n', '<leader>fd', builtin.lsp_document_symbols, { desc = "lsp document symbols" })
|
||||||
vim.keymap.set('n', '<leader>fb', builtin.buffers, { desc = "buffers" })
|
vim.keymap.set('n', '<leader>fb', builtin.buffers, { desc = "buffers" })
|
||||||
|
|
Loading…
Reference in a new issue