The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
26 views

Vim assembly formatting

Vim is not properly indenting assembly code, regardless of if I want it to do it automatically or if I try gg=G it'll just says ## lines indented even though it didn't change anything and all my text ...
2
votes
1answer
201 views

Excel 2010 Pivot Formatting - Can't indent and wrap fields?

When working with pivot tables in Excel 2010, I want to show my pivot in compact form, with each field being indented as you move through the data, like so: However, some of my data strings are ...
0
votes
1answer
56 views

Sublime indenting style of Latex files

Here is a part of my LaTex code and what I want it to be: ... \begin{center} \begin{table} \begin{tabularx}{\textwidth}{|l|l|l|X|X|X|X|} ... However, if I re-indent it in Sublime Text ...
1
vote
0answers
118 views

Sublimetext 3 Emacs indentation

I'd like to have an indentation like EMACS on Sublimetext when editing ONLY C source code. More specifically I'd like sublime text add 2 spaces of indentation after "{" like in the following example ...
2
votes
0answers
73 views

Text indentation via Tab-key in the Windows Google Chrome browser without using extensions or a Numpad?

When trying to indent a block of text in an input textfield, for instance to emphasize Markdown code-blocks, the Tab key is already bound to a different action (switching to the next input element). ...
0
votes
0answers
159 views

Convert all files to “translate_tabs_to_spaces”: true in Sublime Text

After setting "translate_tabs_to_spaces" to true, I want to convert all my files to this new indentation format. Is there any command to do it? I don't want to manually convert.
1
vote
0answers
38 views

Vim indentation and the prooftree package

I am using the fabulous vim-latex suite. I use (a lot) the prooftree package which has commands of the kind: \prooftree SOME-HYPOTHESIS-HERE \justifies SOME-CONCLUSION-HERE \using ...
2
votes
2answers
100 views

Disable automatic alignment for Python code in emacs

Right now, in emacs' python-mode line continuations are aligned to the end of the previous line, as follows: this_is_a_list_of_django_urls = ('', url(r'^admin/?', ...
0
votes
1answer
73 views

What formatting setting could be causing this indent within the table cell?

I am creating a resume using Microsoft word with the table as my means for structure. I am seeing some weird indents taking place within one of the cell, what could be the cause of this.
0
votes
0answers
40 views

Vim “:set cindent” filters commas from the document

With or without a specific document language, whenever "cindent" is set on vim, no comma can be typed or even pasted on the document. I got a "non-us-standard" keyboard (pt-latin).
0
votes
1answer
175 views

How to copy [just] the alignment and the indentation?

If i have many paragraphs and i want to (Format paint) just the alignment and the indentation of the first paraghragh to the others without other styles like the font and colors how to do that ? for ...
1
vote
3answers
177 views

Vim: wrap/indent/prefix mail lines with “alice> ” and “bob> ”

In a mail thread, Alice and Bob both sent me mail with incredibly long lines. I would like to send a reply that looks like this: alice> blah blah blah, foo dee bar dee baz, ho hum and then ...
1
vote
1answer
115 views

VIM inconsistent indentation

I have the following small Specman (.e) file: (set filetype=specman) <' extend sys { a : b; !enable : bool; run() is also { message (LOW, "Hello World"); }; }; '> ...
0
votes
1answer
146 views

How to have vim left-align indented lines (like is possible in Notepad++)

In Notepad++ there is a linewrap option that can be set to aligned so that indented, wrapped lines align at the same left margin. See also here: How can I indent the wrapped text in Notepad++?. Is ...
0
votes
1answer
213 views

SlickEdit's “Indentation guide” equivalent for VS2010?

SlickEdit "Editor Gadget" is a free plug-in for the Visual Studio 2008 editor, with many tools that enhance a coder's productivity and have used it extensively. However, I use Visual Studio 2010 now ...
0
votes
1answer
722 views

Working with TAB or indent in MSWORD

What is the proper way to use Indent and Tab functions in MSword? Ever since Word97, I get into situations where pressing "TAB" key, "increase indent" key, or the top "slider" has constantly ...
4
votes
1answer
1k views

How to format a XML file with long list of attributes?

I am currently working with XML files that contain elements with a long list of attributes. When I try to re-indent the whole XML file using xmllint --format myfile.xml only the elements are indented, ...
1
vote
1answer
306 views

Backspace problems in python-mode

I'm having trouble getting the py-electric-backspace command to execute when I hit backspace at the end of a line of only spaces in python-mode. When I hit backspace it deletes individual spaces, not ...
2
votes
1answer
822 views

How to adjust indentation in TextMate

In TextMate I'd like to adjust the number of spaces added for indentation for JavaScript, CSS and PHP files. I found the bundle editor where I think this should be done, but I don't understand waht do ...
12
votes
4answers
16k views

Autoindentation in Sublime 2 text editor

Is there an auto indentation option in Sublime 2? In Visual Studio I can press Ctrl+K+D to indent everything so the code is structured nicely. Is there a shortcut in Sublime 2 to do the same?
2
votes
1answer
161 views

vim: select the current indents lines

in vim, how I can selected the lines with the same indent, example if true: line 1 line 2 ... line n if the cursor is over line 2, how I can selected from line 1 to line n?
1
vote
1answer
454 views

Does anyone have an original Word 2003 normal.dot file?

I'm running Microsoft Office XP Small Business which has Word 2003. I need to know what the Original Default settings were in normal.dot for Paragraph Formatting, specifically: Indentation: Special: ...
2
votes
1answer
168 views

Preserve indent space for wrapped line in Word

I like to print out my code sometimes, so I was wondering if there was a way to get Word (2007 for me) to automatically preserve the amount of tab space for the whole of a wrapped line. ...
0
votes
3answers
179 views

How to indent a block of text rightward by 2 whitespace characters in Emacs?

How to indent a block of text rightward by 2 whitespace characters in Emacs? How to indent a block of text rightward by 4 whitespace characters in Emacs? [EDIT] I need a method that doesn't ...
0
votes
1answer
233 views

Set indent mode for tpl files in vim

I currently work on a cms with .tpl files. It's mainly HTML so I would lile vim to understand that I want to use an "HTML complient" mode for autoindent. When I type text, it works, but when I try ...
1
vote
2answers
547 views

VIM - Auto-indent lines with over length

Is there an option in VIM to auto-intend (like in Espresso) lines which are too long to be displayed in the current window so that they get an automatic line break? This is how it looks like in ...
1
vote
1answer
365 views

How can I pretty print erb in BBedit indenting rails tags and not just markup?

I want to re-indent my code but the rails tags <% foo %> get aligned to the left with no indentation. What I'm using is: markup > utilities > format > pretty print Does anyone know if ...
0
votes
3answers
1k views

How to show indentation guides in TextMate

How do I show indentation guides in TextMate? Anyone knows if there is a bundle for this? There's no setting, obviously.
1
vote
0answers
477 views

How to tidy / beautify / re-indent html.erb files in Coda

A few weeks ago I tried using the HTML Tidy Service but no matter what I did with the configuration, it never worked properly with erb files. That's just not what it's made for. All I want is ...
3
votes
1answer
4k views

How do I remove initial indents on numbered lists?

In Word 2007 I want all numbers in a numbered list to be down the LH margin in line with the paragraphs. When a numbered list is selected, the numbers 1,2,3 are indented by a default 0.63cm. ...
0
votes
1answer
562 views

How can I tell what syntax and indentation rules Vim is using on a particular line?

For better or worse, PHP code often includes both HTML and Javascript. Getting Vim to indent it all correctly can be tricky. My .vimrc specifies that a tab should always be two spaces: set ...
4
votes
1answer
1k views

Disable Emacs' auto indentation for JavaScript mode completely

I have tried to disable the auto indentation in Emacs in JavaScript for three hours now and could not find a (good) solution. My Emacs version is 23.3.1 (i486-pc-linux-gnu, GTK+ Version 2.24.3), at ...
0
votes
1answer
215 views

Microsoft Word Read-Only Document - Avoid Unwanted Tab Space

I have a read-only Microsoft Word (docx) document that has (in addition to explanatory read-only text) a few editable forms. In one of these forms, there are two columns. Each column has a ...
0
votes
1answer
167 views

Is there a way to indent HTML or PHP code instantly using a program such as Scite?

If I have the following code: <div id="nla">hi</div><table> <tr> <td>hi</td></tr></table> I want to use Scite or any other program to take ...
4
votes
1answer
456 views

AUCTeX and tabs

I've been tinkering for hours and I'm becoming desperate. I want tabs! I like tabs, I see no advantage in using spaces and therefore I ident with tabs (alignment is done with spaces though). But I ...
1
vote
0answers
455 views

html indentation for css, html in emacs

I have problem with emacs indentation in html and js mode . i want better mode or function for better indention I also see Smart Tab and create code like this (require 'smarttabs) (define-key ...
2
votes
3answers
639 views

How to configure backspace to delete 1 char with ts,sw,sts & et configured in vim

I have the following in my vimrc: set tabstop=8 set shiftwidth=4 set softtabstop=4 set expandtab set backspace=indent,eol,start set autoindent This does what I want: insert spaces only, never tab ...
0
votes
1answer
464 views

Can I get vim to correctly indent this Ruby code (Nokogiri)?

The first XML Builder Example for Nokogiri looks like this: builder = Nokogiri::XML::Builder.new do |xml| xml.root { xml.products { xml.widget { xml.id_ "10" ...
2
votes
2answers
2k views

How to set syntax specific settings in my VIMRC?

I work with several languages and markups in vim every day (ruby, python, javascript, CSS, HTML, etc), and would like to have different settings for each buffer when I fire up my editor. How can I ...
5
votes
2answers
545 views

Enter insert mode indented in VIM

See above picture. My cursor is on line 23 at the start of the line in normal mode. What is a quick command to begin inserting at the correct indentation level?
2
votes
1answer
984 views

Different vim indentation settings for specific file type

Drupal provides some reference on how to setup VIM for Drupal development, but I want these indentation settings to be applied to only drupal related files instead of all files set expandtab set ...
0
votes
1answer
400 views

netbeans IDE doesn't indent my SQL code

I've been searching for a good IDE for awhile and it seems netbeans is great. Everything looks and works nice, but I can't get it to indent sql code (possibly others, but this is all I've noticed thus ...
27
votes
5answers
14k views

emacs: how to indent/unindent region of python code by 4 spaces?

I have a region of python code selected in emacs. What are the most efficient ways to indent and unindent every line in it by 4 spaces? Ideally I'd like something that's not context sensitive (eg. ...
2
votes
4answers
722 views

Indentation for plain text bulleted lists in Vim

I often write text with a format like this in Vim— - talking point 1 - talking point 2 .... continue on point 2 Ideally, I would hope Vim could auto align it for me such as: - talking ...
5
votes
2answers
916 views

How do I make vim's autoindent not drop trailing spaces?

In some text editors (e.g. Kate, gedit), when auto indent is enabled, pressing return twice will leave a trailing whitespace (which I want): if (code) { .... ....| } While others cater to the ...
2
votes
3answers
995 views

OpenOffice: How to prevent text indentation on the very first paragraph?

My OpenOffice default paragraph style defines an indentation of 1.3em for the first line of every paragraph. Now, typographically more adequate would be, if the indentation would be 0 for the very ...
2
votes
4answers
4k views

Re-indent shell script

I have a large shell script that uses a mixture of spaces and tabs. I want to re-indent the whole file based on syntax, like Eclipse's Format. Is there a program (beautify ?) that will do this ? ...
3
votes
1answer
912 views

Indenting paragraphs in Microsoft Word

I would like to format a Microsoft Word document such that the first line of every paragraph is indented, with the exception of the first paragraph in a section which would not be indented. How can I ...