Update telescope settings

feature/lua-configs
Alex Selimov 10 months ago
parent b0a6a21e28
commit 24a51b2e53

@ -8,7 +8,7 @@ Plug 'Vigemus/iron.nvim'
Plug 'tpope/vim-markdown' Plug 'tpope/vim-markdown'
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes' Plug 'vim-airline/vim-airline-themes'
Plug 'kien/ctrlp.vim' "Plug 'kien/ctrlp.vim'
Plug 'morhetz/gruvbox' Plug 'morhetz/gruvbox'
Plug 'skywind3000/asyncrun.vim' Plug 'skywind3000/asyncrun.vim'
Plug 'norcalli/nvim-colorizer.lua' Plug 'norcalli/nvim-colorizer.lua'
@ -169,8 +169,9 @@ set termguicolors
lua require'colorizer'.setup() lua require'colorizer'.setup()
"Set up telescope "Set up telescope
lua require('telescope_settings')
nnoremap <silent> <C-g> <cmd>Telescope live_grep<cr> nnoremap <silent> <C-g> <cmd>Telescope live_grep<cr>
nnoremap <silent> <C-f> <cmd> Telescope find_files<cr> nnoremap <silent> <C-f> <cmd> Telescope find_files shorten_path=true<cr>
" "
"Neomutt settings "Neomutt settings
autocmd BufNewFile,BufRead /tmp/neomutt* set noautoindent filetype=mail wm=0 tw=0 nonumber nolist autocmd BufNewFile,BufRead /tmp/neomutt* set noautoindent filetype=mail wm=0 tw=0 nonumber nolist

@ -1,9 +1,5 @@
local actions = require('telescope.actions')require('telescope').setup{ require('telescope').setup{
defaults = { defaults = {
mappings = { path_display={"smart"}
n = {
["q"] = actions.close
},
},
} }
} }

Loading…
Cancel
Save