mirror of
				https://github.com/akelge/vim
				synced 2025-11-04 15:24:23 +00:00 
			
		
		
		
	Moved templates and airline customizations in vimrc
This commit is contained in:
		
							
								
								
									
										32
									
								
								vimrc
									
									
									
									
									
								
							
							
						
						
									
										32
									
								
								vimrc
									
									
									
									
									
								
							@ -206,7 +206,37 @@ let g:pandoc#command#custom_open = "MyPandocOpen"
 | 
				
			|||||||
function! MyPandocOpen(file)
 | 
					function! MyPandocOpen(file)
 | 
				
			||||||
    return "open ". a:file
 | 
					    return "open ". a:file
 | 
				
			||||||
endfunction
 | 
					endfunction
 | 
				
			||||||
"
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" """""""""""""""""
 | 
				
			||||||
 | 
					" Templates
 | 
				
			||||||
 | 
					" """""""""""""""""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					let g:templates_directory=[$HOME.'/.vim/myTemplates']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" """""""""""""""""
 | 
				
			||||||
 | 
					" Airline customizations
 | 
				
			||||||
 | 
					" """""""""""""""""
 | 
				
			||||||
 | 
					let g:airline#extensions#capslock#enabled = 1
 | 
				
			||||||
 | 
					let g:airline#extensions#branch#use_vcscommand = 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if !exists('g:airline_symbols')
 | 
				
			||||||
 | 
					    let g:airline_symbols = {}
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" unicode symbols
 | 
				
			||||||
 | 
					let g:airline_left_sep = '»'
 | 
				
			||||||
 | 
					let g:airline_left_sep = '▶'
 | 
				
			||||||
 | 
					let g:airline_right_sep = '«'
 | 
				
			||||||
 | 
					let g:airline_right_sep = '◀'
 | 
				
			||||||
 | 
					let g:airline_symbols.linenr = '␊'
 | 
				
			||||||
 | 
					let g:airline_symbols.linenr = ''
 | 
				
			||||||
 | 
					let g:airline_symbols.linenr = '¶'
 | 
				
			||||||
 | 
					let g:airline_symbols.branch = '⎇'
 | 
				
			||||||
 | 
					let g:airline_symbols.paste = 'ρ'
 | 
				
			||||||
 | 
					let g:airline_symbols.paste = 'Þ'
 | 
				
			||||||
 | 
					let g:airline_symbols.paste = '∥'
 | 
				
			||||||
 | 
					let g:airline_symbols.whitespace = 'Ξ'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" """""""""""
 | 
					" """""""""""
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user