aboutsummaryrefslogtreecommitdiff
path: root/telescope.lua
blob: 92453dac6b6b3c97b823c64ade6031f16d7d25e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
local telescope = require("telescope")
local actions = require("telescope.actions")
telescope.setup({
	defaults = {
		path_display = { "smart" },
		file_ignore_patterns = { ".git/" },
		mappings = {
			i = {
				["<down>"] = actions.cycle_history_next,
				["<up>"] = actions.cycle_history_prev,
				["<C-j>"] = actions.move_selection_next,
				["<C-k>"] = actions.move_selection_previous,
			}
		}
	}
})