From 325d75531153da1a317e219f2e5da85abbe7ea48 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 18 Mar 2021 22:33:26 +0100 Subject: Fix telescope boarder --- .config/nvim/lua/_telescope/init.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.config/nvim/lua') diff --git a/.config/nvim/lua/_telescope/init.lua b/.config/nvim/lua/_telescope/init.lua index 3d6df8e..416419f 100644 --- a/.config/nvim/lua/_telescope/init.lua +++ b/.config/nvim/lua/_telescope/init.lua @@ -25,7 +25,7 @@ require('telescope').setup { results_height = 1, results_width = 0.8, border = {}, - borderchars = {'─', '│', '─', '│', '╭', '╮', '╯', '╰'}, + borderchars = {"─", "│", "─", "│", "┌", "┐", "┘", "└"}, color_devicons = true, use_less = true, set_env = {['COLORTERM'] = 'truecolor'}, -- default = nil, @@ -71,3 +71,7 @@ require('telescope').setup { } } } +vim.api.nvim_set_keymap('n', 'ff', 'lua require("telescope.builtin").find_files()', { noremap = true, silent = true }) +vim.api.nvim_set_keymap('n', 'fg', 'lua require("telescope.builtin").live_grep()', { noremap = true, silent = true }) +vim.api.nvim_set_keymap('n', 'fb', 'lua require("telescope.builtin").buffers()', { noremap = true, silent = true }) +vim.api.nvim_set_keymap('n', 'fh', 'lua require("telescope.builtin").help_tags()', { noremap = true, silent = true }) -- cgit v1.2.3-70-g09d2