| 
									
										
										
										
											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 | 
					
						
							|  |  |  | editors.vim editors.gvim.backend vocabs.loader ;
 | 
					
						
							| 
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 |  |  | IN: editors.gvim | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | TUPLE: gvim ;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | M: gvim vim-command ( file line -- string )
 | 
					
						
							| 
									
										
										
										
											2007-12-09 19:16:24 -05:00
										 |  |  |     [ "\"" % gvim-path % "\" \"" % swap % "\" +" % # ] "" make ;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | t vim-detach set-global ! don't block the ui | 
					
						
							| 
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | T{ gvim } vim-editor set-global
 | 
					
						
							| 
									
										
										
										
											2007-12-09 19:16:24 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-12-28 21:46:06 -05:00
										 |  |  | { | 
					
						
							|  |  |  |     { [ unix? ] [ "editors.gvim.unix" ] } | 
					
						
							|  |  |  |     { [ windows? ] [ "editors.gvim.windows" ] } | 
					
						
							|  |  |  | } cond require |