Adding vim stuff
This commit is contained in:
		
							
								
								
									
										18
									
								
								vimrc
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								vimrc
									
									
									
									
									
								
							| @ -1,6 +1,6 @@ | ||||
| "python executing | ||||
| autocmd BufWritePost *.py map <F11> <ESC>:!clear && python & read<CR> | ||||
| autocmd BufWritePost *.py map <F12> <ESC>:!clear && python % & read<CR>  | ||||
| autocmd BufWritePost *.py map <F11> <ESC>:vert term python -i %<CR> | ||||
| autocmd BufWritePost *.py map <F12> <ESC>:vert term python %<CR>  | ||||
|  | ||||
| " autocmd FileType python set sw=4 | ||||
| " autocmd FileType python set ts=4 | ||||
| @ -9,16 +9,16 @@ autocmd BufWritePost *.py map <F12> <ESC>:!clear && python % & read<CR> | ||||
| " let g:AutoPairsMapCR = 0 "Workaround for 27_AutoPairsReturn | ||||
| " imap <silent><CR> <CR><Plug>AutoPairsReturn | ||||
|  | ||||
| noremap <c-w>v :vsplit .<cr>  | ||||
| noremap <c-w>s :split .<cr>  | ||||
| nnoremap <C-p> :GFiles<CR> | ||||
| nnoremap <C-g> :Ag<CR> | ||||
|  | ||||
| let python_highlight_all=1 | ||||
| let g:pymode_python = 'python3' | ||||
| let g:pymode_options_max_line_length = 120 | ||||
| " let g:ctrlp_cmd = 'CtrlPTag' | ||||
|  | ||||
| nnoremap <c-p> <plug>(YCMFindSymbolInDirectory) | ||||
| nnoremap <c-P> <plug>(YCMFindSymbolInWorkspace) | ||||
| " nnoremap <c-p> <plug>(YCMFindSymbolInDirectory) | ||||
| " nnoremap <c-P> <plug>(YCMFindSymbolInWorkspace) | ||||
|  | ||||
| "Documentation | ||||
| nnoremap K :execute 'vert term' &keywordprg '<cexpr>'<cr> | ||||
| @ -76,7 +76,7 @@ Plugin 'mhinz/vim-startify'		"start screen | ||||
| Plugin 'lilydjwg/colorizer'		"color hexcode | ||||
| Plugin 'jiangmiao/auto-pairs'		"auto Pair Brackets | ||||
| Plugin 'Yggdroot/indentLine'		"show indent | ||||
| Plugin 'preservim/nerdtree'		"Directory Visulaliser :Nerdtree | ||||
| " Plugin 'preservim/nerdtree'		"Directory Visulaliser :Nerdtree | ||||
|  | ||||
| "useful in multiple languages | ||||
| Plugin 'SirVer/ultisnips'		"fast write | ||||
| @ -93,6 +93,7 @@ Plugin 'ycm-core/YouCompleteMe'		"completion tool | ||||
|  | ||||
| "git | ||||
| Plugin 'mhinz/vim-signify'		"git diff show | ||||
| Plugin 'tpope/vim-fugitive'		"for the :Git <command> | ||||
|  | ||||
| "php | ||||
| " Plugin 'StanAngeloff/php.vim'		"php syntax | ||||
| @ -130,6 +131,9 @@ Plugin 'tikhomirov/vim-glsl' | ||||
|  | ||||
| Plugin 'hdiniz/vim-gradle' | ||||
|  | ||||
| Plugin 'junegunn/fzf', {'do': { -> fzf#install() }} | ||||
| Plugin 'junegunn/fzf.vim' | ||||
|  | ||||
| call vundle#end() | ||||
|  | ||||
| filetype plugin indent on | ||||
|  | ||||
		Reference in New Issue
	
	Block a user