Wikia

Vim Tips Wiki

Changes: Script:2428

Edit

Back to page

(adjust Template:ScriptComments to remove id as no longer needed; minor tweaks)
(Change <tt> to <code>, perhaps also minor tweak.)
 
Line 2: Line 2:
   
 
==Fix for Linux==
 
==Fix for Linux==
The 2.0.0 version of the script does not work on Unix-based systems because it uses CRLF line endings (DOS file format) which cause errors like {{tt|E492: Not an editor command: ^M}}.
+
The 2.0.0 version of the script does not work on Unix-based systems because it uses CRLF line endings (DOS file format) which cause errors like <code>E492: Not an editor command: ^M</code>.
   
To fix, unzip the script and use the advice at [[file format]] (or use <tt>dos2unix</tt>) to fix the line endings.
+
To fix, unzip the script and use the advice at [[file format]] (or use <code>dos2unix</code>) to fix the line endings.
   
 
==Comments==
 
==Comments==

Latest revision as of 09:45, July 14, 2012

Use this page to discuss script 2428 LineCommenter: toggle comment/uncomment of current line

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Fix for LinuxEdit

The 2.0.0 version of the script does not work on Unix-based systems because it uses CRLF line endings (DOS file format) which cause errors like E492: Not an editor command: ^M.

To fix, unzip the script and use the advice at file format (or use dos2unix) to fix the line endings.

CommentsEdit

Around Wikia's network

Random Wiki