From 7e8b21e8bf02f82dbf99c0c2ad2d7f04931a128e Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 22 Nov 2019 12:10:02 +0000 Subject: Change background color of floating window --- vim/.vimrc | 6 +++++- xinit/.xinitrc | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/vim/.vimrc b/vim/.vimrc index b1af11e..b4e5cea 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -558,9 +558,10 @@ nnoremap ,e :e **/* let $FZF_DEFAULT_OPTS='--layout=reverse' let g:fzf_layout = { 'window': 'call FloatingFZF()' } +hi Pmenu ctermfg=3 ctermbg=239 function! FloatingFZF() let buf = nvim_create_buf(v:false, v:true) - call setbufvar(buf, '&signcolumn', 'no') + call setbufvar(buf, '&laststatus', '1') let height = &lines - 10 let width = float2nr(&columns - (&columns * 2 / 10)) @@ -577,6 +578,9 @@ function! FloatingFZF() call nvim_open_win(buf, v:true, opts) endfunction +" hi Pmenu ctermfg=3 ctermbg=239 +" let g:remembrall_window = 'call FloatingFZF()' + " if !exists('g:lsp_config_sourced') " call lsp#add_filetype_config({ " \ 'filetype': 'python', diff --git a/xinit/.xinitrc b/xinit/.xinitrc index 20b5aee..c779d25 100755 --- a/xinit/.xinitrc +++ b/xinit/.xinitrc @@ -17,6 +17,9 @@ feh --bg-fill /home/urbain/Documents/wallpapers/pagoda.jpg xset -dpms xset s off +# Disable bell +xset -b + # SSH agent eval $(ssh-agent) -- cgit v1.2.3