Re: Vi editor for answering emails?

2009-03-03 Thread Dotan Cohen
er but i wasn't that > impressed by Mutt. > I use Muttador's sister extension Vimperator in Firefox. I love it! It should be known that Kmail will have a VIM text entry mode _soon_. The code is already written for a GSoC project. -- Dotan Cohen http://what-is-what.com http://gibberi

Re: Vi editor for answering emails?

2009-03-04 Thread Dotan Cohen
ointing. I'll even file a bug on it at KDE if need be (I file a lot of those). -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т

Re: Vi editor for answering emails?

2009-03-04 Thread Dotan Cohen
h 'E' with huge menus and an impregnable huge reference manual [and > a not so friendly user group]. Vi/Vim/gvim has an excellent Cheat > Sheet and lots of useful easy to read docs [and a friendly user group > residing on googlegroups!]. > I see, thanks. Any time you find you

Re: Hanging Paragraphs

2009-03-19 Thread Dotan Cohen
> I would like to create hanging > paragraphs.  I haven't found anything > that explains whether Vim can do this or > how it's done.  Does anyone here know > where I could find information about > this? > What exactly is a hanging paragraph? -- Dotan Cohe

Re: Hanging Paragraphs

2009-03-19 Thread Dotan Cohen
bug.cgi?id=187629 -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-

Re: selecting a URL

2009-03-31 Thread Dotan Cohen
ago discussing this. What do you do if a URL ends in an end-parenthesis? It could be part of the url or not! Wikipedia is especially bad about this. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il --~--~-~--~~~---~--~~ You received this messa

Re: selecting a URL

2009-03-31 Thread Dotan Cohen
punctuation?  That's unforgiveable.  Someone should edit the > page/entry itself to fix it. > It's perfectly legal in the standards. You might want to try to change wikipedia policy, however. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il --~--~-~--~

Re: Can I use Vim and produce text with italics, bold and just a couple of colors?

2009-04-04 Thread Dotan Cohen
gt;   @42@ > > which you can then post-process to HTML (bound in a > script/keystroke to save your sanity) > >   :%s/@\(\d\+\)@/\1<\/span>/g > Wouldn't this be easier: here's some code And then a CSS rule for code. -- Dotan Cohen http://what-is-what.com http://g

Re: Can I use Vim and produce text with italics, bold and just a couple of colors?

2009-04-04 Thread Dotan Cohen
> is a legit HTML element, so I'd just use it as-is. > I did not know that, thanks! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more in

Re: Announcement: Vim Recipes - Free Cookbook

2009-05-21 Thread Dotan Cohen
> I'm writing a "cookbook" for Vim at http://vim.runpaint.org/ . It's > released under a Creative Commons license in PDF and HTML. > > If anybody has suggestions or comments, I'd love to hear them. :-) > Thank you! This book looks rather easy entry for V

How to change font on the fly?

2010-02-19 Thread Dotan Cohen
? Thanks in advance! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il Please CC me if you want to be sure that I read your message. I do not read all list mail. -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php

Re: How to change font on the fly?

2010-02-19 Thread Dotan Cohen
which is an installed font) nothing happens. How can I find a list of valid font names? I'm on Kubuntu 9.10. Thanks. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il Please CC me if you want to be sure that I read your message. I do not read all list mail. -- You received

Re: How to change font on the fly?

2010-02-19 Thread Dotan Cohen
On 19 February 2010 13:16, Christian Brabandt wrote: > Hi Teemu! > > On Fr, 19 Feb 2010, Teemu Likonen wrote: > >> * 2010-02-19 11:04 (+0200), Dotan Cohen wrote: >> >> > Depending on what I am editing, I sometimes prefer a fixed-width font >> > and ot

Re: How to change font on the fly?

2010-02-19 Thread Dotan Cohen
tart looking for how to perform this necessary >> task in Linux? > > See > :h 'guifont' > and > :h setting-guifont > Thank you! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il Please CC me if you want to be sure that I read your message. I d

Re: How to change font on the fly?

2010-02-19 Thread Dotan Cohen
put a line in the config file which increases font size with "Ctrl =" and decreases with "Ctrl -", however I cannot figure out what that line should be. Last question for today, I promise! Thanks! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il Please CC me i

Re: How to change font on the fly?

2010-02-20 Thread Dotan Cohen
t find it report back as I use this daily. Especially flipping > between monitors with different resolutions. > ‎Thanks, David, I found these two but neither are accredited to you: http://vim.wikia.com/wiki/VimTip414 http://vim.wikia.com/wiki/VimTip760 -- Dotan Cohen http://bido.com http://w

Re: How to change font on the fly?

2010-02-21 Thread Dotan Cohen
not know how all that works. I use VIM in two situations: 1) In Konsole on my local machine, under screen. 2) Via SSH in Putty on Windows or a virtual terminal in Linux, also under screen. -- Dotan Cohen http://bido.com http://what-is-what.com Please CC me if you want to be sure that I read you

Re: How to change font on the fly?

2010-02-21 Thread Dotan Cohen
> In both case you cannot change font inside vim, since the environment of vim > is now screen and you cannot change the font in screen. > Really, because of screen? Thanks, I did not know that. > You can always change font directly in konsole or putty menu though. > Yes.

Re: How to change font on the fly?

2010-02-26 Thread Dotan Cohen
sing_a_map_ala_firefox > > > Looks like someone cleaned up the tips and merged them. > > Anyway, there you have it. > Thanks! -- Dotan Cohen http://bido.com http://what-is-what.com Please CC me if you want to be sure that I read your message. I do not read all list mail. -- You

Please, suggest a font!

2010-03-03 Thread Dotan Cohen
someone please recommend a font! Thanks! -- Dotan Cohen http://bido.com http://what-is-what.com Please CC me if you want to be sure that I read your message. I do not read all list mail. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below th

Re: Please, suggest a font!

2010-03-03 Thread Dotan Cohen
On 3 March 2010 11:07, Lorenzo Bolla wrote: > I use proggy fonts. > http://www.proggyfonts.com/ > hth, > L. > On Wed, Mar 3, 2010 at 9:00 AM, Dotan Cohen wrote: Thanks, I am familiar with the proggy font collection. Those fonts are great for small px sizes, however that is not th

Re: Please, suggest a font!

2010-03-03 Thread Dotan Cohen
on the M an W) sans-serif mono font with kerning modern-looking glyphs. Now that I have identified the keywords I'll get to googling this a well. But other suggestions are welcome! Thanks. -- Dotan Cohen http://bido.com http://what-is-what.com Please CC me if you want to be sure that I

Re: Please, suggest a font!

2010-03-03 Thread Dotan Cohen
> DejaVu Sans Mono > > http://dejavu-fonts.org > Actually, that is a rather decent font and it is installed on probably every major Linux distro. It is more readable than the Droid font for similar letters. I wonder how I did not notice this before! Thanks! -- Dotan Cohen http://b

Re: Please, suggest a font!

2010-03-03 Thread Dotan Cohen
of your files before you decide to write > the setting into your vimrc or gvimrc, because it may look less nice in > "real" conditions than on the example shown in the font chooser. If you > don't see any font which looks better than the one you're already using, you >

Re: Please, suggest a font!

2010-03-06 Thread Dotan Cohen
it is OT for the list, I would greatly appreciate it. I have tried playing with all sorts of config files in the past, both in my user directory and in system-wide directories, and have gotten nowhere. I'm on Kubuntu 9.10, if it matters. Thanks! -- Dotan Cohen http://bido.com http://what

Re: Please, suggest a font!

2010-03-06 Thread Dotan Cohen
; candle. > Thanks, Tony. I though that you meant that, for instance, Arabic would show in font X and Latin might show in font Y. That would be a treat! It could probably be done on a unicode-blocks level. -- Dotan Cohen http://bido.com http://what-is-what.com Please CC me if you want to be sure

Re: Please, suggest a font!

2010-03-06 Thread Dotan Cohen
>> Thanks! However, :set leftright doesn't seem to reverse it back! > > It's :set norightleft to get back to normal. > I feel so cheated! -- Dotan Cohen http://bido.com http://what-is-what.com Please CC me if you want to be sure that I read your message. I do not rea

Re: Is vim just for programmers?

2010-03-07 Thread Dotan Cohen
cks > about how to put to best use the wonderful set of tools which Vim has to > offer -- and, let me repeat, for any text editing task whatsoever. > > I am not a programmer, but I use VIM. I use it mainly because there is no word processor that supports VIM keybindings, as I hate the rodent. I

Re: Please, suggest a font!

2010-03-07 Thread Dotan Cohen
he .ttf file to my other (Mac) machines as my new > default mono font. > That is nice, but the difference is so subtle that I cannot tell. -- Dotan Cohen http://bido.com http://what-is-what.com Please CC me if you want to be sure that I read your message. I do not read all list mail. --

Re: Please, suggest a font!

2010-03-07 Thread Dotan Cohen
as not in the least bit scared to be mashed into a pulp >       Or to have his eyes gouged out and his elbows broken; >       To have his kneecaps split and his body burned away >       And his limbs all hacked and mangled, brave Sir Robin. Run away! Run away! -- Dotan Cohen http://bido.c

Re: Please, suggest a font!

2010-03-07 Thread Dotan Cohen
good next to one another. > > 'guifont' can be set to a comma-separated list of fonts, but IIUC gvim > globally uses the first installed font in the list, unlike the HTML > rendering engine of your browser, which, for each character, uses the first > installed font in the li

Re: Is vim just for programmers?

2010-03-08 Thread Dotan Cohen
feature in Koffice, please comment in support of this feature request: VI mode, like Kate has https://bugs.kde.org/show_bug.cgi?id=219889 -- Dotan Cohen http://bido.com http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your rep

Re: Is vim just for programmers?

2010-03-08 Thread Dotan Cohen
for Open Office: http://www.openoffice.org/issues/show_bug.cgi?id=89663 -- Dotan Cohen http://bido.com http://what-is-what.com Please CC me if you want to be sure that I read your message. I do not read all list mail. -- You received this message from the "vim_use" maillist. Do not top-

Re: Please, suggest a font!

2010-04-18 Thread Dotan Cohen
> Wow this generated a lot of responses :) Many responses indeed! I have experimented with most of the fonts suggested, and have switched to DevaVu Sans. Thanks! -- Dotan Cohen http://bido.com http://what-is-what.com Please CC me if you want to be sure that I read your message. I do not r

Marking lines for deletion

2010-04-28 Thread Dotan Cohen
I use VIM for editing mails. Often I must trim responses, but I do not know in advance how many lines. Is there a way to mark "start delete", then J my way down to the last line, and there to active the delete? Thanks! -- Dotan Cohen http://bido.com http://what-is-what.com -- Yo

Re: Marking lines for deletion

2010-04-28 Thread Dotan Cohen
On 28 April 2010 21:53, AK wrote: > V > Thank you! -- Dotan Cohen http://bido.com http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit ht

Re: Marking lines for deletion

2010-04-28 Thread Dotan Cohen
ading through > >  :help motion.txt > > gives you an abundance of motions you can use with operators (such as "d" in > your case) that can make your editing much faster. > > -tim > > Thanks, Tim, I will go through those docs. -- Dotan Cohen http://bido.com http

Re: Marking lines for deletion

2010-04-29 Thread Dotan Cohen
On 29 April 2010 06:22, Vladimir Rybas wrote: > I usually delete blocks like > V j j j d > by the way, you could use "conditional deletion" > :g/^> /d > will delete all lines, starts with `> ` > ‎Thanks, but I usually quote and leave part of them. But it is a go

Re: Marking lines for deletion

2010-04-29 Thread Dotan Cohen
the lines, with a range starting > at your previous mark like this: > :d,.d > > Or, instead of using an ex command in (3), you could use a motion as > suggested before, to delete up to the mark: > d'd > > See :help bookmark for details. > Thanks, Ben! -- Dotan

Where are the VIM buffers stored?

2010-05-28 Thread Dotan Cohen
Ii have noticed that I can exit VIM then open another file and my buffers are saved! Where is that info saved? Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below th

Re: Where are the VIM buffers stored?

2010-05-29 Thread Dotan Cohen
On 29 May 2010 00:16, Tim Chase wrote: > On 05/28/2010 04:03 PM, Dotan Cohen wrote: >> >> Ii have noticed that I can exit VIM then open another file and my >> buffers are saved! Where is that info saved? > > I presume by "buffers" you mean what Vim calls &quo

Re: Where are the VIM buffers stored?

2010-05-29 Thread Dotan Cohen
ay tweak the default behavior in the stock vim settings); or you > may have put something in your vimrc, forgotten about it, and then not > carried your vimrc to a new upgrade/platform. > Any of those are possible, I'm quite a noob and had distro-hopped a bit. Thanks. -- Dotan Cohen h

How to copy the name of the variable / function under the cursor?

2010-09-09 Thread Dotan Cohen
Is there a quick way to copy the name of the variable / function under the cursor (respecting word boundaries) to the clipboard without having to meticulously highlight and copy it in the regular fashion? -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this

Return } to previous indent

2010-09-13 Thread Dotan Cohen
I have smartindent set, but I'd like VIM to return to the previous indentation (back four spaces) when } (close block) is pressed. Is this possible? The terrific Kate (KDE text editor) and even the MS Visual Studio series have this wonderful feature. Thanks. -- Dotan Cohen

Re: Return } to previous indent

2010-09-13 Thread Dotan Cohen
et? > No, I do not use any of those. However, I am on GVIM Portable at the moment (silly college uses Windows), so I will experiment with real VIM in Debian at home this evening. Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the

Re: How to copy the name of the variable / function under the cursor?

2010-09-13 Thread Dotan Cohen
lt of the whole command gets >    copied to the clipboard. > > Regards, > Jürgen > Thank you Jürgen! I mapped mp"+yiw`p to a function key and it is a tremendous time saver. Your explanation was invaluable, I make a point of understanding what I'm doing (both in the editor,

Mark selection for replace

2010-09-13 Thread Dotan Cohen
em confused (not restricted to the VIM community)? Thanks! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Vim tutor file?

2010-09-20 Thread Dotan Cohen
the vimtutor file? Thank you! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

For languages that end statements with semicolons: d$-1

2010-10-27 Thread Dotan Cohen
nt to delete"); Something like d$N where N is the amount of characters to keep (d$1 for the first case and d$3 for the second case) would be great. Thanks for any ideas. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use"

Re: For languages that end statements with semicolons: d$-1

2010-10-27 Thread Dotan Cohen
On Wed, Oct 27, 2010 at 11:54, John Beckett wrote: > Before looking at your request, are you aware of text objects? > No, but from reading the rest o fyour message it seems to be what I want! Thanks! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this m

Change background colour to specific colour

2010-12-01 Thread Dotan Cohen
I have been googling for a way to change the background colour of VIM to a specific colour. For example, I'd like it to be #c6c0d7. Is there no way to do such a thing? I only see references to using already-configured colours in VIM. Thanks. -- Dotan Cohen http://gibberish.co.il http://wh

Re: Change background colour to specific colour

2010-12-01 Thread Dotan Cohen
; > regards, > Christian > Thank you Christian. That does what I need! Assuming a complete beginner (does not know about gui-colors), how would one have come across that? In other words, what docs should I have consulted? Thanks! -- Dotan Cohen http://gibberish.co.il http://what-i

Move cursor to location of last change

2010-12-14 Thread Dotan Cohen
so forth. I find this feature immensely useful, and cannot google an equivalent in VIM. Must I create a macro? How? I suppose that it would go to the last place where I pressed ESC from edit mode, but I have no idea from where to get that information. Thanks! -- Dotan Cohen http

Re: Move cursor to location of last change

2010-12-17 Thread Dotan Cohen
On Tue, Dec 14, 2010 at 21:22, Adam wrote: > '. should do the trick, though as far as I know it can only go back to the > past edit location. > Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" m

Re: Move cursor to location of last change

2010-12-17 Thread Dotan Cohen
h the undo history and not the change history. > > You might also find my plugin changesPlugin > http://www.vim.org/scripts/script.php?script_id=3052 > useful. > Thank you, I will look at both these plugins. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You rece

Re: Move cursor to location of last change

2010-12-17 Thread Dotan Cohen
On Tue, Dec 14, 2010 at 22:11, Christian Brabandt wrote: > You might find g, to go the next newer change and g; to go to the next > older change useful. For navigating in the change list, also see the > :changes command. > > See > :h g, > :h g; > :h :changes > > Th

Re: Typing numbers

2011-01-30 Thread Dotan Cohen
er to press. That is the third thing that I do to any new keyboard now (while the paint on the key caps is drying, after filing notches). Keyboard pictures upon request. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist

Re: Typing numbers

2011-02-08 Thread Dotan Cohen
;m still waiting for it, it was supposed to arrive in December but twice they've postponed. Their customer support is terrible, it takes weeks for them to answer an email. If there is another delay I'm cancelling my order, which is too bad as I cannot find another "clicky" split

Re: Typing numbers

2011-02-08 Thread Dotan Cohen
On Tue, Feb 8, 2011 at 02:26, Chris Jones wrote: > On Mon, Feb 07, 2011 at 05:08:36AM EST, Dotan Cohen wrote: >> Here's a closeup photo of the cutting of the silicon domes. > > Hello Dotan, > > Thanks much for this pic and the other. Till I saw it I honestly had no

Re: Typing numbers

2011-02-10 Thread Dotan Cohen
w Cherry-based keyboard is right in range. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: Typing numbers

2011-02-10 Thread Dotan Cohen
apter-15cm-length-45594 > I have two or three of those, they are very hit and miss. Some work with some keyboards. The real $15 ones do more than just match electrical connections. I forget the details, but they work much better. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com --

CLI VIM on Windows

2011-04-03 Thread Dotan Cohen
to the CMD. However, it opens a new window with Gvim, and I must use the rather long "gVimPortable.exe" command. Is there a way to get the behaviour of vim on Linux, where I would just type vim and it would open in the CMD? Thanks. -- Dotan Cohen http://gibberish.co.il http://what-

Re: Any non-programmer users of Vim here?

2011-04-11 Thread Dotan Cohen
tor set to vim > > 6: http://dactyl.sourceforge.net/pentadactyl/ > You might want to look at Vimerator for Firefox and Muttator for Thunderbird. Actually, it was from Vimperator that I got into VIM. http://vimperator.org/ -- Dotan Cohen http://gibberish.co.il http://what-is-what.com --

Enabling/disabling keyboard layout on the fly (qwerty vs colemak)

2011-08-25 Thread Dotan Cohen
I'm just getting into Colemak and this is the VIM layout that I'm using: http://colemak.com/pub/vim/colemak.vim However, I still want to be able to switch to Qwerty on the fly. Is there a way to quickly enable/disable the Colemak mapping when I switch to Qwerty? Thanks! -- Dotan C

Re: Enabling/disabling keyboard layout on the fly (qwerty vs colemak)

2011-08-25 Thread Dotan Cohen
On Thu, Aug 25, 2011 at 13:38, Dotan Cohen wrote: > I'm just getting into Colemak and this is the VIM layout that I'm using: > http://colemak.com/pub/vim/colemak.vim > > However, I still want to be able to switch to Qwerty on the fly. Is > there a way to quickly enable/di

Re: VimConf

2011-08-31 Thread Dotan Cohen
essions, but I would rather not give out my email address. An RSS feed would be more appreciated. Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Smartindent inserting two tabs instead of one

2011-09-10 Thread Dotan Cohen
(regular vim in Ubuntu is compiled without clipboard support) and I think that this problem started about the time that I installed the vim-gnome package. Note that I am still using VIM in the terminal editor, not the GUI window. $ cat .vimrc set tabstop=4 set smartindent Thanks. -- Dotan Cohen http

Re: Smartindent inserting two tabs instead of one

2011-09-10 Thread Dotan Cohen
by moving the cursor can be seen to be two four-character-width tabs. Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more

Re: Smartindent inserting two tabs instead of one

2011-09-10 Thread Dotan Cohen
On Sat, Sep 10, 2011 at 15:21, Thomas Ba wrote: > Hi, > > :help shiftwidth > > What you need is: > :set shiftwidth=4 > Thank you. I thought that I did play with shiftwidth (found that by googling) but now that I try it again it works. Thanks. Have a peaceful weekend!

Go back to variable after gd

2011-09-13 Thread Dotan Cohen
I just discovered the terrific gd command. What a gem that is! After using the gd command, is there a way to jump back to the place where I was without setting a bookmark? Sort of like Ctrl-Shift-G in Eclipse? Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You

Re: Go back to variable after gd

2011-09-13 Thread Dotan Cohen
wing the word jumplist, this was one that I could not google! Have a great day! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: Go back to variable after gd

2011-09-13 Thread Dotan Cohen
On Tue, Sep 13, 2011 at 14:01, Karol Samborski wrote: > You can try with ctrl-o > Thanks, Karol! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are

Re: Go back to variable after gd

2011-09-17 Thread Dotan Cohen
> Just hit '(single quotation mark) twice > this command jump to location before you use gd command. > I hope it help you ^^ Thanks, that is very helpful! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" m

Taglist on CentOS

2011-10-06 Thread Dotan Cohen
,/usr/share/vim/vimfiles,/usr/share/vim/vim70,/usr/share/vim/vimfiles/after,~/.vim/after This is on a CentOS 5.4 machine. What might be the issue? Thanks! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not

Re: Taglist on CentOS

2011-10-10 Thread Dotan Cohen
ts of > root). > Yes: [root@localhost html]# pwd /var/www/html [root@localhost html]# cd ~ [root@localhost ~]# pwd /root [root@localhost ~]# -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-p

Cannot use gf to go to file, path seems set

2011-10-31 Thread Dotan Cohen
t find the file. I did try each value of the path my itself, still no good. What might I be doing wrong? VIM 7.x, CentOS 5.x. Thanks! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your repl

Re: Cannot use gf to go to file, path seems set

2011-11-01 Thread Dotan Cohen
, Gary, that makes sense. Is there any workaround? This is a huge (>8 files) application, full of include()s and require()s. Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type

Re: Cannot use gf to go to file, path seems set

2011-11-01 Thread Dotan Cohen
ex as I am rather inexperienced in this. Are there any fine manuals that I should be reading? Also, I should be using nmap, right? Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type y

Re: Cannot use gf to go to file, path seems set

2011-11-01 Thread Dotan Cohen
substitute(expand(''), '^/', '', '') > I won't look at that just yet! But I will compare notes after I piece mine together, or if I get too stuck. Again, thank you! I will figure this out and post back. -- Dotan Cohen http://gibberish.co.il http:

Re: Cannot use gf to go to file, path seems set

2011-11-02 Thread Dotan Cohen
in production until I learn the method. It works perfect. Thank you for both giving to me the tools to teach myself and also the solution to learn from and to be productive in the meantime. Your help and advice is greatly appreciated! -- Dotan Cohen http://gibberish.co.il http://what-is-what.

Re: Cannot use gf to go to file, path seems set

2011-11-02 Thread Dotan Cohen
t copying the end result here. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: mapping ALT-backspace

2011-11-05 Thread Dotan Cohen
Shift-Left is mapped by default to Previous Tab in Konsole, and I use that feature often enough to not want to change it. That said, I work on disparate servers (SSH) so I prefer to learn the 'right' VIM way as opposed to remapping when I can. Thanks. -- Dotan Cohen http://gibb

Re: mapping ALT-backspace

2011-11-05 Thread Dotan Cohen
; The rightest of the "right" Vim ways is to RTFM. > Ouch, I deserved that! Thanks, Tony. Have a great week! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the

Re: top/bottom posting [Re: an independent Chinese IME is available]

2009-01-06 Thread Dotan Cohen
2009/1/6 bill lam : > I don't think email client is a good excuse for top (or bottom) post. Exactly. I use Gmail, which uses top post and has no option to change. So I _move_the_cursor_down_manually_. Takes a lot of effort, let me tell you! -- Dotan Cohen http://what-is-what.

Re: code clean up

2009-01-31 Thread Dotan Cohen
2009/1/31 Yue Wu : > > Oooops, really sorry for noise, ignre it please. > http://bash.org/?246405 -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-В-Г-

Re: VIM with remote file systems?

2009-02-16 Thread Dotan Cohen
eally). You then open the document in Gvim. Konqueror copies the file to tmp and when you save it writes back to the remote system. You might even be able to get away with this in Konsole, I haven't tried. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ

Re: VIM with remote file systems?

2009-02-16 Thread Dotan Cohen
o run vim on the local machine, but open a remote file. KDE makes this easy, but I am unfamiliar with the Mac so I don't know how you would do it. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع

Using Vim's :help feature to find keyboard shortcuts

2011-11-22 Thread Dotan Cohen
oogle that Ctrl-o,o does what I want, the help text for Ctrl-o makes no mention of what this shortcut does in Insert mode. That, or I am using it wrong. Am I using the help wrong? Should the help text describe what the shortcut does in Insert mode too? Thanks. -- Dotan Cohen http://gibberish.

Re: Using Vim's :help feature to find keyboard shortcuts

2011-11-22 Thread Dotan Cohen
bout useless. I suppose that I should probably map Ctrl-o,o to Enter, and regular enter to Ctrl-enter! Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below th

Re: Using Vim's :help feature to find keyboard shortcuts

2011-11-22 Thread Dotan Cohen
m to Anki [1]! Thanks! [1] http://ankisrs.net/ -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: Using Vim's :help feature to find keyboard shortcuts

2011-11-22 Thread Dotan Cohen
ng someone else's code. I did not realize that VIM would reformat code, now I have yet another thing to google this evening. Thanks! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your re

Combining normal commands and an exe in a map

2011-12-07 Thread Dotan Cohen
anual should I be reading? Thanks. [1] http://stackoverflow.com/questions/8402412/vim-navigating-xdebug-traces -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: Combining normal commands and an exe in a map

2011-12-07 Thread Dotan Cohen
he > exe altogether. See :help :map-. > Thank you Ben. Interestingly, I had to move the cursor over two places, which is one more than I did when typing the commands by hand. Here is the final result: nnoremap 0f- :exe '/^.\{'.(col(".")-2).'\}-' I learned a lot

Re: h j k l -- keys

2011-12-16 Thread Dotan Cohen
(then why is return there?) that it is much easier on the hands to put relatively unfrequent left all the way on the left and double up the index finger's job rather than force the pinky to work. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: h j k l -- keys

2011-12-19 Thread Dotan Cohen
does seem to be a happy coincidence that the the linefeed character just happened to be on the strongest finger. Not impossible, but rather convenient. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type

Undo assign mark?

2011-12-27 Thread Dotan Cohen
If I accidentally press ma instead of 'a, is there any way to revert mark A to its previous value? Assuming, of course, that I do not remember where it was and this is a _long_ file. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the &qu

Re: What did I do?

2012-01-17 Thread Dotan Cohen
ead this: http://vim.wikia.com/wiki/Insert-mode_only_Caps_Lock I have CapsLock and Esc swapped, but I do use CapsLock when typing SQL into code that someone else may maintain. I have a bit KDE widget that lights up whenever CapsLock is on, for the simple reason that I never look at my ke

Re: What did I do?

2012-01-21 Thread Dotan Cohen
slock and Esc > keys? [I take it the remapping would only be in effect in vim?] Sorry for the delay. Switching CapsLock and Escape is a KDE feature, though I would assume that your Mac should have something similar. Check in the same place that you would set the keyboard layouts and such.

Re: Redhat Linux has crippled Vim

2012-01-26 Thread Dotan Cohen
maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php You need to install "vim" or "vim-full" or some such package. CentOS and Ubuntu do the same thing, it is not big deal. -- Dotan

Re: Redhat Linux has crippled Vim

2012-01-26 Thread Dotan Cohen
On a recent CentOS I see it is vim-enhanced: # yum install vim-enhanced -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information,

  1   2   >