mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
feat(nvim): FzfLua as Picker
This commit is contained in:
parent
c25d4ec182
commit
6eff59e387
3 changed files with 7 additions and 7 deletions
|
|
@ -1,2 +1,2 @@
|
||||||
-- Change the colorscheme here, use SPACE u i or :Telescope colorscheme to change colorscheme
|
-- Change the colorscheme here, use SPACE u i or :FzfLua colorscheme to change colorscheme
|
||||||
vim.cmd.colorscheme("catppuccin")
|
vim.cmd.colorscheme("catppuccin")
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ local leader_mappings = {
|
||||||
{ keys = "S", cmd = ":wall<CR>", opts = { desc = "Save All Files" } },
|
{ keys = "S", cmd = ":wall<CR>", opts = { desc = "Save All Files" } },
|
||||||
{ keys = "D", cmd = "!trash-rm %<CR>", opts = { desc = "Delete current file" } },
|
{ keys = "D", cmd = "!trash-rm %<CR>", opts = { desc = "Delete current file" } },
|
||||||
-- { keys = "t", cmd = ":NvimTreeFindFileToggle<CR>", opts = { desc = "Toggle File Tree" } },
|
-- { keys = "t", cmd = ":NvimTreeFindFileToggle<CR>", opts = { desc = "Toggle File Tree" } },
|
||||||
{ keys = "o", cmd = ":!open %<CR>", opts = { desc = "Open file in default program" } },
|
-- { keys = "o", cmd = ":!open %<CR>", opts = { desc = "Open file in default program" } },
|
||||||
{ keys = "R", cmd = renameCurrentBuffer, opts = { desc = "Rename current file" } },
|
{ keys = "R", cmd = renameCurrentBuffer, opts = { desc = "Rename current file" } },
|
||||||
{ keys = "x", cmd = ":Lazy<CR>", opts = { desc = "Open extension view" } },
|
{ keys = "x", cmd = ":Lazy<CR>", opts = { desc = "Open extension view" } },
|
||||||
{ keys = "yy", cmd = ":let @+ = expand('%:p')<CR>", opts = { desc = "Copy file path" } },
|
{ keys = "yy", cmd = ":let @+ = expand('%:p')<CR>", opts = { desc = "Copy file path" } },
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
local keymaps_modifier = {
|
local keymaps_modifier = {
|
||||||
-- Use C-w to move between windows
|
-- Use C-w to move between windows
|
||||||
{ keys = "<C-w>h", cmd = "<C-w>h", opts = { desc = "left Window" } },
|
{ keys = "<C-w>h", cmd = "<C-w>h", opts = { desc = "left Window" } },
|
||||||
{ keys = "<C-w>n", cmd = "<C-w>j", opts = { desc = "Down Window" } },
|
{ keys = "<C-w>n", cmd = "<C-w>j", opts = { desc = "Down Window" } },
|
||||||
{ keys = "<C-w>e", cmd = "<C-w>k", opts = { desc = "Up Window" } },
|
{ keys = "<C-w>e", cmd = "<C-w>k", opts = { desc = "Up Window" } },
|
||||||
{ keys = "<C-w>i", cmd = "<C-w>l", opts = { desc = "Right Window" } },
|
{ keys = "<C-w>i", cmd = "<C-w>l", opts = { desc = "Right Window" } },
|
||||||
{ keys = "<A-x>", cmd = "<Cmd>Telescope commands<CR>", opts = { desc = "Commands" } },
|
{ keys = "<A-x>", cmd = "<Cmd>FzfLua commands<CR>", opts = { desc = "Commands" } },
|
||||||
}
|
}
|
||||||
|
|
||||||
return keymaps_modifier
|
return keymaps_modifier
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue