mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 23:08:01 +00:00
[neovim] telescope tunning
This commit is contained in:
parent
2a9ea0af68
commit
ae25771e56
@ -1,19 +1,11 @@
|
|||||||
local colorscheme = "tokyonight"
|
local colorscheme = "tokyonight"
|
||||||
|
|
||||||
-- if colorscheme == "nightfox" then
|
require("tokyonight").setup({
|
||||||
-- local status_nf_ok, nightfox = pcall(require, "nightfox")
|
styles = {
|
||||||
-- if not status_nf_ok then
|
sidebars = "normal",
|
||||||
-- return
|
floats = "normal",
|
||||||
-- end
|
},
|
||||||
--
|
})
|
||||||
-- local palettes = {
|
|
||||||
-- nightfox = {
|
|
||||||
-- bg1 = "#24283b",
|
|
||||||
-- },
|
|
||||||
-- }
|
|
||||||
--
|
|
||||||
-- nightfox.setup({ palettes = palettes })
|
|
||||||
-- end
|
|
||||||
|
|
||||||
local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
|
local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
|
||||||
if not status_ok then
|
if not status_ok then
|
||||||
|
@ -70,6 +70,7 @@ keymap("n", "<leader>ff", ":Telescope find_files<CR>", opts)
|
|||||||
keymap("n", "<C-p>", ":Telescope find_files<CR>", opts)
|
keymap("n", "<C-p>", ":Telescope find_files<CR>", opts)
|
||||||
keymap("n", "<leader>fg", ":Telescope live_grep<CR>", opts)
|
keymap("n", "<leader>fg", ":Telescope live_grep<CR>", opts)
|
||||||
keymap("n", "<leader>fb", ":Telescope buffers<CR>", opts)
|
keymap("n", "<leader>fb", ":Telescope buffers<CR>", opts)
|
||||||
|
keymap("n", "<leader>fc", ":Telescope commands<CR>", opts)
|
||||||
|
|
||||||
-- Comment
|
-- Comment
|
||||||
keymap("n", "<leader>/", "<cmd>lua require('Comment.api').toggle.linewise.current()<CR>", opts)
|
keymap("n", "<leader>/", "<cmd>lua require('Comment.api').toggle.linewise.current()<CR>", opts)
|
||||||
|
@ -14,10 +14,10 @@ telescope.setup({
|
|||||||
|
|
||||||
mappings = {
|
mappings = {
|
||||||
i = {
|
i = {
|
||||||
["<Down>"] = actions.cycle_history_next,
|
["<C-j>"] = actions.cycle_history_next,
|
||||||
["<Up>"] = actions.cycle_history_prev,
|
["<C-k>"] = actions.cycle_history_prev,
|
||||||
["<C-j>"] = actions.move_selection_next,
|
["<Down>"] = actions.move_selection_next,
|
||||||
["<C-k>"] = actions.move_selection_previous,
|
["<Up>"] = actions.move_selection_previous,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user