diff options
Diffstat (limited to 'Common/nvim/lua/plugins.lua')
-rwxr-xr-x | Common/nvim/lua/plugins.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Common/nvim/lua/plugins.lua b/Common/nvim/lua/plugins.lua index 65b7d05..e8b1409 100755 --- a/Common/nvim/lua/plugins.lua +++ b/Common/nvim/lua/plugins.lua @@ -80,9 +80,25 @@ return require('packer').startup(function(use) config = function() vim.cmd [[ let g:fzf_layout = { 'down': '40%' } + autocmd! FileType fzf autocmd FileType fzf set laststatus=0 noshowmode noruler \| autocmd BufLeave <buffer> set laststatus=2 showmode ruler + + let g:fzf_colors = + \ { 'fg': ['fg', 'Normal'], + \ 'bg': ['bg', 'Normal'], + \ 'hl': ['fg', 'Comment'], + \ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'], + \ 'bg+': ['bg', 'CursorLine', 'CursorColumn'], + \ 'hl+': ['fg', 'Statement'], + \ 'info': ['fg', 'PreProc'], + \ 'border': ['fg', 'Ignore'], + \ 'prompt': ['fg', 'Conditional'], + \ 'pointer': ['fg', 'Exception'], + \ 'marker': ['fg', 'Keyword'], + \ 'spinner': ['fg', 'Label'], + \ 'header': ['fg', 'Comment'] } ]] map("n", ";", ":Files<cr>", silentnoremap) map("n", "<leader>;", ":Rg<cr>", silentnoremap) |