Blame help/da/commander.page

Packit 6978fb
Packit 6978fb
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="plugin-commander" xml:lang="da">
Packit 6978fb
Packit 6978fb
  <info>
Packit 6978fb
    <link type="guide" xref="gedit-plugin-guide#gedit-additional-plugins"/> 
Packit 6978fb
    <revision version="3.4" date="2013-02-24" status="review"/>
Packit 6978fb
Packit 6978fb
    <credit type="author">
Packit 6978fb
      <name>Jim Campbell</name>
Packit 6978fb
      <email its:translate="no">jwcampbell@gmail.com</email>
Packit 6978fb
    </credit>
Packit 6978fb
Packit 6978fb
    <desc>Use a command-line interface for advanced editing.</desc>
Packit 6978fb
  </info>
Packit 6978fb
Packit 6978fb
  <title>Commander</title>
Packit 6978fb
Packit 6978fb
  

The <app>Commander</app> plugin is a plugin for advanced <app>gedit</app>

Packit 6978fb
  users that allows you to perform command-line actions on the current file. To
Packit 6978fb
  enable the commander plugin, select
Packit 6978fb
  <guiseq><gui style="menu">gedit</gui><gui style="menuitem">Preferences</gui>
Packit 6978fb
  <gui>Plugins</gui><gui>Commander</gui></guiseq>.

Packit 6978fb
Packit 6978fb
  

Once you have enabled the plugin, activate it by pressing

Packit 6978fb
  <keyseq><key>Ctrl</key><key>.</key></keyseq>.

Packit 6978fb
  
Packit 6978fb
  <note style="tip">
Packit 6978fb
    

The last key in the above key combination is a period.

Packit 6978fb
  </note>
Packit 6978fb
Packit 6978fb
  
Packit 6978fb
    
Packit 6978fb
      
Packit 6978fb
        

Handling

Packit 6978fb
	

Keyboard shortcut

Packit 6978fb
      
Packit 6978fb
    
Packit 6978fb
    
Packit 6978fb
      
Packit 6978fb
        

See an overview of available commands

Packit 6978fb
	

<keyseq><key>Tab</key><key>Tab</key></keyseq>

Packit 6978fb
      
Packit 6978fb
      
Packit 6978fb
        

Find a word within the current file

Packit 6978fb
	
Packit 6978fb
	  

<key>/</key> <input>foo</input>

Packit 6978fb
          

This will find the word <input>foo</input>.

Packit 6978fb
	
Packit 6978fb
      
Packit 6978fb
      
Packit 6978fb
        

Replace a word within the current file

Packit 6978fb
	
Packit 6978fb
	  

<keyseq><key>/</key><key>/</key></keyseq>

Packit 6978fb
	  <input>foo bar</input>

Packit 6978fb
          

This will replace <input>foo</input> with

Packit 6978fb
	  <input>bar</input>.

Packit 6978fb
	
Packit 6978fb
      
Packit 6978fb
      
Packit 6978fb
        

Move the cursor to a certain line number in your file

Packit 6978fb
        
Packit 6978fb
	  

go <input>[line number]</input> or just <key>G</key>

Packit 6978fb
	  <input>[line number]</input>

Packit 6978fb
        
Packit 6978fb
      
Packit 6978fb
      
Packit 6978fb
        

Toggle the bookmark indicator for the current line

Packit 6978fb
        

bookmark or just <key>B</key>

Packit 6978fb
      
Packit 6978fb
    
Packit 6978fb
  
Packit 6978fb
  
Packit 6978fb
  <note style="tip">
Packit 6978fb
    

Some commands, such as the <app>bookmark</app> command require that the

Packit 6978fb
    appropriate plugin be installed and activated. If you do not have the
Packit 6978fb
    appropriate plugin installed and activated, you will receive an error
Packit 6978fb
    message.

Packit 6978fb
  </note>
Packit 6978fb
Packit 6978fb
</page>