aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2021-08-22 18:53:44 +0300
committereug-vs <eugene@eug-vs.xyz>2021-08-22 18:53:44 +0300
commitca152830bb8b939ccfa02fe051a33c89c116824a (patch)
treeaa5cc8a19236f2246dbd4e9907bb8810a764d931
parent822f14a08dc31ef47fa73d4067cad6b3a4c4596c (diff)
downloaddotfiles-ca152830bb8b939ccfa02fe051a33c89c116824a.tar.gz
feat(nvim): show hidden files in Telescope
-rw-r--r--nvim/.config/nvim/init.vim4
-rw-r--r--nvim/.config/nvim/vim-plug/plugins.vim1
2 files changed, 3 insertions, 2 deletions
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim
index 503aec1..0837e82 100644
--- a/nvim/.config/nvim/init.vim
+++ b/nvim/.config/nvim/init.vim
@@ -34,7 +34,7 @@ set shiftwidth=2
set showtabline=2
" Colorscheme
-autocmd vimenter * ++nested colorscheme gruvbox
+colorscheme gruvbox
" Built-in fuzzy-finder
set path=.,**
@@ -60,7 +60,7 @@ nnoremap <leader>ev :vs $MYVIMRC<CR>
nnoremap <leader>sv :source $MYVIMRC<CR>
" Telescope
-nnoremap <Leader>f :Telescope find_files<CR>
+nnoremap <leader>f :Telescope find_files find_command=rg,--files,--iglob,!.git,--hidden<CR>
nnoremap <Leader>r :Telescope live_grep<CR>
" Plugin-specific configuration
diff --git a/nvim/.config/nvim/vim-plug/plugins.vim b/nvim/.config/nvim/vim-plug/plugins.vim
index 60c9f98..8e6d569 100644
--- a/nvim/.config/nvim/vim-plug/plugins.vim
+++ b/nvim/.config/nvim/vim-plug/plugins.vim
@@ -18,6 +18,7 @@ call plug#begin('~/.config/nvim/autoload/plugged')
" Telescope
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'
+ Plug 'kyazdani42/nvim-web-devicons'
" Misc
Plug 'christoomey/vim-tmux-navigator'
Plug 'editorconfig/editorconfig-vim'