summaryrefslogtreecommitdiff
path: root/plug-config/coc.vim
diff options
context:
space:
mode:
authorChris <[email protected]>2020-04-27 01:44:22 -0400
committerChris <[email protected]>2020-04-27 01:44:22 -0400
commited9e2c2da67293ff72b47fdac2eecf49ac533f41 (patch)
tree3eae099ac7c38246e3258e11b9b48fa3b66dcbd2 /plug-config/coc.vim
parentb98a4a0f6dbf0e4c1340653708dec2b91953e4e0 (diff)
FZF
Diffstat (limited to 'plug-config/coc.vim')
-rw-r--r--plug-config/coc.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/plug-config/coc.vim b/plug-config/coc.vim
index 74999202..7f61bbe7 100644
--- a/plug-config/coc.vim
+++ b/plug-config/coc.vim
@@ -124,17 +124,17 @@ let g:coc_explorer_global_presets = {
\ 'floatingLeftside': {
\ 'position': 'floating',
\ 'floating-position': 'left-center',
-\ 'floating-width': 50,
+\ 'floating-width': 30,
\ },
\ 'floatingRightside': {
\ 'position': 'floating',
-\ 'floating-position': 'left-center',
-\ 'floating-width': 50,
+\ 'floating-position': 'right-center',
+\ 'floating-width': 30,
\ },
\ 'simplify': {
\ 'file.child.template': '[selection | clip | 1] [indent][icon | 1] [filename omitCenter 1]'
\ }
\ }
-nmap <space>e :CocCommand explorer<CR>
-nmap <space>f :CocCommand explorer --preset floating<CR>
+nmap <silent> <space>e :CocCommand explorer<CR>
+nmap <space>f :CocCommand explorer --preset floatingRightside<CR>
autocmd BufEnter * if (winnr("$") == 1 && &filetype == 'coc-explorer') | q | endif