Added integrated terminal support
This commit is contained in:
		@@ -12,8 +12,10 @@ Plug 'neoclide/coc.nvim', {'branch': 'release'} " code completion
 | 
				
			|||||||
call plug#end()
 | 
					call plug#end()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" =============== Vannila vim config ================================================
 | 
					" =============== Vannila vim config ================================================
 | 
				
			||||||
 | 
					let mapleader = "\\"
 | 
				
			||||||
 | 
					:set splitbelow
 | 
				
			||||||
:set clipboard=unnamedplus
 | 
					:set clipboard=unnamedplus
 | 
				
			||||||
:set relativenumber 
 | 
					:set number relativenumber 
 | 
				
			||||||
:windo set nowrap 
 | 
					:windo set nowrap 
 | 
				
			||||||
:set showcmd
 | 
					:set showcmd
 | 
				
			||||||
:set mouse=a
 | 
					:set mouse=a
 | 
				
			||||||
@@ -22,13 +24,22 @@ call plug#end()
 | 
				
			|||||||
:set updatetime=250
 | 
					:set updatetime=250
 | 
				
			||||||
:set tabstop=4 shiftwidth=4 smarttab
 | 
					:set tabstop=4 shiftwidth=4 smarttab
 | 
				
			||||||
:highlight Comment ctermfg=Grey
 | 
					:highlight Comment ctermfg=Grey
 | 
				
			||||||
" =============== Colors ====================
 | 
					nnoremap <silent> <leader>p :split +term <CR>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" =============== NERDTree ================================================
 | 
				
			||||||
 | 
					" Toggle file browser
 | 
				
			||||||
 | 
					nnoremap <silent> <leader>e :NERDTreeToggle<CR>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" =============== Colors ================================================
 | 
				
			||||||
let g:onedark_config = {
 | 
					let g:onedark_config = {
 | 
				
			||||||
	\ 'style': 'warmer',
 | 
						\ 'style': 'warmer',
 | 
				
			||||||
\}
 | 
					\}
 | 
				
			||||||
colorscheme onedark
 | 
					colorscheme onedark
 | 
				
			||||||
:hi CocFloating 		guifg=clear 	guibg=#151515
 | 
					:hi CocFloating 		guibg=#151515	guifg=clear 	
 | 
				
			||||||
:hi Pmenu 				guibg=#151515 	guifg=clear
 | 
					:hi Pmenu 				guibg=#151515 	guifg=clear
 | 
				
			||||||
 | 
					:hi @parameter 							guifg=#ed6215
 | 
				
			||||||
 | 
					:hi CursorColumn 		guibg=#e2c792 	guifg=#232326 
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
" =============== NERDTree Config ================================================
 | 
					" =============== NERDTree Config ================================================
 | 
				
			||||||
:let NERDTreeShowHidden=1
 | 
					:let NERDTreeShowHidden=1
 | 
				
			||||||
@@ -53,10 +64,7 @@ endfunction
 | 
				
			|||||||
autocmd CursorHold * silent call CocActionAsync('highlight')
 | 
					autocmd CursorHold * silent call CocActionAsync('highlight')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" coc rename
 | 
					" coc rename
 | 
				
			||||||
nnoremap <silent> rr <Plug>(coc-rename)
 | 
					nnoremap <silent> <leader>r <Plug>(coc-rename)
 | 
				
			||||||
" Toggle file browser
 | 
					 | 
				
			||||||
nnoremap <C-e> :NERDTreeToggle<CR>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
" Jump between references and definiton 
 | 
					" Jump between references and definiton 
 | 
				
			||||||
nnoremap <silent> <C-k> :call CocActionAsync('jumpReferences')<CR>
 | 
					nnoremap <silent> <C-k> :call CocActionAsync('jumpReferences')<CR>
 | 
				
			||||||
nnoremap <silent> K :call CocActionAsync('jumpDefinition')<CR>
 | 
					nnoremap <silent> K :call CocActionAsync('jumpDefinition')<CR>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user