help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to toggle to column operations instead of line operation?


From: Sergei Pokrovsky
Subject: Re: How to toggle to column operations instead of line operation?
Date: 16 May 2003 13:46:08 +0700
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "boris" == boris  <boris.hu@intel.com> writes:

  boris> How to toggle to column operation in emacs? It means I could move the 
cursor
  boris> in one special column instead of in one line. I searched many 
documents and
  boris> tried many ways, but failed.

  boris> any hints? thanks a lot.

M-x picture mode
C-c .

,----
| picture-mode is an interactive compiled Lisp function in `picture'.
| (picture-mode)
| 
| Switch to Picture mode, in which a quarter-plane screen model is used.
| Printing characters replace instead of inserting themselves with motion
| afterwards settable by these commands:
|   C-c <         Move left after insertion.
|   C-c >         Move right after insertion.
|   C-c ^         Move up after insertion.
|   C-c .         Move down after insertion.
|   C-c `         Move northwest (nw) after insertion.
|   C-c '         Move northeast (ne) after insertion.
|   C-c /         Move southwest (sw) after insertion.
|   C-c \   Move southeast (se) after insertion.
|   C-u C-c `  Move westnorthwest (wnw) after insertion.
|   C-u C-c '  Move eastnortheast (ene) after insertion.
|   C-u C-c /  Move westsouthwest (wsw) after insertion.
|   C-u C-c \  Move eastsoutheast (ese) after insertion.
| The current direction is displayed in the mode line.  The initial
| direction is right.  Whitespace is inserted and tabs are changed to
| spaces when required by movement.  You can move around in the buffer
| with these commands:
|   M-x picture-move-down         Move vertically to SAME column in previous 
line.
|   M-x picture-move-up   Move vertically to SAME column in next line.
|   M-x picture-end-of-line       Move to column following last non-whitespace 
character.
|   M-x picture-forward-column    Move right inserting spaces if required.
|   M-x picture-backward-column   Move left changing tabs to spaces if required.
|   C-c C-f Move in direction of current picture motion.
|   C-c C-b Move in opposite direction of current picture motion.
|   Return  Move to beginning of next line.
`----

-- 
Sergei


reply via email to

[Prev in Thread] Current Thread [Next in Thread]