On May 13, 12:14 am, Marc Weber marco-owe...@gmx.de wrote:
Excerpts from Charles Smith's message of Sun May 12 12:08:15 +0200 2013:
In order to be able to go to the next command in python, I'd like to
have a mapping as follows, but I can't get it to work:
map ]0 /^\s\{0,^R=wincol()}\S^M
Dear Vimers,
2013/5/13 DwigtArmyOfChampions dwightarmyofchampi...@hotmail.com:
If you're not going to search, then are you pretty much always supposed to
use Ctrl-u and Ctrl-d to navigate through your code, and then when you spot a
line that needs changed, type :(line number)?
I have been
Forcing one hand to move to that dark Escape corner far far up left
and forcing the right hand to move on the hjkl home row is a damn bad
habit when all you need is two lines down, one column right.
My hands NEVER rest on the home rows! When not actively typing either
I hold a
On 13.05.13 10:05, Asis Hallab wrote:
I have been facing the very same problem. For me Vim is about doing
the job of text editing efficiently. So getting to the place you want
to edit should be fast and easy. In spite of all the different
available movement commands I frequently find myself
Basically, my intent is to make up for the lack of brace-delineated
blocks - in C or perl, I could just put my cursor on the opening
brace, hit % and be at the end. Since I have no braces in python,
this is a poor-man's version of that.
On May 13, 9:20 am, Charles Smith
On 13.05.13 11:15, Rostislav Svoboda wrote:
Forcing one hand to move to that dark Escape corner far far up left
and forcing the right hand to move on the hjkl home row is a damn bad
habit when all you need is two lines down, one column right.
To help reduce the hand travel, I've moved escape
:h indent()
returns indentation of current line.
Thus
:map X /^c-r=repeat(' ', indent(line('.')))cr\Scr
or such might do it.
A second solution would be using folding.
In the end - you should try using better search terms.
Eg googling for indendation based movement vim
Thanks Marc.
Unfortunately, I couldn't get your suggestion to work:
:map ]0 /^^R=repeat(' ', indent(line('.')))\S
=repeat(' ', indent(line('.')))\S
E15: Invalid expression: repeat(' ', indent(line('.')))\S
and using the original mapping, modified to use the indent() function
:map ]0
Reread my message. I told you many ways to reach your goal.
One was clear:
http://vim.wikia.com/wiki/Move_to_next/previous_line_with_same_indentation
I didn't test my mapping, yes - you may have to understand the pieces to
make it work - so if you have trouble understanding the pieces ask
On 2013-05-13 19:21, Erik Christiansen wrote:
To reach the desired word, I prefer to use 7W or 6B,
because the eye does not readily estimate minor word
components. Using 0/^ or $ first, allows word count
estimation from the nearest end of the line, giving more
frequent first-guess hits.
Right, Marc, I see you're a busy man. Hopefully somebody else will
feel intrigued by the problem and jump in.
On May 13, 12:46 pm, Marc Weber marco-owe...@gmx.de wrote:
Reread my message. I told you many ways to reach your goal.
One was
On 05/13/2013 04:05 AM, Asis Hallab wrote:
Dear Vimers,
2013/5/13 DwigtArmyOfChampions dwightarmyofchampi...@hotmail.com:
If you're not going to search, then are you pretty much always supposed to use
Ctrl-u and Ctrl-d to navigate through your code, and then when you spot a line
that needs
On 13.05.13 05:58, Tim Chase wrote:
Sounds like you could benefit from t/T/f/F/,/; which I use ALL THE
TIME for horizontal navigation. I find it pretty easy to eyeball an
infrequent letter and then type 2fj to jump to the 2nd j after my
cursor.
I have tried that, particularly in recent times,
-Message d'origine-
De: Asis Hallab
Envoyé: 13/05/2013, 10:05
A: vim_use@googlegroups.com
Objet: Re: Need a vim hard mode tutorial.
Dear Vimers,
2013/5/13 DwigtArmyOfChampions dwightarmyofchampi...@hotmail.com:
If you're not going to search, then are you pretty much always supposed
On Sun, 2013-05-12 at 17:11 -0700, DwigtArmyOfChampions wrote:
OK, I know what the bad habits are, since they've been disabled (hjkl,
backspace, and a few other things)
I didn't know those were bad habits. I've been using those keys for
movement ever since dad let me play rogue back when I was
On May 11, 2013, at 6:08 AM, Eric Weir wrote:
On May 10, 2013, at 7:54 PM, Ben Fritz wrote:
On Friday, May 10, 2013 9:30:41 AM UTC-5, Eric Weir wrote:
On May 10, 2013, at 9:34 AM, Eric Weir wrote:
I've disabled syncing between the tablet and the macbook and will go back
into my backups
On May 13, 2013, at 11:41 AM, Eric Weir wrote:
If anyone has a clue why---or more importantly, why I started getting swap
exists messages for swap files in '/var/tmp/', why macvim asked me if I
wanted to create a file on an android path, why I stopped getting macvim and
started getting
On 2013-05-13 02:57, Alice Wonder wrote:
On Sun, 2013-05-12 at 17:11 -0700, DwigtArmyOfChampions wrote:
OK, I know what the bad habits are, since they've been disabled
(hjkl, backspace, and a few other things)
I didn't know those were bad habits.
I think it's not that they're bad habits,
On Mon, May 13, 2013 at 05:58:44AM -0500, Tim Chase wrote:
On 2013-05-13 19:21, Erik Christiansen wrote:
To reach the desired word, I prefer to use 7W or 6B,
because the eye does not readily estimate minor word
components. Using 0/^ or $ first, allows word count
estimation from the
look at
[this](http://pinggit.github.io/tech/2013/04/29/ascii-art-shaape/) , and
you will know what I'm going to talk here...
so I am a [drawit])(http://www.vim.org/scripts/script.php?script_id=40)
lover, but I never thought that my asciiart produced by drawit, can be
further piped into
vi developers,
With the following setting, vi can consume up to 40GB on my Linux (64 bit)
machine:
stty rows 65535
stty columns 65535
vi /tmp/foo
Please don't run as root as you may bring down your Linux machine (due to Out
Of Memory).
I think this need to be fixed. Let me know your
On Tuesday, May 14, 2013 7:57:45 AM UTC+12, jimmywang wrote:
With the following setting, vi can consume up to 40GB on my Linux (64 bit)
machine:
stty rows 65535
stty columns 65535
vi /tmp/foo
Interesting.
Are you sure that's vim? On my Kubuntu 13.04, vi gives me vim 7.3.547 Huge
On 13/05/13 10:05, Asis Hallab wrote:
Dear Vimers,
[...] For me Vim is about doing
the job of text editing efficiently. So getting to the place you want
to edit should be fast and easy. In spite of all the different
available movement commands I frequently find myself thinking, that in
a
23 matches
Mail list logo