Add telescope to neovim

This commit is contained in:
Jacob Hinkle 2022-11-14 12:52:33 -05:00
parent 1677e4e9eb
commit 0a9fa4fc03

View File

@ -18,6 +18,15 @@ pkgs: {
let mapleader = ','
map <leader>n :lnext<CR>
map <leader>p :lprev<CR>
" Find files using Telescope command-line sugar.
nnoremap <leader>e <cmd>Telescope find_files<cr>
nnoremap <leader>g <cmd>Telescope live_grep<cr>
nnoremap <leader>b <cmd>Telescope buffers<cr>
nnoremap <leader>h <cmd>Telescope help_tags<cr>
" temporary fix for broken popup menu colors
" see here: https://github.com/nvim-telescope/telescope.nvim/issues/2145
hi NormalFloat ctermfg=LightGrey
'';
plugins = with pkgs.vimPlugins; [
#context-vim
@ -25,8 +34,8 @@ pkgs: {
#fzf
#gundo
python-mode
#telescope-nvim
#telescope-fzf-native-nvim
telescope-nvim
telescope-fzf-native-nvim
#nvim-treesitter
vim-nix
];