Thanks!
--
Best regards, Pavel
I often type in vim using cp1251 charset under windows and currently I
have to switch to english charset every time I need to execute any
action in command mode which is quite inconvenient.
For example I have ш Russian symbol along with i on the same
button on my keyboard. It would be very nice
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
Here is user-defined RENAME command that seems to work:
:command! -narg=1 RENAME if rename(expand('%'),q-args)==0|file
args|else| echo Renaming error| endif
Thanks! I'll give it a try...
The :rename command is in the todo list. (':help todo', search for :rename).
Oh, i see, kudos to
Folks, sorry if this topic was already discussed for too many times
but i couldn't google anything useful :(
Grepping for something seems to be trivial with :vimgrep and :grep but
there's nothing simple like this for 'searchreplace' and i wonder
why... Is it done intentionally or i'm just
On 2/25/07, Tim Chase [EMAIL PROTECTED] wrote:
Grepping for something seems to be trivial with :vimgrep and :grep but
there's nothing simple like this for 'searchreplace' and i wonder
why... Is it done intentionally or i'm just missing something?
Just missing the power of the
When vim is given 500 file arguments, it opens only
the first one. Regarding the other 499 files, it just
remembers the names, for the beginning, so you see the first tfile very quicky.
Only when you explicitly visit/open some of the other files, vim
will actually read its contents. Just try it
:h :saveas
BTW, is it possible somehow to rename file not save as?
hth,
Alan Isaac
--
Best regards, Pavel
:vimgrep pattern directory/**/*.h
Just an aside question - is there anything alike for find replace in
files? Something like :%s/../../g glob could be very helpful...
Especially it would be great to see replaced stuff in quickfix window.
--
Best regards, Pavel
On 2/21/07, DervishD [EMAIL PROTECTED] wrote:
Hi Laurent :)
Unfortunately, I still have problems using 'h' :(
That's my biggest problem at the moment as well, as a blind typer i
can't get used to it...oh, i think i just should stop whining and
exercise more ;)
--
Best regards, Pavel
Hi folks!
AFAIK usage of arrow keys in vim should be avoided at all costs since
h/j/k/l allows one to be more efficient in command mode. But how about
insert mode? Should one avoid using arrow keys in insert mode as well
and switch to command mode and then back to insert mode instead?
--
Best
Can you clarify which costs you are willing to
pay/sacrifice to avoid use of arrows ?
Actually I'm just trying to follow the best vim practices and it's
really hard for me to get used to h/j/k/l combination after working
with some other text editors. That's why I'm asking how vim gurus work
the
12 matches
Mail list logo