summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2019-11-22 12:10:02 +0000
committerUrbain Vaes <urbain@vaes.uk>2019-11-22 12:10:02 +0000
commit804d60ef5fde79cd2dba942df4d4258af12a5499 (patch)
treef827363d9ae626d50672c46509bb0d3600e7de24 /vim/.vimrc
parentdb6b64e8a0429d1cdc15c0ccb56fa6d3b01be001 (diff)
Change background color of floating window
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc6
1 files changed, 5 insertions, 1 deletions
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 **/*<C-z><S-Tab>
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',