Ubuntu :: Text Editor Column Editor And Regex Search/replace, Incrementing Number Insert?
Jul 25, 2011
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.
I 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.
i was wondering if in all the editors/tools in linux, if there was a prog that can extract a portion of a text file, giving it a starting line of say o as the first character on a line of say o35565 oxxxxx then when it finds the next line down the file with the same thing oxxxxwhatever
it could take those lines and all the lines between them and save it to another file? i dont know if you call this parsing? or what.
As indicated in the subject, I want to search a text. If the text is present I want to replace it. But if the text is not present, I want to insert it after first line and before last line.
I'm fairly comfortable with emacs but I can't seem to find how to do this. I deal with a lot of text files and find myself performing a lot of regular expression replacements to correct the formatting of the text -- or to extract certain tidbits of data from large ugly-looking files.
I know how to perform a regular expression replacement in one buffer at a time. But how do you perform a regular expression search and replace across all open buffers? I have found a method to perform a regex search and replace across a directory by marking files but I need to do it in the open buffers.
I'm looking for a simple text editor which could highlight all occurrences of search term in the opened text file. This is a feature that I particularly like in the Windows Notepad++ editor where any selected word is automatically highlighted in the rest of the document.
Is 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.
I am trying to construct a quick regex that will search for six lines of text without a clear line break between them. It only needs to search, not replace, as I will be using in gEdit (with regex plugin) anyway.
It's for editing subtitle files. The video player I will be using them on can only cope with 3-line subtitles, so I just need to edit any in the srt file that contain four or more. There won't be many so I can do it manually. For example:
26 00:01:47,357 --> 00:01:49,359 a motivated business professional with clearly defined goals.
[Code].....
but .* seems to mean "any character, or none", so that doesn't work. My experience of regular expressions is limited, but I do know they are very powerful when used correctly!
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.
I am using Vi editor for editing and configuring my file.I am facing a little problem when there is long file like 3000 lines. Normally i use
Code:
:set number
in vi editor to visible my line number.The problem is when i have to go in the top of the file like say line number one I use k for it and to move down I use j which is too much time consuming. How can i jump directly my cursor to line number 2333 or line number 2600.
I have a few items in the Menu that refer to the start scripts of extracted Java programs that came as tarballs.Go into the Menu Editor and rename one of these (e.g. to reflect an updated version)Save - Message says "Updating System Configuration"Browse using Lancelot - the old name is not there but the new one is.Search using Lancelot - the new name is not there but the old one is.The new name is only in the search after reboot.Is there anyway to get Lancelot to update the search index straight away after a menu editor change?
You know how nano, vi, vim, etc... all use the entire screen when they are started? I am wondering if it is possible to get a text editor (or modifying an existing one) that doesn't take the entire terminal. The reason for this is that I to look at the output of a different command, then modify a different file while looking at the output. I want to be able to do this very fast, and it would be great if there was some way I could this all in one shell instead of creating two terminals and resizing or flipping between them. I realize the ideal solution would be a second monitor, but I can't get that right now.
I recently scanned in a whole bunch of hand written notes and compiled them in a few pdf documents. I was just wondering if there was some way to edit the underlying searchable data, so that I may be able to give keywords to pdf pages (i.e. I have a page of notes that is dealing with energy conservation, so I could under the image data write "energyconservation, problem 2.3") and jump to that page.
I would like to start using kate to write c++ programs but kate i am not sure how to go about actually running the code. Right now i just have a simple Hello World script. How would i now run this and see an output on the konsole?
I wanted to know what is the best (non) GUI text editor for Linux.I know there are emcas, vi(m), pico, nano, ted, ed, and so others.But I can't learn working with all of them.Which one is the best for non professional for standard text editing and a little programming?
I try to name a file in the editor with this and nothing happens...(creating a conky_start.sh file under home directory and add it to start up)$cd && touch conky_start.sh && chmod +x conky_start.sh && gedit conky_start.shAnd add these lines to that file and save it :
I'm an Ubuntu newbie and I'm looking for a text editor that has options for DOS-like or Unix-like end of line characters. I'm used to working with Notepad++ for windows that has an option for Unix/Mac/DOS end-of-line characters.It would be great if I could find a text editor for Ubuntu that has this built in or as a plugin instead of running the file through a converter.
I'm using Thunar, and I would like to know how to change the default text editor. It's set to emacs (due to a weird install), and I'd like it set to gedit globally.
I have just downloaded the Screem text editor source from their website.I tried to aptitude it first, but it wasn't available in the repos. So I thought maybe building from the script would be the solution. The problem is, this package doesn't build with the usual configure, make and make install commands.Well ./configure works. It checks the system and dependencies.