[ Avaa Bypassed ]




Upload:

Command:

www-data@3.148.106.2: ~ $
<page xmlns="http://projectmallard.org/1.0/"
      type="topic" style="task"
      id="gedit-plugins-modelines">

<info>
  <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
  <revision pkgversion="3.8" date="2013-02-24" status="review"/>
  <credit type="author">
    <name>Daniel Neel</name>
    <email>dneelyep@gmail.com</email>
  </credit>
  <credit type="author">
    <name>Jim Campbell</name>
    <email>jcampbell@gnome.org</email>
  </credit>
  <desc>Emacs, Kate and Vim-style modelines support for gedit.</desc>
</info>

<title>Modelines</title>

  <p>The <app>Modelines</app> plugin allows <app>gedit</app> to analyze the
  lines of text at the start and end of a file, and then apply a set of
  document preferences to the file. The <app>Modelines</app> plugin supports a
  subset of the options used by the <app>Emacs</app>, <app>Kate</app> and
  <app>Vim</app> text editors.</p>

  <p>To enable the <app>Modelines</app> plugin, select <guiseq><gui style="menu">gedit</gui>
  <gui style="menuitem">Preferences</gui><gui>Plugins</gui><gui>Modelines</gui></guiseq>.</p>

<section id="modelines-general">
  <title>General Modeline Options</title>
  <p>The following options can be set using <app>gedit</app> modelines:</p>
  <list>
    <item><p>Tab width</p></item>
    <item><p>Indent width</p></item>
    <item><p>Inserting spaces instead of tabs</p></item>
    <item><p>Text Wrapping</p></item>
    <item><p>Right margin width</p></item>
  </list>

  <note>
    <p>Preferences set using modelines take precedence over the ones specified
    in the preference dialog.</p>
  </note>
</section>

<section id="modelines-emacs">
  <title>Emacs Modelines</title>

  <p>The first two lines of a document are scanned for <app>Emacs</app>
  modelines, and <app>gedit</app> supports the following <app>Emacs</app>
  modeline options:</p>
  <list>
    <item><p>Tab-width</p></item>
    <item><p>Indent-offset</p></item>
    <item><p>Indent-tabs-mode</p></item>
    <item><p>Text auto-wrap</p></item>
  </list>
  <p>For more information on <app>Emacs</app> modelines, visit the
  <link href="https://www.gnu.org/software/emacs/manual/emacs.html">GNU Emacs
  Manual</link>.</p>
</section>

<section id="modelines-kate">
  <title>Kate Modelines</title>

  <p>The first and last ten lines a document are scanned for <app>Kate</app>
  modelines, and <app>gedit</app> supports the following <app>Kate</app>
  modeline options:</p>

  <list>
    <item><p>tab-width</p></item>
    <item><p>indent-width</p></item>
    <item><p>space-indent</p></item>
    <item><p>word-wrap</p></item>
    <item><p>word-wrap-column</p></item>
  </list>

  <p>For more information about <app>Kate</app> modelines, visit the
  <link href="https://kate-editor.org/">Kate website</link>.</p>
</section>

<section id="modelines-vim">
  <title>Vim Modelines</title>
  <p>The first and last three lines a document are scanned for <app>Vim</app>
  modelines, and <app>gedit</app> supports the following <app>Vim</app>
  modeline options:</p>

  <list>
    <item><p>et (expandtab)</p></item>
    <item><p>ts (tabstop)</p></item>
    <item><p>sw (shiftwidth)</p></item>
    <item><p>wrap</p></item>
    <item><p>textwidth</p></item>
  </list>

  <p>For more information on <app>Vim</app> modelines, visit the
  <link href="https://www.vim.org/">Vim website</link>.</p>
</section>
</page>

Filemanager

Name Type Size Permission Actions
figures Folder 0755
gedit-change-color-scheme.page File 2.29 KB 0644
gedit-change-default-font.page File 1.5 KB 0644
gedit-close-file.page File 1.03 KB 0644
gedit-create-new-file.page File 1.2 KB 0644
gedit-edit-as-root.page File 1.39 KB 0644
gedit-files-basic.page File 817 B 0644
gedit-full-screen.page File 2.33 KB 0644
gedit-open-files-from-sidepane.page File 2.32 KB 0644
gedit-open-files.page File 1.96 KB 0644
gedit-open-on-server.page File 2.23 KB 0644
gedit-open-recent.page File 1.12 KB 0644
gedit-plugin-guide.page File 1.76 KB 0644
gedit-plugins-change-case.page File 1.9 KB 0644
gedit-plugins-doc-stats.page File 1.62 KB 0644
gedit-plugins-external-tools.page File 1.75 KB 0644
gedit-plugins-file-browser.page File 1.73 KB 0644
gedit-plugins-insert-date-time.page File 1.83 KB 0644
gedit-plugins-install.page File 2.58 KB 0644
gedit-plugins-modelines.page File 3.29 KB 0644
gedit-plugins-pyconsole.page File 1.21 KB 0644
gedit-plugins-quick-open.page File 2.61 KB 0644
gedit-plugins-snippets.page File 6.5 KB 0644
gedit-plugins-sort.page File 2.57 KB 0644
gedit-printing-order.page File 2.19 KB 0644
gedit-printing-select.page File 1.42 KB 0644
gedit-printing.page File 3.87 KB 0644
gedit-quickstart.page File 1.39 KB 0644
gedit-replace.page File 5.02 KB 0644
gedit-save-file.page File 1.3 KB 0644
gedit-search.page File 3.81 KB 0644
gedit-shortcut-keys.page File 12.92 KB 0644
gedit-spellcheck.page File 4.78 KB 0644
gedit-syntax-highlighting.page File 1.38 KB 0644
gedit-tab-groups.page File 3.49 KB 0644
gedit-tabs-moving.page File 3.5 KB 0644
gedit-tabs.page File 2.04 KB 0644
gedit-undo-recent-action.page File 1.26 KB 0644
index.page File 1.79 KB 0644
legal.xml File 288 B 0644