OpenSUSE :: No Syntax Highlighting In Vim?

Jun 24, 2010

syntax on , is in ~/.vim file but still not syntax higlighting in vim a.cpp.Why?

View 3 Replies


ADVERTISEMENT

Debian :: Can't Get Work Terminal Syntax Highlighting

May 6, 2010

I can't get work terminal syntax highlighting for other users then root.To get the same result I've created /home/user/.bashrc and added the above options.I've also tried to override LS_OPTIONS in system-wide: /etc/bash.bashrc.In all cases is the highlighting working only for root.

View 1 Replies View Related

Fedora :: XEmacs Syntax Highlighting Does Not Work

Mar 30, 2011

I have installed FEDORA 14 in my machine. I am not able to have the syntax highlighting in the xemacs. I tried a file.f90 for a FORTRAN 90 program . I tried to flag the syntax highlighting in this buffer without success.
Code:
rpm -q xemacs
xemacs-21.5.29-15.fc14.x86_64

View 2 Replies View Related

General :: Enable Syntax Highlighting For .bash_aliases In Vim?

Aug 20, 2010

I'm working on reorganizing my .bashrc. I moved my aliases to .bash_aliases (which is sourced by .bashrc, but I can't figure out how to enable syntax highlighting for this file. vim seems unable to figure out what language the file is in. It works fine for .bashrc.

View 2 Replies View Related

Ubuntu :: Ruby / Rails Syntax Highlighting

Jun 8, 2010

The site that used to host the language spec file for .erb/.rhtml for ruby/rails syntax highlighting is no more.If someone could attach the file for gtksourceview-2.It's located in /usr/share/gtksourceview-2.0/ language-specs/ and probably called rhtml.lang

View 2 Replies View Related

Ubuntu :: Gedit Syntax Highlighting Not Working Under Home Dir

Nov 9, 2010

I've been battling with this weird problem for a while now and since I can't seem to find a decent answer I'm hoping one of you guys can steer me in the right direction. The problem is simple... syntax highlighting is not working consistently on ".rb" files.

My user name on my Ubuntu 10.04 LTS is jean-marc. So if I do
touch /home/jean-marc/testing.rb
and then
gedit /home/jean-marc/testing.rb
The file comes up as "Plain Text"

If I copy the file into /tmp/ and do gedit /tmp/testing.rb
the file comes up as "Ruby"
If I do
gedit /home/jean-marc/afile.rb
and the file does not exists the file comes up as "Ruby"

If I manually set the Syntax Highlight mode on my file gedit seems to remember it. Since most of the files are generated through scripting they all come as "Plain Text" and it's definitely not the best way to edit them. Also, the files, no matter where they are show up as "Ruby script (application/x-ruby)" when showing the attributes through nautilus. Now, before someone tells use, use this software or that software instead of gedit, well I'm happy with the tool and its plugins. I'm efficient with it and I'd rather stick to it.

View 4 Replies View Related

General :: Configuration File For Vi Or Vim Editor For Syntax Highlighting?

Sep 10, 2010

On this Red Hat Box that I am using there is no .vimrc file for the user root. So, I created one and entered only one line to highlight syntax with colors when I am writing scripts in PHP and Bash. But it is not working.

Code:
[root@localhost ~]# cat ~/.vimrc
syntax on

[code]....

View 6 Replies View Related

Slackware :: What Viewer To Use For Viewing Man Pages With Syntax Highlighting

Nov 30, 2010

Is there a utility or method enabling easier navigation (keyword search, hyperlink etc) or color/syntax highlighting when viewing man pages?

View 7 Replies View Related

Fedora :: Emacs: Set Syntax Highlighting For Unknown File Type

Mar 20, 2010

How can I tell emacs that a file type that it doesn't recognise should have the same syntax highlighting as one it does?

Xfig produces .pstex files which I want to be highlighted like .ps/.eps

View 2 Replies View Related

General :: Custom Syntax Highlighting In Bash Shell - Using Keywords

Apr 25, 2011

I know it's possible to change the $ user@hostname colors, but is it possible to color different things? Could I make all numbers/integers a certain color. Or set certain keywords to be bold?

View 1 Replies View Related

Ubuntu :: Changing Kate Syntax Highlighting (Font & Colors Schema)

Jan 10, 2010

I'm using a dark theme (Obsidian Coast) which is making things a pain to read using the default LaTeX syntax highlighting and color schema of Kate. I can edit the schema just fine, but that does not affect the colors of certain highlighting features, such as the color of expressions which fill in the ellipses of "section{...}", which turn out black or "egin{...}" which turn out dark blue.

Is there any way to fine-tune the highlighting features of a particular kind of markup (LaTeX in my case)?

View 5 Replies View Related

Ubuntu :: Fortran Syntax Highlighting And Code Folding Editor Wanted?

Jul 27, 2011

I am looking for a text editor that does 1) syntax highlighting2) code folding3) it would be a bonus if I could set which macros were defined and it would show me the source I have tried geany, and codeblocks. Both incorrectly code fold around preprocessor #ifdef and #endif. The gedit plugin doesn't seem to work at all

View 7 Replies View Related

Applications :: Printing Support (line Numbers - Syntax Highlighting - Multiple Columns Per Page - Customizable Fonts And Sizes) Not Available

Jun 17, 2010

I've been looking though different editors for one that has good printing support. Ideally it should be able to print C++ code with line numbers, syntax highlighting, multiple columns per page, customizable fonts and sizes and a print preview feature so that I can make sure it looks right before sending it to the printer. It appears that notepad++ had at least some of these features, but it is not available on linux. The best I could do so far is to copy/paste the output of 'cat -n foo.cpp' into oowriter and format it into two colums. I don't get synax highlighting though and I have to manually replace tabs with a few spaces as well as some excessive leading spaces before the line numbering.

View 1 Replies View Related

OpenSUSE :: Bracket Highlighting In Kile?

May 12, 2011

I have OpenSuse 11.4 with KDE 4.6.2 in my laptop. The version of Kile I am using is 2.0.86. I would like to change the bracket highlight color from Black to Yellow (In previous version of Kile it was yellow). I have found no option to change the bracket highlight color in settings -> configure kile. The documentation says that it is possible but does not mention how. Can anyone help me in this regard ?

View 3 Replies View Related

OpenSUSE :: Highlights All The Lines Beyond The First Terminal Appearance - Kill Highlighting?

Aug 3, 2010

I am pretty new to Suse Linux, coming from Sun Solaris. I have an issue with the "more" command. It highlights all the lines beyond the first terminal appearance; anyway I can kill this highlighting?

View 9 Replies View Related

General :: Can't Open File/abcd/configFiles/vim/syntax/syntax.vim?

Mar 7, 2011

When ever i open vim, i get the error that the following error: E484: Can't open file/abcd/configFiles/vim/syntax/syntax.vim There was a .vimrc file in my home folder that i have removed.

Still i keep getting the same error. Presently in my home folder there is no .gvimrc or .vimrc file.

But still i keep getting the same error. I am not too sure where this file is mentioned.

Background info: The SHELL has been changed from tcsh to bash Earlier i had created a .vimrc file in tcsh, i have removed the .vimrc in bash SHELL.

View 1 Replies View Related

General :: SUSE 10 Syslog-ng Syntax - Bash: Syntax Error Near Unexpected Token "("

Apr 20, 2011

I am a Novell (now defunct) CNE tring to learn Linux and am having a lot of trouble finding out where the WB 6-6 is wrong in the syntax for adding local4... the the syslog-ng config file. In the instructions there are discrepancies between commas and simi-comma, they are both in the statements in no particular order. there is no pattern to them. Here is what the book shows:

filter f_local4debug { level(debug) and facility(local4); };

When I try to input this in the Gnome terminal window to try and find out where it goes wrong I get the following: -bash: syntax error near unexpected token "(" If I can get the correct syntax I belive I can use the info to get past the rest of this portion of the lesson. I am desperate to learn Linux as the only jobs out there for a Novell CNE are migrations to MS, which really sucks, since MS really really sucks.

View 1 Replies View Related

General :: Why VI Editor Highlighting All Text

Mar 31, 2011

All of a sudden all the text in my vi editor is highlighted. I have no idea how this happened.

View 2 Replies View Related

Networking :: Mtr Results Highlighting / Flashing?

Dec 14, 2010

I've noticed that when running an mtr (my traceroute) that sometimes some of the hops would light up. It will flash for about half a second then return back to its normal colour.I've search the net, but have not yet found an explanation as to what it means.

View 1 Replies View Related

Ubuntu :: Open Office Highlighting Irritation?

Nov 9, 2010

When I highlight a line in an Open Office doc, I can't find a way to UN-highlight it. Am I missing something obvious

View 4 Replies View Related

Ubuntu :: KWord, No Highlighting Shown When Selecting Words (or Cursor)?

May 6, 2011

When I'm using KWord and I try to highlight text or even click to another line, it doesn't show the highlight or the cursor.I ran the program via Konsole and got the following output:

Code:
(Soprano::Redland::BackendPlugin) creating model of type "hashes" with options "hash-type='memory',contexts='yes'"

[code]...

View 1 Replies View Related

Ubuntu :: OpenOffice Highlighting-highlights Whole Paragraph Not Selected Text?

May 22, 2011

I have Open Office 3.2 with Ubuntu 10.04.When I select text-- a word, a few words-- and then click on highlight on the toolbar, it highlights the whole paragraph, rather than just the selected text. This is a new problem for me, before it seemed to be working fine.
I searched online but haven't been able to find anything about this problem. I had tried to install the sun version of Open Office a few months ago, but wasn't able to in the end: [URL] I saw that OpenOffice 3.3 is out, but I would rather not upgrade until Ubuntu puts out the upgrade.

View 9 Replies View Related

Ubuntu :: Can't Locate Okular's Stellar Highlighting / Annotation Tools

May 27, 2011

However, while okular seems (after lengthy evaluation) my preferred pdf viewer for READING. I still have yet to find a good application option for reading AND annotation and highlights.Where and how do I get to the okular annotation tools? Can't find them.Also, on a different, but somewhat related topic okular has been reviewed as problematic because its highlights and annotations can only be viewed in that application (this may not be a prob because cross-platform but that still seems risky to put highlights on doc only viewable in one app.looking for fixes/alternatives to that).

View 1 Replies View Related

Software :: Firefox - Text Boxes Automatically Highlighting Letters

Jul 11, 2010

I'm having a strange problem with Firefox. I like to tab through text boxes rather than clicking on each one. Problem is, I don't really know if it has anything to do with the tabbing honestly, but I'll type in the box I'll get one letter than it will highlight it all on its own and then obviously get replaced with the next letter I type. I can type one letter, press the forward arrow and type another letter then it automatically highlights the 2 letters, etc etc. I'm really not even sure how to stop it, I try clicking in the box and they doesn't seem to do anything. I'm running Ubuntu 10.04 with firefox 3.6.6.

View 2 Replies View Related

Ubuntu :: Empathy:voice Chat And Video Chat Option Not Highlighting?

Feb 15, 2010

empathy:voice chat and video chat option not highlighting. i am unable to use that facility to talk to my brother who lives abroad..

View 3 Replies View Related

Debian :: How To Set VIM (Highlight Syntax And So On)

Sep 24, 2010

I cannot find how to set VIM so that it higlight syntax (for exapmle bash scripts). I installed VIM package by using aptitude, but I dont have file .vimrc in my home directory. I found out that settings have to be written in this file. I can use command in VIM :"syntax on" but VIM shows syntax terrible. I think that is cause by some color setting.

View 12 Replies View Related

General :: Syntax For Find On Mac OS X

Mar 10, 2010

I have a project directory that contains source code and subdirectories of source code. I want to use the Unix program find to search recursively for the names of files of certain extensions. The versions of find on Linux and Mac OS X behave differently.

# Works in Linux
find . -type f -regex ".*.(py|html)$"
# Neither of these works in Mac OS X
find . -type f -regex ".*.(py|html)$"
find . -type f -regex ".*.(py|html)$"

How do I write this command so that it will run on Mac OS X (and hopefully on Linux too)?

View 2 Replies View Related

General :: Sed Syntax To Remove Xml

Mar 13, 2011

I'm trying to sanitize this output from it's metadata to plug this output into GreekTools, but I am getting stuck on sed.

View 2 Replies View Related

General :: Syntax Error In If Loop?

Mar 7, 2011

I have a requirement to check the following conditions..If my folders are not A and B then list files in the directory else no listing the filesso my if loop is some thing like this.

Code:
if [ $dirName = "C" && $dirName != "A" && != "B" ] then
ls -la

[code]....

View 1 Replies View Related

Fedora :: Syntax For Static IP Address?

Apr 3, 2011

In Windows Server 2008, I can configure a static IP address with the following syntax:Code:
netsh interface ipv4 set address="Local Area Connection" source=stati.10.10.11 55.255.255.0 10.10.10.1Besides editing a text file, is there a syntax I can run from terminal?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved