I tried several LaTeX editors with auto-completion functionality, but none of them make life easier. The problem is when they auto-complete a command, such as \frac, they usually add {} automatically and you have to use the arrow keys to navigate out of the braces. But arrow keys are far away from the center of keyboard and pressing them really slows down my editing process. Is there any LaTeX editor that allows you to use Tab key to jump from braces?
|
|
|||||||||||||||||
|
|
I am using TexMakerX (now called TexStudio) and I just found out a way to do that. TexMakerX allows you to define custom keyboard shortcuts. Under "Options" -> "Configure TeXMakerX..." -> "Shortcuts" -> "Basic Key Mapping", I redefined "Move cursor right (1 word)" to Alt+D and "Move cursor left (1 word)" to Alt+S. It's a workaround and it allows you to exit the bracket quickly, although if the brackets are nested and next to each other it will skip through both brackets instead of one. You can also try to redefine "Move cursor up/down/left/right" which are mapped to the arrow keys originally, as long as you can get used to it :-) |
|||
|
|
In Emacs, an experienced user (i.e. a user considering arrow keys and the like a no-no) would use a combination of If you are ambitious enough to internalize these commands you will get really fast. PS: |
|||||
|
|
AFAIK, TeXworks has a similar functionality. And Emacs being a programmable editor, it is certainly possible to do it in it. In fact, you could use |
|||
|
|
|
Texmaker uses place holders if you're using the auto-complete function, for which you use Shift+Tab, see section 4.12 in the manual. TeXworks also uses place holders when auto-completing, and you use Ctrl+Tab to reach them, see section 4.6 in the manual. |
|||||
|
|
You need to have an editor with scripting facilities : for example on OS X with Textmate, I created a snippet for
and with |
|||
|
|
|
Winedt is highly programmable too. As a default Ctrl+Space jumps to the next (a sort of bullet). This is used e.g. for environments with arguments. It wouldn't be very difficult to change to auto-complete commands so that they add such a bullet after the last brace/the end of an environment to which you could jump. I personly dont 't need this. I'm used to the arrows. Btw: Winedt 7 has just been released. It can now handle unicode. |
||||
|
|
|
The Vim-LaTeX package gives GVim this feature, e.g. pressing / generates I'm looking to introduce my younger brother to TeX with something less idiosyncratic than Vim (even though one could use Cream for more simplicity) - and it looks like I will end up using TexMaker. I like the fact that it is cross-platform, and at least you can move from brace-set to brace-set easily, even if you do have to resort to an arrow key to leave. |
||||
|
|