Re: Can 'set ' be elided? When?

2013-03-31 Thread Dotan Cohen
However the following does work: :colorscheme desert Why is syntax an option yet colorscheme a command? -- 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

Re: Can 'set ' be elided? When?

2013-03-31 Thread Dotan Cohen
are not options? Thank you. I did not realize that syntax actually changes the behaviour of VIM. I suppose that it could change things like indentation. -- 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: Can 'set ' be elided? When?

2013-03-25 Thread Dotan Cohen
On Sat, Mar 23, 2013 at 12:58 AM, Paul Isambert zappathus...@free.fr wrote: Selon Dotan Cohen dotanco...@gmail.com: I notice that some settings use the format ':set name=value' and other use ':name value'. For instance: :set syntax=php :syntax off Note that :syntax php doesn't work. Can

Can 'set ' be elided? When?

2013-03-22 Thread Dotan Cohen
I notice that some settings use the format ':set name=value' and other use ':name value'. For instance: :set syntax=php :syntax off Can the string 'set ' always be safely elided? If not, then what are the guidelines? Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com

Re: How to solve Bidi support in Vim/GVim

2012-11-13 Thread Dotan Cohen
(disclaimer: my own website) explaining how RTL and LTR spans work together: http://dotancohen.com/howto/rtl_right_to_left.html -- 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

Re: How to solve Bidi support in Vim/GVim

2012-11-11 Thread Dotan Cohen
are familiar with. -- 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: What do I need to read to understand g: and s: VIM variable prefixes?

2012-11-04 Thread Dotan Cohen
cannot declare a variable except by giving that variable a value (possibly an empty value such as , [] or {}). I realize that. I just stated that Vimscript is different than other environments that I am familiar with, and that it was good of you to point out an important difference. -- Dotan

Re: What do I need to read to understand g: and s: VIM variable prefixes?

2012-10-31 Thread Dotan Cohen
fermentation? -- 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: What do I need to read to understand g: and s: VIM variable prefixes?

2012-10-31 Thread Dotan Cohen
On Wed, Oct 31, 2012 at 8:33 PM, Tim Chase v...@tim.thechases.com wrote: On 10/31/12 06:05, Dotan Cohen wrote: On Wed, Oct 31, 2012 at 12:55 PM, Tony Mechelynck wrote: Yes, and in addition, if you don't use a scope prefix Vim implies l: if you're inside a function and g: otherwise. See :help

Re: What do I need to read to understand g: and s: VIM variable prefixes?

2012-10-31 Thread Dotan Cohen
On Wed, Oct 31, 2012 at 9:52 PM, donothing successfully donothingsuccessfu...@gmail.com wrote: On 31 October 2012 19:15, Dotan Cohen dotanco...@gmail.com wrote: […] #include stdio.h int foo(); int main() { int x = 42; printf(%d, x); foo(); return 0

What do I need to read to understand g: and s: VIM variable prefixes?

2012-10-30 Thread Dotan Cohen
: for that precedes the second function's name, and why does it change scope (s for scope, perhaps)? 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

Re: What do I need to read to understand g: and s: VIM variable prefixes?

2012-10-30 Thread Dotan Cohen
it. 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

Re: What do I need to read to understand g: and s: VIM variable prefixes?

2012-10-30 Thread Dotan Cohen
variable, global variable but with a separate copy for each tab page b: buffer-local variable, global variable but with a separate copy for each buffer Great, thank you! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the vim_use maillist. Do

Re: Replacing current line with last-yanked register

2012-10-16 Thread Dotan Cohen
). There is no advertising on that site, just some helpful tips for and by the community. -- 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

Re: Replacing current line with last-yanked register

2012-10-16 Thread Dotan Cohen
and a few other pages, there seems to be no restriction about including multiple tips on one page. -- 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: Replacing current line with last-yanked register

2012-10-15 Thread Dotan Cohen
On Mon, Oct 15, 2012 at 2:40 PM, Cesar Romani cesar.rom...@gmail.com wrote: In tha case you could use S instead of C, then CTRL-R0 and ESC. Then you only need to use '.' Thanks, Cesar, that ties up the last missing piece of this puzzle! Terrific! -- Dotan Cohen http://gibberish.co.il http

Re: Replacing current line with last-yanked register

2012-10-14 Thread Dotan Cohen
character? I tried `IC-oVp` with the hope that the `i` would make it repeatable, but this is not so! -- 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: Replacing current line with last-yanked register

2012-10-14 Thread Dotan Cohen
. I _felt_ that there had to be a simple way to do this task in VIM. That's just VIM. Thank you Marcin for showing me the bits of VIM that I was missing. -- 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: Change colour of cursor and matching bracket

2012-10-02 Thread Dotan Cohen
terminal codes. Do a :helpgrep t_Co and browse the list of hits for details. Or search the wiki: http://vim.wikia.com/wiki/index.php?search=t_Cofulltext=Search Thanks, I'll get on that! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from

Change colour of cursor and matching bracket

2012-09-30 Thread Dotan Cohen
background for the matching parenthesis / bracket. -- 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

Create a 1,000,000 byte file with VIM.

2012-09-11 Thread Dotan Cohen
inserted and left 100 times. Is there a better way, other than just doing the operation 1000 times, then copying that another 1000 times? 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: Create a 1,000,000 byte file with VIM.

2012-09-11 Thread Dotan Cohen
Just to be clear, of course I am aware of bult-in Linux utilities such as dd, ut I am trying to figure out what is wrong with VIM to understand how to use that tool better in the future. Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from

Re: Create a 1,000,000 byte file with VIM.

2012-09-11 Thread Dotan Cohen
. This is the correct way! Interestingly, though there is no trailing whitespace, I had to have only 99 characters to get a 100 file, in other words there is an extra byte in there somewhere. Perhaps a BOM due to the UTF-8 file system? -- Dotan Cohen http://gibberish.co.il http://what-is-what.com

Re: Create a 1,000,000 byte file with VIM.

2012-09-11 Thread Dotan Cohen
On Tue, Sep 11, 2012 at 2:34 PM, John Beckett johnb.beck...@gmail.com wrote: Dotan Cohen wrote: I am trying to create a 1,000,000 byte file with VIM. The following has VIM using 100% of _both_ my CPUs (Intel DuoCore) for almost two hours before I killed it: iaesc100. Vim is for editing

Re: Create a 1,000,000 byte file with VIM.

2012-09-11 Thread Dotan Cohen
On Tue, Sep 11, 2012 at 2:50 PM, Erik Christiansen dva...@internode.on.net wrote: On 11.09.12 14:34, Dotan Cohen wrote: I had to have only 99 characters to get a 100 file, in other words there is an extra byte in there somewhere. If ff is unix, then a '\n' is appended to the line

Re: Create a 1,000,000 byte file with VIM.

2012-09-11 Thread Dotan Cohen
in there. This is quite why I asked the question! -- 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: Vim for iPad

2012-09-02 Thread Dotan Cohen
just found a terrific software keyboard on Github, licensed under the MIT license, you might want to see about incorporating it with VIM on the iDevices: https://github.com/adamhoracek/KOKeyboard -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from

Enable option / disable option

2012-07-31 Thread Dotan Cohen
to enable / disable this feature, for instance on leaderh. Is there any way to do this? I could write a function to set the option, but how to disable it afterwards, and how to check the state so that the same key could toggle? Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com

Re: Enable option / disable option

2012-07-31 Thread Dotan Cohen
it :) regards, Geoff That's fine, I'm married and thus used to my questions being evaded :) The problem with that plugin is: א) It requires leaving the home row, and ב) I don't have a numpad on some keyboards that I use! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You

Re: Enable option / disable option

2012-07-31 Thread Dotan Cohen
words to be highlighted, say toggling them with \hw (highlight word), and _also_ to have the ablility to toggle highlight-word-under-cursor, say with \hh. -- 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: VIM scrollbar

2012-07-09 Thread Dotan Cohen
! -- 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: VIM scrollbar

2012-07-08 Thread Dotan Cohen
then to just import it all into the proper VIM directories? I don't use Pathogen or any such VIM package managers. -- 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

Re: VIM scrollbar

2012-07-04 Thread Dotan Cohen
? I read through ':h functions' and for (2) I thought that get() would work, but it doesn't. And for (3) I was hoping for a put() function but there is none. Is there something that I'm missing or should I write my own helper functions for this? Thanks! -- Dotan Cohen http://gibberish.co.il http

Re: VIM scrollbar

2012-07-04 Thread Dotan Cohen
-functions or using indexing like bar[2] :h expr8 :h match() :h substitute() Thank you, it looks like those are all the critical pieces. When I get something working I'll post it. Mit freundlichen Grüßen Christian Danke Jungs! -- Dotan Cohen http://gibberish.co.il http://what

Re: Going back to empty brackets and quotes

2012-06-23 Thread Dotan Cohen
On Sat, Jun 23, 2012 at 10:18 PM, Christian Brabandt cbli...@256bit.org wrote: Hi Dotan! On Sa, 23 Jun 2012, Dotan Cohen wrote: On Thu, Jun 21, 2012 at 10:40 PM, Christian Brabandt cbli...@256bit.org wrote: Hi Dotan! On Do, 21 Jun 2012, Dotan Cohen wrote: Hello, I have

Going back to empty brackets and quotes

2012-06-21 Thread Dotan Cohen
whitespace characters with a single whitespace, set a mark, paste the now-half-size selection again, and then return to the mark. That didn't work out so well either! What approach should I be taking? Thank you! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message

Re: Where in the manual are i, o, and a as in ciw cow caw?

2012-06-07 Thread Dotan Cohen
On Wed, Jun 6, 2012 at 10:03 PM, Tim Chase v...@tim.thechases.com wrote: On 06/06/12 13:54, Dotan Cohen wrote: I understand the use of i in ciw, but I am not quite sure about o and a. Where can these be found in the fine manual? Of course, :h i does not lead own to them, because it leads one

Re: Where in the manual are i, o, and a as in ciw cow caw?

2012-06-07 Thread Dotan Cohen
On Wed, Jun 6, 2012 at 10:26 PM, Gary Johnson garyj...@spocom.com wrote: On 2012-06-06, Dotan Cohen wrote: I understand the use of i in ciw, but I am not quite sure about o and a. Where can these be found in the fine manual? Of course, :h i does not lead own to them, because it leads one

Where in the manual are i, o, and a as in ciw cow caw?

2012-06-06 Thread Dotan Cohen
I understand the use of i in ciw, but I am not quite sure about o and a. Where can these be found in the fine manual? Of course, :h i does not lead own to them, because it leads one to the Insert text. Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received

Re: Show me the text, even if it might be autocompleted!

2012-05-14 Thread Dotan Cohen
On Sun, May 13, 2012 at 9:37 PM, Tim Chase v...@tim.thechases.com wrote: On 05/13/12 10:58, Dotan Cohen wrote: I have a few of these wonderful helpers: inoremap foreachReturn foreach (SpaceSpace)Return{ReturnR  eturn}Esc3kALeftLeft I know that there is a snippets plugin, but I like this roll

Re: Show me the text, even if it might be autocompleted!

2012-05-14 Thread Dotan Cohen
notice that the letter-started mappings are all there to avoid using the Arrow keys or Esc key. Is there any way to accomplish this? Not as far as I know. Well, we tried! Thank you Ben. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from

Re: Show me the text, even if it might be autocompleted!

2012-05-14 Thread Dotan Cohen
do have CapsLock remapped to Esc but among the problems that I have with my hands, my pinky fingers are starting to hurt. I've come up with all sorts of creative solutions but in the end, I keep returning to a normal keyboard layout and I just need to use them as little as possible. -- Dotan Cohen

Show me the text, even if it might be autocompleted!

2012-05-13 Thread Dotan Cohen
type an h, i, l, { or ; character I go nuts when the cursor does not move as expected. I am one of those funny people who look at the monitor, not the keyboard, when I type! Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the vim_use

Re: Toggle paste and nonu in one keystroke

2012-05-12 Thread Dotan Cohen
, though, that only solves half the issue! -- 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

Toggle paste and nonu in one keystroke

2012-05-11 Thread Dotan Cohen
modes. noremap F2 PasteMode() function! PasteMode() if exists(SOME_TYPE_OF_PERSISTENT_VARIABLE) unset PERSISTENT_VARIABLE set nopaste set nu else set PERSISTENT_VARIABLE set paste set nonu endif endfunction Thanks in advance for any advice. -- Dotan Cohen http

Re: Toggle paste and nonu in one keystroke

2012-05-11 Thread Dotan Cohen
lines. Is there a workaround for that? 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

Re: Toggle paste and nonu in one keystroke

2012-05-11 Thread Dotan Cohen
Thanks, that is exactly what I need. Have a terrific weekend. Thank you for the advice! -- 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

Re: No ~/.vim/after/syntax/php.vim

2012-05-07 Thread Dotan Cohen
with the integer! TRWFT is PHP. -- 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: No ~/.vim/after/syntax/php.vim

2012-05-04 Thread Dotan Cohen
On Thu, May 3, 2012 at 11:49 PM, Gary Johnson garyj...@spocom.com wrote: On 2012-05-03, Dotan Cohen wrote: On Thu, May 3, 2012 at 10:34 PM, Ben Fritz wrote: It shouldn't, without a syntax/php.vim file somewhere. As noted, this file is only sourced as-needed; is the output

No ~/.vim/after/syntax/php.vim

2012-05-03 Thread Dotan Cohen
/matchparen.vim 21: /usr/share/vim/vim73/scripts.vim Press ENTER or type command to continue Why might that be? This is on Kubuntu 11.10, KDE 4.7 with VIM 7.3. My ~/.vim/after/plugin/matchparen.vim file works as expected, so it seems that the after files are supported. Thanks. -- Dotan Cohen http

Re: No ~/.vim/after/syntax/php.vim

2012-05-03 Thread Dotan Cohen
, strblah() is not highlighted whereas strlen() is highlighted. So it looks like PHP-specific highlighting to me. -- 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

Re: No ~/.vim/after/syntax/php.vim

2012-05-03 Thread Dotan Cohen
/share/vim/vim73/filetype.vim And what is the value of b:current_syntax? I'm not sure what you mean by that. What command exactly should I be running? 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

Re: No ~/.vim/after/syntax/php.vim

2012-05-03 Thread Dotan Cohen
On Thu, May 3, 2012 at 11:14 PM, Charles Campbell :echo b:current_syntax Thanks, it is in fact php. -- 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

Matchtime not working

2012-05-01 Thread Dotan Cohen
SSHing into CentOS 5.x with VIM 7.0 I have this in .vimrc on all the environments that I tried: set showmatch set matchtime=10 Is this not the right way to use matchtime, or am I understanding the option incorrectly? Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You

Re: DrChip's website is back!

2012-05-01 Thread Dotan Cohen
know if there's problems/something missing. Chip Campbell I see that I'm late to the party, but let me say thank you Chip. I am learning quite a lot from your VIM page. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the vim_use maillist. Do

Re: Matchtime not working

2012-05-01 Thread Dotan Cohen
is the highlighted brace and which brace has the cursor. 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

Re: Matchtime not working

2012-05-01 Thread Dotan Cohen
! -- 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: How to go back after *

2012-04-10 Thread Dotan Cohen
into that I am very new at VIM scripting but I am diving in head first. VIM is quite a deep rabbit hole, it seems that it can do almost anything so long as one is willing to experiment a bit with the scripting. Thanks! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You

Re: How to go back after *

2012-04-08 Thread Dotan Cohen
('{','cW') sil exe normal % let endline = line(.) if curline = startline curline = endline let decl = getline(startline) endif call cursor(pos) call winrestview(win) return decl endfunction -- Dotan Cohen http

Re: How to go back after *

2012-04-08 Thread Dotan Cohen
in there! Thank you Tim. -- 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

How to go back after *

2012-04-07 Thread Dotan Cohen
there either. Does one have to set a mark to get back? That seems very annoying. -- 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

Re: VIM Showmarks: highlighting entire file, even after being removed

2012-04-07 Thread Dotan Cohen
On Thu, Apr 5, 2012 at 11:40, Ben Fritz fritzophre...@gmail.com wrote: This may be a stupid question, but did you restart Vim after removing the plugin? Actually, closing VIM and reopening did not help, but logging out of the server and logging back in did. -- Dotan Cohen http

Re: VIM Showmarks: highlighting entire file, even after being removed

2012-04-07 Thread Dotan Cohen
that ~/.vim/doc/ShowMarks (or similar) was now being created. -- 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

VIM Showmarks: highlighting entire file, even after being removed

2012-04-04 Thread Dotan Cohen
it? This is on a CentOS 5.x machine. [1] http://www.vim.org/scripts/script.php?script_id=152 -- 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

What could be the problem with VIM?

2012-03-17 Thread Dotan Cohen
This is on Kubuntu 11.10. Does anyone have any idea what the problem might be? 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

Re: What could be the problem with VIM?

2012-03-17 Thread Dotan Cohen
) you want to disable. It has been open for a few minutes with the --noplugin flag and the bell isn't ringing. So it must be a conflict with one of the plugins. Thanks! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the vim_use maillist. Do

Re: Using i to go back and insert

2012-03-15 Thread Dotan Cohen
On Thu, Mar 15, 2012 at 02:52, Tim Chase v...@tim.thechases.com wrote: On 03/14/12 14:47, Dotan Cohen wrote: imap jjEsc?\%c-r=line('.')crl\({}\\|\[]\\|\\|()\\|\\|''\\|lt\)?s+1cri I'd be tempted to use c-o instead of Esc ... i, but I'm glad it's working for you as you desire.  I think

Why does this function “skip” on some lines in PHP code?

2012-03-15 Thread Dotan Cohen
://stackoverflow.com/questions/9728199/why-does-this-function-skip-on-line-63#comment12370266_9728199 If anybody could take a look and advice me on how to fix the bug I would much appreciate it. Thanks! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from

Re: Why does this function “skip” on some lines in PHP code?

2012-03-15 Thread Dotan Cohen
, but there certainly is much in your code that I can learn from. I will spend some time pouring over it. I appreciate your help and your willingness to teach. Have a peaceful night. Thank you. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the vim_use

Re: Using i to go back and insert

2012-03-14 Thread Dotan Cohen
into the desired location between the parentheses. -- 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 i to go back and insert

2012-03-14 Thread Dotan Cohen
to understand. That is the real value! I wish to you and to those you love a peaceful evening. 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

Re: Using i to go back and insert

2012-03-13 Thread Dotan Cohen
On Mon, Mar 12, 2012 at 22:26, Tim Chase v...@tim.thechases.com wrote: On 03/12/12 08:16, Dotan Cohen wrote: On Mon, Mar 12, 2012 at 14:18, Tim Chasev...@tim.thechases.com  wrote: While an odd request, is there something I'm missing about just doing  :nnoremap ii hi And of course

Using i to go back and insert

2012-03-12 Thread Dotan Cohen
sequence manually, but if there exists a way to define a function or such then I would love to know. Thanks. [1] Index fingers on D and K -- 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

Re: Using i to go back and insert

2012-03-12 Thread Dotan Cohen
that I actually love VIM! -- 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: Textpad to GVIM

2012-03-05 Thread Dotan Cohen
industries in which the customer is referred to as a user! TL;DR: You will find GVIM frustrating at first, and you will hate it. Once you get over that step, you will fall in love with it. Just stick out those first few weeks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You

Re: Dr Chip

2012-03-04 Thread Dotan Cohen
put there. Unfortunately I cannot give to you FTP / SSH access but you can always email to me the occasional edit. Let me know, it would be an honour to help. Thanks! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the vim_use maillist. Do

Re: What is below the status line, and how to configure it?

2012-02-13 Thread Dotan Cohen
. What did you want to change about it? Thanks, Taylor. I want to have it always show the filename, the buffer number, and the amount of open buffers. I seems wasteful to me to put that info on the statusline and then take up another valuable vertical line. -- Dotan Cohen http://gibberish.co.il

Re: What is below the status line, and how to configure it?

2012-02-13 Thread Dotan Cohen
to be a bit long for VIM, certainly there is a shorter way! 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

Re: What is below the status line, and how to configure it?

2012-02-13 Thread Dotan Cohen
are referred to  :help 'statusline' Regards, Jürgen Thank you! I must say, I very much appreciate that you show me how I should have gotten to :help 'statusline' instead of just telling me. That helps me help myself in the future. Have a terrific week! -- Dotan Cohen http://gibberish.co.il http

Re: C-S-up and C-s-down

2012-02-12 Thread Dotan Cohen
.    :noremap C-S-Up V'{j    :noremap C-S-Down V'}k How's that? What is the ' for? I tried :help v_' and v' (to check ' in visual mode) but there was no help for that, and ' in regular mode (marks) does not seem relevant. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received

What is below the status line, and how to configure it?

2012-02-12 Thread Dotan Cohen
line appear above it. 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

Re: Alias on/off?

2012-01-27 Thread Dotan Cohen
for toggling keymaps, AFAIK. It might be different between normal and insert mode, though, because Ctrl-6 is listed at: :help CTRL-^ (which is a different action), but not at: :help i_CTRL-^ I see, that makes sense. Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com

Re: Redhat Linux has crippled Vim

2012-01-27 Thread Dotan Cohen
VIM version is on there? I do not know how recent of a CentOS or Fedora binary you could run on that, but you won't break anything by trying. -- 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

Re: Redhat Linux has crippled Vim

2012-01-26 Thread Dotan Cohen
or vim-full or some such package. CentOS and Ubuntu do the same thing, it is not big deal. -- 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: 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, visit http

Re: Redhat Linux has crippled Vim

2012-01-26 Thread Dotan Cohen
On Thu, Jan 26, 2012 at 19:27, Taylor Hedberg tmhedb...@gmail.com wrote: Dotan Cohen, Thu 2012-01-26 @ 19:23:10+0200: On a recent CentOS I see it is vim-enhanced: howard Schwartz, Thu 2012-01-26 @ 08:31:02-0800: Redhat's ``enhanced'' version is not - It adds one or two trivial features

Alias on/off?

2012-01-26 Thread Dotan Cohen
Is there a way to turn 26 alias on and off with a single command? My line of thinking is to enable CapsLock in VIM itself, as opposed to in the OS, so that it will only affect input mode. Can this be done? Thanks! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received

Re: Alias on/off?

2012-01-26 Thread Dotan Cohen
-6 to go back to the original file after gf. -- 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: What did I do?

2012-01-21 Thread Dotan Cohen
?] 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. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received

Re: What did I do?

2012-01-17 Thread Dotan Cohen
://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 keyboard. -- Dotan Cohen http

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 vim_use

Re: h j k l -- keys

2011-12-19 Thread Dotan Cohen
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 your reply below

Re: h j k l -- keys

2011-12-16 Thread Dotan Cohen
to it. Then why weren't l and ; used for left and right? I would guess that since the pinky is so weak (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

Combining normal commands and an exe in a map

2011-12-07 Thread Dotan Cohen
/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
. 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 F5 0f- :exe '/^.\{'.(col(.)-2).'\}-'CR I learned a lot from your post, especially regarding nnoremap. Thank you for your help! -- Dotan

Using Vim's :help feature to find keyboard shortcuts

2011-11-22 Thread Dotan Cohen
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.co.il http

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

2011-11-22 Thread Dotan Cohen
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 the text you are replying to. For more information, visit http

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

2011-11-22 Thread Dotan Cohen
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 reply below the text you are replying

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://gibberish.co.il http

Re: mapping ALT-backspace

2011-11-05 Thread Dotan Cohen
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 text you are replying to. For more information, visit http

  1   2   >