diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-03-18 22:33:26 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-03-18 22:33:26 +0100 |
commit | 325d75531153da1a317e219f2e5da85abbe7ea48 (patch) | |
tree | 5f8dd4f5ed5e4167ecbfa89c0016b0c59cb0b5a4 /.config/nvim/lua | |
parent | e6fed655e18343e6e399e8198346466effe8c3a8 (diff) |
Fix telescope boarder
Diffstat (limited to '.config/nvim/lua')
-rw-r--r-- | .config/nvim/lua/_telescope/init.lua | 6 |
1 files changed, 5 insertions, 1 deletions
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', '<leader>ff', '<cmd>lua require("telescope.builtin").find_files()<cr>', { noremap = true, silent = true }) +vim.api.nvim_set_keymap('n', '<leader>fg', '<cmd>lua require("telescope.builtin").live_grep()<cr>', { noremap = true, silent = true }) +vim.api.nvim_set_keymap('n', '<leader>fb', '<cmd>lua require("telescope.builtin").buffers()<cr>', { noremap = true, silent = true }) +vim.api.nvim_set_keymap('n', '<leader>fh', '<cmd>lua require("telescope.builtin").help_tags()<cr>', { noremap = true, silent = true }) |