On 03/11/2011 05:06 AM, KF wrote:
On Mar 10, 5:35 pm, Jeroen Budtsjer...@lightyear.be wrote:
Hi,
I'm looking for the quickest method to yank an entire (php) function
when the cursor is somewhere in the first line of the function
definition like this (| = cursor):
fun|ction foobar() {
if
Hello,
Is it possible to reverse uppercase letter and lowercase letter when
Caps Lock is on? Sometimes normal mode commands are uncomfortable to use
when Caps Lock is on. When Caps Lock is on, For example, Shift + I
would lead to the effect of 'i', which makes me very uncomfortable.
Thanks.
Now I found one more problem. It happened three times already, when
I :write, Vim just hangs and there is nothing else I can do unless to
kill Vim's process.
Also, when this happens, CPU usage goes from 50% to 95%. I tried
waiting a long time before killing Vim's process to see if it would
On 03/11/2011 09:55 AM, Jeroen Budts wrote:
On 03/11/2011 05:06 AM, KF wrote:
On Mar 10, 5:35 pm, Jeroen Budtsjer...@lightyear.be wrote:
Hi,
I'm looking for the quickest method to yank an entire (php) function
when the cursor is somewhere in the first line of the function
definition like this
I am somewhat fond of Vim's include and definition search
and would like to spread their use to non-C-like languages,
but I find the identification by prefix patterns too limiting for
some of the languages I use. Perhaps someone here can help?
For 'define', I can work around the limitiations of
Jeroen Budts wrote:
Hi,
I'm looking for the quickest method to yank an entire (php) function
when the cursor is somewhere in the first line of the function
definition like this (| = cursor):
fun|ction foobar() {
if (true) {
return not false :);
}
}
[snip]
If you use syntax
On 03/11/2011 04:26 AM, H Xu wrote:
Is it possible to reverse uppercase letter and lowercase
letter when Caps Lock is on? Sometimes normal mode commands
are uncomfortable to use when Caps Lock is on. When Caps Lock
is on, For example, Shift + I would lead to the effect of 'i',
which makes me
On Fri, 11 Mar 2011, H Xu wrote:
Hello,
Is it possible to reverse uppercase letter and lowercase letter when
Caps Lock is on? Sometimes normal mode commands are uncomfortable to
use when Caps Lock is on. When Caps Lock is on, For example, Shift +
I would lead to the effect of 'i', which
On Thu, March 10, 2011 5:38 pm, Benjamin R. Haskell wrote:
match WhiteSpaceError
/[\x0b\x0c\u00a0\u1680\u180e\u2000-\u200a\u2028\u202f\u205f\u3000]/
Also adding Zero-Width No-Breaking space (a.k.a. BOM) (might not want
to add this if you use any variant of UTF-16 on a regular basis):
match
On 03/11/2011 05:02 PM, Charles Campbell wrote:
Jeroen Budts wrote:
Hi,
I'm looking for the quickest method to yank an entire (php) function
when the cursor is somewhere in the first line of the function
definition like this (| = cursor):
fun|ction foobar() {
if (true) {
return not false :);
On Friday 11 March 2011 13:42:55 Jeroen Budts wrote:
Normally I don't use folding, because I don't really like it
(i set nofoldenable in my vimrc), but this is a nice case of
when it can be useful as this does indeed do exactly what i
was looking for!
i seldom use folds but when i encounter
Hello,
Using gvim in unix, a is by default in guioptions.
Yanking a word to the Unix clipboard (with +yw) does not yank the
word to the Selection buffer (*).
When suppressing the a option (with set guioptions-=a), yanking a
word to the Unix clipboard (with +yw) also yanks the word to the
Hi, All
I am new to vim. Part of my job is to search a lot of key word from very large
LOG files. I am sure I can use vim do it but do not know how.
What I need to do is have some list of keyword group (keyword that have special
chararters eg / . ? [ ])and use VIM to mark to different color.
lucentjames wrote:
What I need to do is have some list of keyword group (keyword
that have special chararters eg / . ? [ ])and use VIM to mark
to different color.
Syntax rules can be used, or highlighting with matchad().
One approach would be to use this tip (it uses matchadd()):
On 2011/3/12 2:45, Benjamin R. Haskell wrote:
On Fri, 11 Mar 2011, H Xu wrote:
Hello,
Is it possible to reverse uppercase letter and lowercase letter when
Caps Lock is on? Sometimes normal mode commands are uncomfortable to
use when Caps Lock is on. When Caps Lock is on, For example, Shift +
On 2011/3/12 0:32, Tim Chase wrote:
To make this useful, I suspect Vim would have to be able to detect when
Caps Lock is toggled on vs. off. As far as I know, there's no way to do
this short of OS keyboard-remapping so that it sends something other
than Caps that Vim can detect the keypress.
Hi,
I want to keep one of my window (file explorer) the same width all the
time (now, it's always resized if I quite one window).
One way to do this could run a resize command on the file explorer
buffer all the time. But, I didn't find a way to run a command on a
specific buffer/window. Could
Hi,
I want to keep one of my window (file explorer) the same width all the time
(now, it's always resized if I quite one window).
One way to do this could run a resize command on the file explorer buffer
all the time. But, I didn't find a way to run a command on a specific
buffer/window. Could
On 12/03/11 07:23, wei gao wrote:
Hi,
I want to keep one of my window (file explorer) the same width all the
time (now, it's always resized if I quite one window).
One way to do this could run a resize command on the file explorer
buffer all the time. But, I didn't find a way to run a command
On 03/12/2011 03:32 AM, John Beckett wrote:
lucentjames wrote:
What I need to do is have some list of keyword group (keyword
that have special chararters eg / . ? [ ])and use VIM to mark
to different color.
Syntax rules can be used, or highlighting with matchad().
One approach would be to
On 12/03/11 08:27, wei gao wrote:
Hi,
It works. Thanks a lot:) And I and one autocmd to avoid setting this
everytime I reopen the file explorer window:
autocmd BufEnter \[File?List\] exec 'set winfixwidth'
I recommend :setlocal winfixwidth (rather than just plain :set),
otherwise *all* new
21 matches
Mail list logo