Tag Info

Hot answers tagged

36

Just use the mark feature. Open the Search & Replace dialog and go to the Mark tab. Enter your search term and click Mark All. All occurrences are now permanently marked: To remove the marks, simply open the dialog again and click Clear all marks. Alternatively, while you have the word selected, you can use the Mark functionality in the Search ...


14

You want the command :nohlsearch, but you don't want to type that every time. Put this in your ~/.vimrc: nnoremap <silent> <leader>n :nohlsearch<CR> After that, you just enter your leader (which by default is \) and then n to clear the matches. You don't need to use n; if you prefer, pick something else. You can also remap your leader ...


14

The following was derived from the GtkSourceView reference manual, Language Definition v2.0 Tutorial and Reference. Create the file /usr/share/gtksourceview-2.0/language-specs/screenplay.lang (as root), with the following contents: <?xml version="1.0" encoding="UTF-8"?> <language id="screenplay" _name="Screenplay" version="2.0" ...


10

Beyond Compare is really a file-and-folder comparison tool, but it also contains image comparisons (example link). There's a free trial. I bought this tool ($30) because it's so incredibly useful for many things.


8

i just /qiw772723euz to "search" for something thats not in the file. hacky workaround, i know, i am interested in a real solution as well :)


8

skyblue’s answer shows the core of the idea of how to use the normal search highlighting to accomplish what you want. I extended that technique by making a keybinding that works similarly to the * command, but without actually moving to the next match. My thanks goes to garyjohn for pointing out the expand() equivalent to *’s word selection (to avoid using ...


7

One way: highlight EWOL ctermbg=lightgray ctermfg=black guibg=lightgray guifg=black match EWOL /\%>20v.\+\|\s\+$/ Another: highlight ExtraWhitespace ctermbg=lightgray ctermfg=black guibg=lightgray guifg=black match ExtraWhitespace /\s\+$/ highlight OverLength ctermbg=lightgray ctermfg=black guibg=lightgray guifg=black 2match OverLength /\%>80v.\+/ ...


6

I think the Keyword Highlight extension does the job. From its description: This extension helps you to catch messages to you or topics you are intrested in. One of good idea is set your name as a highlight keyword. Your boss may assign a job to you in a mail. Or you may found your name in a meeting minutes.


6

I found this Atom package called highlight-selected I have been using it since a few days ago and it's working like a charm! To install it, go to the command line and do: apm install highlight-selected Make sure to restart Atom and boom!


5

Use ctermbg=NONE this should disable the background color.


5

Unpack and open file "skin.ini" from your current skin pack: opera:config#UserPrefs|ButtonSet Standard path is C:\Program Files (x86)\Opera\skin\standard_skin.zip\skin.ini Close Opera. In [Generic] add Selected Text bgcolor nofocus = #your hex color for example #F0FF00 Save and pack it back to standard_skin.zip and launch Opera


5

I have the same need. "Highlighting lines that contain specific keywords". I currently use Baretail or better: Glogg for this, but it would be nice to see this in Notepad++. I generally use Notepad++ to browse through log files. Certain events start with specific keywords; line highlighting in Notepad++ would allow me to quickly find the events in the log. ...


5

One way is to use the :match command, e.g., :match Question '^R^W' That will highlight the word under the cursor using the Question highlight group. I often use the Question group because on my terminal it's a nice green. To see the available highlight groups, execute :hi The ^R and ^W are Ctrl-R and Ctrl-W, respectively, and are replaced by the word ...


5

I use AKS It allows you to compare two JPG files and show differences between them. For instance, this tool allows you to compare two versions of the same image, chart, diagram or scheme.


5

try Wired-Marker "it is a permanent (indelible) highlighter that you use on Web pages. The highlighter, which comes in various colors and styles, is a kind of electronic bookmark that serves as a guide when you revisit a Web page. The highlighted content is automatically recorded in a scrapbook and saved"


4

Similar to @Telemachus answer above, a comment on this answer over at SO by @David Winslow suggested mapping a toggle of hlsearch. You would map the following: nmap <silent> <leader>n :set hlsearch!<CR> Hitting n would then toggle highlight search off and on every time you hit it.


4

This would be good to try: Open the PDF Select All, Copy Paste into a word processor such as Word Use your the built-in Find & Replace feature to find "DO NOT COPY" and replace it with nothing.


4

Select Language > Define your language... (or View Language > User-Defined Dialog..., or Language > User-Defined, depending on version and localisation file) Use the User-Defined dialogue to specify what to highlight. To highlight certain words, use the Keyword Lists tab and enter each word in a Group, selecting Colour/Font style as you like. You can ...


4

There's at least three ways to accomplish what you've asked about: Adding a helper series for your highlighted points (as pnuts), Manually formatting (as Rhys Gibson added), Adding a formatting "band" to highlight the values. The method you choose will depend greatly upon your chart layout (scatter charts can be laid out in at least two different ways), ...


4

In both commands, the problem is that not grep but another command generates the actual output (xargs and find, respectively). You can solve this by directly calling grep for each file name: IFS=$'\n' for FILE in $(find . -iname "*.abc"); do grep foo $FILE done unset IFS Or as a one-liner: IFS=$'\n';for FILE in $(find . -iname "*.abc");do grep foo ...


3

Plot the high and low values from separate columns (or rows): The data point shapes and their colours will probably need to be changed if you want red + another colour and a particular shape but now each 'series' can be selected separately (by clicking on one of the data points from each 'series', in turn) and formatting to suit. I take it that how to ...


3

yes use the "Snippet Plus" Plugin. Then create your snippet and use the function "Surround with". It behaves like the Surround With of Visual Studio.


3

Okay this is going to sound ridiculous, but if they are the same size you can put them side by side and cross your eyes like you would for a magic eye 3D picture, and the differences will stand out as if they are flickering (as your brain quickly alternates between the two different overlapped picture elements) I use this "cheat" when I play those ...


3

perceptual diff: PerceptualDiff is an image comparison utility that makes use of a computational model of the human visual system to compare two images.


3

I found the script. You can download the script at here. http://www.vim.org/scripts/script.php?script_id=2666 Just \m on the word you want to highlight. You could select visual block then \m And you could add more colors.


3

Your pdf document can be protected for making it uncopiable.. so that could be a problem. Secondly that text can be a watermark too...which can be removed from a pdf creator software like Adobe Acrobat proffessional or NitroPDF for restrictions removal you can use services like http://freemypdf.com/... but removing restriction from a PDF can be illegal as ...


3

Use matchadd(), so add this to your .vimrc: highlight ExtraWhitespace ctermbg=grey guibg=grey call matchadd('ExtraWhitespace', '\s\+$', 11) highlight OverLength ctermbg=lightgrey guibg=lightgrey call matchadd('OverLength', '\%>80v.\+') To view all matches: :echo getmatches() To remove matches use matchdelete().



Only top voted, non community-wiki answers of a minimum length are eligible