Hot answers tagged editing
By default, if you are using the C# default profile, you can delete a line using Ctrl + Shift + L. You can customize this using Tools->Customize. Select "Keyboard". Look for the command Edit.LineDelete to assign it to whichever keyboard shortcut you like.
To reverse all the lines in a file, :g/^/m0 For an explanation see :help 12.4 which also shows how to reverse just a range of lines.
If you load a GIF image, you likely have a paletted image. Make sure to change it to RGB first with: Image → Mode → RGB. Changing colors (including resize operations) won't work very well with palettes because Gimp limits its selection of colors to the colors defined in the palette. I suggest rotating Hue in Colors → Hue-Saturation. Given an initial image ...
If you are using GIMP 2.8.2, you can simple use Colors -> Map -> Color Exchange. Source: How can I swap colors with GIMP?
Use 3Y to yank 3 lines into the default register; "i3Y for yanking into register i. Also, my favorite way is not to count the lines I want to yank, but to select them in visual mode via V and moving commands, and then hit y to yank it or "_y to yank into a register. Also, I have just tried selecting multiple lines in Visual Line mode and yanking into ...
Select the desired lines, hit !, and in the resulting prompt pipe the lines through tac a la :'<,'>!tac. See man tac for more details.
Go to View -> Word Wrap. Make sure that is checked.
You're looking for menu Colors, and especially the function Colorize.
This issue was discussed and answered on Microsoft Office for Developers Forums on April 14, 2011. Question posted by Vershner: I originally posted this in the IT Professionals forum but they told me to post it here because the issue was by design. When I click undo in the quick access toolbar it undoes the last action in Excel, not the ...
Since you did not specify the OS: 'Paint.NET' (for Windows)
On Mac OS X, tac does not exist, but you can use tail -r to the same effect: :%!tail -r This also works nicely for visual mode: :'<,'>!tail -r Excerpt from tail(1)'s manpage: The -r option causes the input to be displayed in reverse order, by line. Additionally, this option changes the meaning of the -b, -c and -n options. When the -r ...
The way 'around' it is to open multiple copies of Excel, one per worksheet. This is really annoying, but there is no other way. I have special shortcuts for my main spreadsheets, just to open them explicitly. To do this: Make a NEW shortcut - right-click on your desktop, New, Short cut. Browse to the excel program ( "C:\Program Files (x86)\Microsoft ...
You should use the fill-paragraph command, normally bound to meta-q. (You can use ESC q if your keyboard doesn't have a meta key.) Paragraph filling only makes sense in free text modes or within comments in programming language modes. Programming language modes are usually setup around the TAB key to properly indent lines; line breaks are inserted ...
One way is to use string-rectangle (C-x r t). Mark the block, then call string-rectangle and give ## as a string to insert.
Try Paint.net http://www.getpaint.net/ Gimp http://www.gimp.org/ Picasa http://picasa.google.com/
You can do something like echo -ne \\xFF | dd conv=notrunc bs=1 count=1 of=YOURFILE, replacing FF with your hex value. Try it first though :)
For something small that can open, resize and save both IrfanView (windows) and xnView (cross platform) work well and if I remember rightly both have a batch processing mode which can resize and apply filters to the output images. Both viewers are quite compact, light on resources (by todays rather hungry and bloated standards) and have directory thumbnail ...
On Emacs 23, type Ctrl+X 8 Enter and then the number, followed by Enter. Learned this from Emacs and Unicode Tips, which describes other methods too (Ctrl+X 8 Enter can be followed by Unicode name as well). Note that U+2E38 probably does not show up unless you have installed Symbola or Everson Mono and defined one of them as the font to be used by Emacs. ...
This info might help, not sure what your skill set is or what roadblocks you may run into trying to edit the file. Source The user-specific dictionaries for a language, which hold the content for the Added, Excluded, and AutoCorrect word lists, are located under %AppData%\Microsoft\Spelling\. The filenames are default.dic (Added), default.exc (Excluded) ...
I'd use Avidemux. Free, and portable version avaliable for Windows. Download page , Crop howto . (Even supports multi-threading which was the original reason why I started to use it. Awesome software. :))
From anywhere within the file, you can use the following. :2,5y a Yank lines 2 - 5. INTO REGISTER a :7pu a Paste register a under line 7.
Do you mean like with the -M switch?
I've used Windows Live Movie Maker for a while, and am 99.99% sure that it doesn't provide the ability to crop frames in a movie. VirtualDub (here) I've heard is a decent free video editor that can be used to crop videos (e.g. to remove those black bars and to rotate frames). To crop a video in VirtualDub, open the video and then from the menu, select ...
Got it. AltEnter
Same as normal mode; use <n>G to go to a specific line. Also, ShiftV.
Select the cells, type the data and then press enter while keeping the alt key pressed. Works on my system (Mac, OO 3.2), maybe the modifier key is different on different systems. In Excel on Windows the modifier key is ctrl.
Depending on what mode you are running (e.g. CC Mode, Lisp Mode) you can select the region and then use the command comment-region (usually bound to C-c C-c. If everything is set correctly, it should use the appropriate comment characters for the type of file you are editing.
See the free Fix File Encoding extension : The free Fix File Encoding extension prevents Visual Studio 2012/2010 from adding BOM to UTF-8 files. Normally, when you edit a UTF-8 file in Visual Studio, it adds the byte order mark (BOM) sequence 0xEF, 0xBB, 0xBF to the beginning of the file. Sometimes it confuses other applications further ...
Go to Edit->Preferences (Ctrl+K) Navigate to "Security (Enhanced)" and uncheck "Enable Protected Mode at startup". That should do the trick :)
Only top voted, non community-wiki answers of a minimum length are eligible