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
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
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
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
(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
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
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
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
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
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
: 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
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
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
). 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
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
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
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
. 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
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
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
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
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
. 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
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
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
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
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
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
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
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
!
--
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
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
?
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
-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
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
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
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
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
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
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
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
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
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
, 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
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
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
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
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
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
/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
, 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
/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
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
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
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
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
!
--
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
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
('{','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
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
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
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
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
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
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
) 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
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
://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
, 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
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
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
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
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
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
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
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
. 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
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
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
.
: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
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
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
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
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
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
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
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
-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
?]
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
://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
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
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
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
/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
. 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
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
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
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
?
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
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 - 100 of 178 matches
Mail list logo