On Fri, 13 Apr 2007 08:44:26 -0700 (PDT), OnionKnight
[EMAIL PROTECTED] wrote:
No it didn't make a difference. When you put the cursor in normal mode over
a tab character, which spans several characters, the cursor will be
displayed at the end of that area whereas insert mode will put the
On Fri, 13 Apr 2007 16:11:53 +0800, [EMAIL PROTECTED] wrote:
Spencer Collyer [EMAIL PROTECTED] 写于 2007-04-13
15:55:48:
Typically, just after I sent my message I realised how to do it -
just use 'cterm=NONE'.
Spencer
This is not perfect, since it removes ALL properties.
Suppose
OnionKnight schrieb:
I think I understand the difference now and my function is pretty neat now.
function! HomeKey ()
let c = col(.)
if c == 1
normal ^
else
normal ^
if col(.) = c
normal 0
Folks, I usually set wrap on and when typing long lines it becomes
quite awkward to move cursor up/down on them. Let me show you an
example, say, below are 2 lines(second line is wrapped):
1 some string
2 foo bar zoo wow
hey ^yo
^ - is a position of cursor
Now if I press up in command mode I
Is there any option in vim which reconfigures the behavior of
up/down buttons so that they move cursor on wrapped virtual
lines like on real lines?
While I don't believe there's an option per-se, it's very easy to use
:nnoremap up gk
:nnoremap down gj
:vnoremap up gk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pavel Shevaev wrote:
Is there any option in vim which reconfigures the behavior of up/down
buttons so that they move cursor on wrapped virtual lines like on
real lines?
There might be a better way that I don't know of, but this tips page
describes
On 4/15/07, Tim Chase [EMAIL PROTECTED] wrote:
While I don't believe there's an option per-se, it's very easy to use
:nnoremap up gk
:nnoremap down gj
:vnoremap up gk
:vnoremap down gj
:inoremap up c-ogk
:inoremap down c-ogj
to map the desired
Cyril Slobin wrote:
On 4/15/07, Tim Chase [EMAIL PROTECTED] wrote:
While I don't believe there's an option per-se, it's very easy to use
:nnoremap up gk
:nnoremap down gj
:vnoremap up gk
:vnoremap down gj
:inoremap up c-ogk
:inoremap down c-ogj
Kamaraju S Kusumanchi wrote:
Using Debian Etch (stable), vim 7.0.122
Inside ~/.bashrc, I have a function
# Use gvim as a manpage reader
function wman {
/usr/bin/man $* | /usr/bin/col -bp | /usr/bin/iconv -c | \
/usr/bin/gview -c 'set ft=man nomod nolist' -
}
This opens the man page in a
A.J.Mechelynck wrote:
try (untested)
gview --cmd set ft=man nomod nolist title titlestring=$1 -
- Double quotes should let the shell expand the positional parameter $1
- --cmd is applied before sourcing the vimrc; it may or may not be wise.
Works! Thanks.
raju
--
Kamaraju S Kusumanchi
10 matches
Mail list logo