| 
									
										
										
										
											2007-12-09 19:16:24 -05:00
										 |  |  | USING: io.backend io.files kernel math math.parser | 
					
						
							| 
									
										
										
										
											2008-01-13 12:58:29 -05:00
										 |  |  | namespaces sequences system combinators | 
					
						
							| 
									
										
										
										
											2008-09-12 11:36:00 -04:00
										 |  |  | editors.vim vocabs.loader make ;
 | 
					
						
							| 
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 |  |  | IN: editors.gvim | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-01-13 08:31:22 -05:00
										 |  |  | ! This code builds on the code in editors.vim; see there for | 
					
						
							|  |  |  | ! more information. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-06-14 05:11:30 -04:00
										 |  |  | SINGLETON: gvim | 
					
						
							| 
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-09-01 13:00:14 -04:00
										 |  |  | HOOK: gvim-path io-backend ( -- path )
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 |  |  | M: gvim vim-command ( file line -- string )
 | 
					
						
							| 
									
										
										
										
											2009-05-15 17:06:48 -04:00
										 |  |  |     [ | 
					
						
							|  |  |  |         gvim-path , | 
					
						
							|  |  |  |         number>string "+" prepend , , | 
					
						
							|  |  |  |     ] { } make ;
 | 
					
						
							| 
									
										
										
										
											2007-12-09 19:16:24 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-06-14 05:11:30 -04:00
										 |  |  | gvim vim-editor set-global
 | 
					
						
							| 
									
										
										
										
											2007-12-09 19:16:24 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-12-28 21:46:06 -05:00
										 |  |  | { | 
					
						
							| 
									
										
										
										
											2008-04-02 19:25:33 -04:00
										 |  |  |     { [ os unix? ] [ "editors.gvim.unix" ] } | 
					
						
							|  |  |  |     { [ os windows? ] [ "editors.gvim.windows" ] } | 
					
						
							| 
									
										
										
										
											2007-12-28 21:46:06 -05:00
										 |  |  | } cond require |