General :: Why VI Editor Highlighting All Text
Mar 31, 2011All of a sudden all the text in my vi editor is highlighted. I have no idea how this happened.
View 2 RepliesAll of a sudden all the text in my vi editor is highlighted. I have no idea how this happened.
View 2 RepliesOn 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]....
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 RelatedI was trying to install GTK+-2.8.20, so I installed it's necessary dependencies in this order:
pkg-config-0.23
glib-2.20.4
pango-1.24.4
jpeg library
tiff library
cairo
And I was about to install the last dependency: ATK (Accessability Toolkit).I opened the Archive Manager to extract the "atk-1.26.0.tar.gz" file (yes, I'm still switching from Windows so I'm fond of GUI), but I noticed all the text in that window was boxes, like the □ type box for every letter of text.So instead I thought it wouldn't be a big deal, because the terminal and regular windows weren't screwed up.I opened a text file in gedit (reference to commands in terminal, such as how to extract files via terminal), but yet again all of the text was □-like boxes.
On windows I really only used Notepad++ as my text editor, it had two features that I loved.What I need to accomplish is what I would do with Notepad++ column editor.I could have like 100 lines, and place the cursor at a column, and goto edit>column editor, and I could insert an incrementing number. (I could also pad the incrementing number with 0s, this was GREAT for making batch files among other things.)So each line at that column had a number higher than the previous line.The other feature that I used sometimes was a search/replace with regex patterns.Does anyone know of an editor that has those features for linux? I am mostly after the column editor insert feature but if you know of one with both features that would rock.
View 1 Replies View RelatedI 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.
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 RelatedI am really trying to find a cli/console text editor that can open/edit RTF text files? I know they them for Dindows, but what about Linux?
View 1 Replies View RelatedRecommend a good Linux text editor for Windows (if it exists), I wrote scripts for C-Shell using txt editor of windows but I have problem, it doesn't run because windows is not UNIX, what can I do? I don't want to install linux for a few scripts, I do testing of my scripts via unix server (this server is not mine), I treed dos2unix command, also doesn't work.
View 5 Replies View RelatedI was reading how you could browse the net with Emacs but then it was stated that it was done with another application like Firefox so this would imply that Emacs is an interpreter would it not? What is Emacs capable of? Is it an interpreter that runs a text editor?
View 11 Replies View RelatedCode:export EDITOR="nano" in ".zshrc". How do I use default text editor now?
View 1 Replies View Relatedre: lock file on an access database.i can see an .ldb file fine with windows notepad but cannot see the .ldb file in ubuntu's text editor. Its just messy text of symbols and letter. is there a way to view these files from ubuntu ?
View 13 Replies View RelatedHow can I change the default text editor for console programs in Ubuntu.When I run mutt and send a message, it currently loads up Joe and I would prefet to load Vim.I know I can change $EDITOR for me only, but would prefe to do it system wide.
View 2 Replies View Relatedplease let me know what are the commands I have to use & how to save a "OpenSuse Terminal text editor" once we have updated the file.
View 8 Replies View RelatedI'm looking for a light-weight text editor for general-purpose composition that can preserve indentations on wrapped lines.
View 3 Replies View RelatedIs there a simple text editor for Linux that will let you color or highlight text on demand? Something like gedit or leafpad with color? I know I can probably do this with vi or emacs, but I'm looking for something simple, need not be feature rich.
View 4 Replies View RelatedI need a lightweight GUI text editor on my Ubuntu Lucid system which lets me specify a Unicode code point (e.g. U+1234), and inserts that character to a UTF-8 text document. I know that gedit can't do it (not even with the Character Map plugin).
I'm not interested in solutions involving any kind of emacs or vi. I'm also not interested in text editors running in the terminal (such as joe, which has this functionality). I need the absolute simplest, smallest and fastest plain text editor for Linux which lets me type a few letters, insert a few characters by their code, type some more letters, and then save the .txt file as UTF-8-encoded.
Is there a way to make the background to an editor e.g. gedit transparent without affecting text's transparency? Is there any other program that supports this?
View 1 Replies View RelatedI am trying to copy paste from a file in Nano to a text editor outside of nano on my machine (I am running windows using Nano through Putty) and I cannot figure out how to do it. I can select with mouse support enabled everything that I want to in Nano and I can cut it, but when I try to copy into my other text editor, it does not work.
View 4 Replies View RelatedUsing ubuntu 9.10
If I'm in a terminal window, and I open a file by typing eg :
It opens as a blank document... I know it has text in it though!
I've tried with other files and also with nano so it's not just a problem with a particular file.
How do I view the current contents of the file so I can then edit it?
I'm looking for a text editor / log manager of some kind that will automatically refresh a file's contents when it changes.
I have a single target log file (e.g. current.log) that is overwritten under certain circumstances and I'd like to be able to leave it displayed and not constantly have to re-open the file to get updates. Much the same as 'tail --follow=name' does in Linux.
I'm using a Windows desktop but it's a remote file so a Linux app would work just as easily.
I have a server I can ssh into, and I am also running Ubuntu. How do I edit this remote file using any program I have installed on my local Ubuntu, without copying it to local, editing it, and copying it back?
View 4 Replies View RelatedIs there a native Linux application that facilitates/enforces semantically marked-up text in a common format (HTML, Markdown, etc.) with instant feedback of how it looks with "pretty" formatting?
I'm looking for something like (the rather brilliant) browser-based WMD, but with the following additional features code...
I would like to make Firefox view text files not in its internal editor, but in the external editor (namely EmacsClient).Is it possible to change this default behavior of Firefox?I beg your pardon for being inconcise, I'll try to state the matter once again. First thing to mention is that I use the Linux version of Firefox. That means that unlike the Windows version the contents of the application bindings dialog is very scarce.
When I click on the link to a text file (be it remote or local) by default Firefox opens it in the internal browser. I've tested, somehow it looks at file extension - when for example I make a file with .mpg extension, the behaviour is as it should be - the dialog with "Open With..." and stuff. When the file has unknown extension (unknown to /etc/mime.types), in my case it's .out, pure text format - the default behaviour is to open it in a Firefox window.
I'm trying to be able to Open a text editor without needing an existing file.This is my code:
case $ans in
"Show Today") echo "$(date)";;
"Show Calendar") cal;;
[code]...
Does any one know how can i input text by reading from a named pipe to any popular GUI based text editor?
View 5 Replies View Relatedi have been trying to find the nano or pine text editor for suse 10 64bit architecture but unable to find it and use it. i am not interested in vi editor. i have been using nano for fedora/RHEL for a long time. in finding rpm of nano/pico for suse 64bit architecture.
View 3 Replies View RelatedI just switched from Windows to Linux. I've been using EditPlus for many years mainly because of it's ability to save locally, and then send the file via FTP, with easy keyboard shortcuts (ctrl-s to save, ctrl-alt-s to ftp).
I also need syntax highlighting and basic code editing features. Is there anything for Linux that can do this? I don't want to run EditPlus via Wine
I need to save locally and remotely simultaneously, or at least with a few keystrokes. I already know of plenty of ways to edit remote files.
I am using Ubuntu and looking for a good editor to edit a file that is > 4GB. I just need to put content at the end and beginning of the file. I suppose I could use something like
cat "text to add" >> huge_file
To append to the file. Is that the route to go? What about prepending? In general, what is the best route if I wanted to edit somewhere in the middle?
I've tried VIM and it fails miserably. I assume emacs and nano would be even worse. What else is there? I assume to accomplish what I am looking for, the editor would have to be specifically designed for this by not keeping the entirety of the file's contents in memory.
I can set my EDITOR variable in my .bashrc to e.g. gedit, which is a nice graphical editor on ubuntu. But when I log in over PuTTY that editor will fail.What is the best way to detect if I'm logged in and can run a graphical editor, or not, and set EDITOR appropriately?
View 2 Replies View Related