mirror of
				https://github.com/ItsDrike/dotfiles.git
				synced 2025-10-31 07:56:36 +00:00 
			
		
		
		
	Add coc-fzf plugin
This commit is contained in:
		
							parent
							
								
									cc7c8db10b
								
							
						
					
					
						commit
						ac438d1480
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -7,6 +7,7 @@ | |||
| " this is open to pull requests | ||||
| 
 | ||||
| Plug 'neoclide/coc.nvim', {'branch': 'release'} | ||||
| Plug 'antoinemadec/coc-fzf' | ||||
| 
 | ||||
| let g:coc_global_extensions = [ | ||||
|     \ 'coc-pyright', 'coc-json', 'coc-git', 'coc-html', 'coc-css', | ||||
|  | @ -15,6 +16,8 @@ let g:coc_global_extensions = [ | |||
|     \ 'coc-lua' | ||||
|     \ ] | ||||
| 
 | ||||
| nmap <leader>l :CocFzfList<cr> | ||||
| 
 | ||||
| " Use tab for trigger completion with characters ahead and navigate. | ||||
| " Use command ':verbose imap <tab>' to make sure tab is not mapped by other plugin. | ||||
| inoremap <silent><expr> <TAB> | ||||
|  | @ -63,7 +66,7 @@ nmap <leader>rn <Plug>(coc-rename) | |||
| xmap <leader>f  <Plug>(coc-format-selected) | ||||
| nmap <leader>f  <Plug>(coc-format-selected) | ||||
| 
 | ||||
| augroup mygroup | ||||
| augroup CocGroup | ||||
|     autocmd! | ||||
|     " Setup formatexpr specified filetype(s). | ||||
|     autocmd FileType typescript,json setl formatexpr=CocAction('formatSelected') | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue