Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
VIM on the terminal
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="meltbanana314" data-source="post: 111419"><p>You're talking about syntax highlighting, right?</p><p></p><p>Open up your terminal, become a super user, then open up your .vimrc file and add these lines:</p><p></p><p>set nocompatible " vim>vi</p><p>syntax on " Enable syntax highlighting</p><p>filetype on " Enable filetype detection</p><p>filetype indent on " Enable filetype-specific indenting</p><p>filetype plugin on " Enable filetype-specific plugins</p><p></p><p>Then save and close the file, quit the terminal and then restart it.</p><p></p><p>EDIT: those are tabs after the words (before the quotation marks) but the stupid forum software truncated the lines.</p></blockquote><p></p>
[QUOTE="meltbanana314, post: 111419"] You're talking about syntax highlighting, right? Open up your terminal, become a super user, then open up your .vimrc file and add these lines: set nocompatible " vim>vi syntax on " Enable syntax highlighting filetype on " Enable filetype detection filetype indent on " Enable filetype-specific indenting filetype plugin on " Enable filetype-specific plugins Then save and close the file, quit the terminal and then restart it. EDIT: those are tabs after the words (before the quotation marks) but the stupid forum software truncated the lines. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
VIM on the terminal
Top