On 12/26/12 18:05, Sven Guckes wrote:
. http://www.guckes.net/vimberlin/small_commands.txt.html
Gaaah...my eyes are bleeding after reading that HTML version :-)
url: http://www.guckes.net/vimberlin/small_commands.txt
Noticed a couple small items:
- you have t( instead of tX in your
On 12/21/12 12:24, Asis Hallab wrote:
Dear Vimmers,
is there a way to restrict a
g/my_regex/d
command to a range?
I tried
','norm g/min/d
but that did not do the trick.
Just specify the range:
:','g/my_regex/d
-tim
--
You received this message from the vim_use maillist.
Do not
On 12/19/12 10:46, Andy Wokula wrote:
Am 19.12.2012 04:58, schrieb Tim Chase:
%s/\c\s*a\s\+href\s*=\([']\)\(\%(\1\@![^/]\)\+\)\1\s*\([^]*\)/\=WriteShortcut(submatch(0),
submatch(3), submatch(2))/g
Now we have automatic explanation of such patterns:
:ExplainPattern
\c\s*a\s\+href\s
On 12/19/12 08:44, Cesar Romani wrote:
On 18/12/2012 10:58 p.m., Tim Chase wrote:
function! WriteShortcut(whole, name, url)
call writefile(['[InternetShortcut]', 'URL='.(a:url), ''],
(a:name).'.txt')
return a:whole
endfunction
Thanks, it works fine. If the name contained
On 12/18/12 20:36, Cesar Romani wrote:
If I have the following line:
a href=http://www.whatever.com;SomeTitle/a
How to create the file SomeTitle.txt with the content (without the
dashes):
[InternetShortcut]
URL=http://www.whatever.com
The other
On 12/13/12 11:11, dza wrote:
I wonder why my Vim is so slow over our Windows samba share - not
only opening/closing is slow - also typing and edit/insert
commands are slow as well :-commands, plugins, everything.
Can I tame Vim running on a fileshare? Or make it cache the files
locally so
Not sure it's a gvim problem or fluxbox. I start gvim from
fluxbox menuitem 'run', then I get a very big gvim window on the
virtual screen. It's title bar locates far outside of the screen,
so I cannot click it an resize it.
Does anyone have a clue? Thanks!
It sounds like your
On 12/09/12 08:41, Some Developer wrote:
Is it possible to set the default size of a split when it is opened? I
use the Vim man page plug-in that allows you to use Leader+K to open
the man page for the word under the cursor but it opens in a split that
is tiny and also resizes any other
I really dig the full screen writing and sound features of Omm
Writer, and I was wondering if there was any way to customize vim
to do a similar thing. Would this be possible with a vimscript? I
don't know much about scripting vim, but I would like to learn
more, especially if I could get all
On 12/04/12 14:28, Chris Lott wrote:
Why does this not work?
let dnfile = strftime(%Y) . .md
nmap leaderdn execute 'e ' fnameescape(dnfile)
dnfile is set properly, but when I try to invoke it, it makes a change
to the current buffer...
It looks like you need to enter Ex mode and execute
On 12/02/12 20:15, Jiaxing Wang wrote:
In :g/how are you?/.;/:-)/d,
Is '/how are you?/.;/:-)/' the pattern in
:[range]g[lobal]/{pattern}/[cmd]?
Would you mind explaining this pattern a little? I don't quite
understand this, thanks.
Using your template of :[range]global]/{pattern}/[cmd]
On 12/02/12 20:46, stosss wrote:
On Sun, Dec 2, 2012 at 9:39 PM, Tim Chase v...@tim.thechases.com wrote:
On 12/02/12 20:15, Jiaxing Wang wrote:
In :g/how are you?/.;/:-)/d,
Is '/how are you?/.;/:-)/' the pattern in
:[range]g[lobal]/{pattern}/[cmd]?
Would you mind explaining this pattern
On 11/23/12 15:03, Kartik Agaram wrote:
I just noticed that gq} moves the cursor to the next paragraph,
but gq{ leaves the cursor as is. (I'm starting with the cursor
positioned in the empty line between paragraphs.) Is this
deliberate? Are there other motion commands that try to be smart
On 11/19/12 21:53, Heldraug wrote:
Just for the sake of it. Which flavor of Vim do you guys use? I
which operative system?
These two go hand-in-hand for me. Most of my time is spent on
Debian Linux where I use (non-g)vim in an rxvt console or over a ssh
connection. On Win32 (at work), I
On 11/19/12 16:03, ping wrote:
looks currently C-v i/a p is same as v i/a p for a paragraph...
Does the following do what you want?
v i/a p C-v
which should select the paragraph characterwise, then turn it into a
visual-block.
-tim
--
You received this message from the vim_use maillist.
...
how to proceed?
On 11/19/2012 05:08 PM, Tim Chase wrote:
On 11/19/12 16:03, ping wrote:
looks currently C-v i/a p is same as v i/a p for a paragraph...
Does the following do what you want?
v i/a p C-vs
Sorry, the s was a fat-fingered accident. Should just have just been
v i/a p C
On 11/16/12 18:36, Ant wrote:
this one is something I need help in. Say I have thousands of
files and I wanted to concatenate them all into one. THis is easy
to do, I can just do it outside Vim using bash script cat *
allfiles.txt or something.
But how would you concatenate heaps of files
On 11/16/12 21:22, Tony Mechelynck wrote:
The above implements a linewise deletion. For characterwise, you can use
:%s/how are you?\zs\_.*\ze:-)//e
Notes:
- If there are several matching pairs, this subsitute will remove from
the first how are you to the last :-).
Which you can
On 11/13/12 11:01, BartlebyScrivener wrote:
But when I try it by setting mark a and b and then try moving the text to the
end of the file:
:a,bm $
I get a trailing characters error.
You want to reference the marks as marks:
:'a,'bm$
as show in
:help :'
(part of :help :range)
On 11/13/12 11:16, BartlebyScrivener wrote:
Thank you, Tim.
Glad to help
I've been yanking and putting my whole life and stumbled on move this
morning by accident.
Could be quite useful.
If you've been *yanking*, you'll want the :copy (also known as :t)
command, too. :-) Behaves pretty
On 11/13/12 15:45, BartlebyScrivener wrote:
As long as there are so many :m wizards around.
The instructions for the address suggest that you could move the text to 'T
but it doesn't seem to work if 'T is in another buffer.
For example
:'a,'bm 'T
Is there a way to do this using :m ?
On 11/09/12 00:21, vicky b wrote:
HI ,
I have the file which has key value pair, for single key there are four
entries i want align all the values hoirzontall
file contains
alert_pref_email Nh?n các c?nh báo thông qua th? ?i?n t?
alert_pref_email Receive the Alerts through Email
On 11/07/12 21:18, Suresh Govindachar wrote:
[ how to distinguish between lower and upper case X in
the following imaps ]
:imap C-x Delete
:imap C-X BS
Use C-S- (S for shift), for example:
:imap C-S-X BS
:imap C-S-X escXi
AFAIK, most versions of Vim don't
On 11/08/12 05:23, vicky b wrote:
I have started to learn vim in this modern enviroment where gui
takes prefers , one thing that still me back to other editors is
the ease with which we can copy and paste , can anybody help me
out with safe effect in vim or any thing of that sort
As others
file1file2 file3 file
tim,chasetom,sometingtom,wright chase,w
tom,jerry vinay,b sachin,b tom,m
out put would be
tom,chase
tom,jerry
tom,wright
tom,m
is this possible in vim
I'm not sure I fully understand
When I see another error, I have to manually get its pattern and
add it to the search register. I do this by pressing * on it,
then type /, 'up' twice the previous pattern, '\|' then 'Ctrl-R/'
to append the new search to the previous one.
Am I missing something, or would the following do
I think that I was not clear enough. I don't want to remap
Ctrl-V. What I want is to copy something to the clipboard while I
am using Vim. In this case, I want to use the normal Vim commands
for copying to the clipboard. For example:
*yy
Then, I will go to another application. Say, I
On 11/07/12 07:07, vicky b wrote:
I was able to do that but i have some unwanted lines in a file
i just want line that have a pattern , below is the file
#Generated by ResourceBundle Editor
# en Resource Bundle
#
# filename: FormsNRefsPortletResource_en.properties
# Portlet Info
On 11/06/12 08:00, vicky b wrote:
HI I have list of files in a dir, each file has a key=value pair
kind of entries so it basically a prop file .I want to change
all they key=value in all file to key,value is it possible using
vim ,sorry if it is off topi
Depending on the complexity,
On 11/03/12 14:42, stosss wrote:
Just trying to learn
Welcome aboard. We're a pretty friendly bunch here and are glad to
have you.
Asking because I don't know and I don't use smart quotes. What makes
them so difficult to remove in a s/search/replace/g ?
Aren't they just quotation marks?
On 10/30/12 12:32, Ben Fritz wrote:
Vim remembers the previous mode though, and while it might not be
accessible, you can select the same area and mode in a different
place by using 1v. The help on this is a little hard to find, it
does not have its own topic, it is right above :help v_Esc.
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 internal-variables
Thank you, that is not consistent with other
On 10/30/12 03:47, Alexander Mak wrote:
My desire is to make vim automatically open complection menu (
like when I hit ctrl-P ) after I've inserted 3d symbol in the
word.
To get a more helpful answer, you may have to clarify what you mean
by inserted 3d symbol. Is this some special character
On 10/30/12 11:11, Chris Lott wrote:
The gv command is very useful. I'd like to be able to reselect a block
after I have selected, cut, and pasted it into a different buffer.
Is this possible?
It's a little tricky. Vim does track the `[ and `] marks for you
which can be used to find the
On 10/29/12 05:07, Marcin Szamotulski wrote:
On 23:20 Sun 28 Oct , Gary Johnson wrote:
On 2012-10-28, Chris Lott wrote:
blah blah foo foo
to
blah blah foo foo
sC-R1Esc
I like that! With visual area less than one line one has to use the
- register.
When the change is less than
On 10/28/12 12:47, Chris Lott wrote:
In other words, I often want convert this:
blah blah foo foo
to
blah blah foo foo
I assume there are plugins that help with this kind of thing,
The most common is Tim Pope's surround.vim
http://www.vim.org/scripts/script.php?script_id=1697
but
On 10/28/12 20:38, 王军 wrote:
I want to press F1 ,and display help windows at right side which
like used :vsp comand. Don’t like use :sp command.
:nnoremap f1 :vert :helpcr
which you can read about at
:help :vert
-tim
--
You received this message from the vim_use maillist.
Do not
On 10/27/12 03:10, Gerg wrote:
2. However when I run PHP file, there is so much data that every web browser
crashes and it does not finish loading the page.
3. So I was wondering if it is possible to save all the data using VIM?
Like: read source from http://localhost; and write the HTML
On 10/26/12 08:49, Gerg wrote:
Hello everyone. I am new to VIM.
I would like to write/print my PHP localhost results to *.txt or HTML file.
Is that possible?
I agree with Ben, that your question doesn't make a whole lot of sense.
In addition to Ben's suggestions, if you have lynx
On 10/26/12 13:28, Ben Fritz wrote:
Ok, so first, the fastest way to do exactly what task you asked
about (splitting a window with a filename already in your buffer)
is to put the cursor on the file name, and type CTRL-W followed
by f. See :help CTRL-W_f,
Also be sure to read up on
:help
On 10/25/12 05:48, sathyashrayan wrote:
Dear group, Attached is a zipped of my gvim configuration. Its
very useful for me. It has NERDtree, html matchit ect. but i
could not copy anything from my gvim and paste it in firefox,
gedit ect. My linux version is Ubuntu LTS 12.04. Any helps? Can
any
On 10/24/12 21:02, analogsix wrote:
I created a 'scratch notes file' of VIM commands on gvim on my home pc's
Fedora desktop environment.
When I port this file to my workplace's UNIX environment and launch the notes
from VIM, my tab spacing is thrown off. For example, at home my text looks
On 10/23/12 14:44, Shay wrote:
Has anyone figured this one out it Windows?
I suspect that it's driven off of one of the colors in your standard
Windows theme. I don't know which version you're running, but on XP
it's
Control Panel
- Display Settings
- Theme
I'd experiment with the
On 10/21/12 09:59, tjg wrote:
121021 Write about Paris with Chris @me @chris Paris
121022 Phone to Inc and Gmbh @me Inc Gmbh
121029 Talk to Claire about placeholders @claire @me Bar Foo
(in fact I do not mind what comes first, @ or )
With your don't mind what comes first, you can try
On 10/16/12 06:08, monax wrote:
How I can change this code
a = 10
bb = 100
ccc = 1000
d = 1
to this
a = 10
bb = 100
ccc = 1000
d = 1
Dr. Chip's align.vim is the go-to script for your aligning needs:
http://www.vim.org/scripts/script.php?script_id=294
On 10/11/12 06:32, tjg wrote:
I have this type of file (plain text) :
sometext *sometext* @me project1 *@me*
project2 sometext *project2* @john @me
something @john project2
sometext #1 @me something else *#1*
I presume the * were added by your MUA as an attempt to highlight
the duplicates.
On 10/11/12 10:38, tjg wrote:
Just for my information, and if you have the time, could you
detail for me the forensics of this not-so-ugly brute ?
:%s/\([#@]\=\\w\+\\).\{-}\zs \+[#@]\@!\1\//g
\(...\) capture something of interest which is
[#@] one of these characters
\=
On 10/01/12 14:17, Boyko Bantchev wrote:
In my personal opinion, saying that Vim's learning curve is steep
is nothing but a gross exaggeration. Why should it be? Are Vim's
potential users computer illiterates, incapable of adapting to simple
albeit new concepts?
I'm pretty sure it stems on
On 09/30/12 11:14, jbl wrote:
The problem is this: I have a large file of poetry in alphabetical
order sorted on the last term in each line, I post an except in
sample1 below. I want to sort it so that lines that share, say, the
last two terms (on the right) with the last two terms of any
On 09/30/12 08:37, meino.cra...@gmx.de wrote:
it is often said, taht certain software has a steep learning curve.
Vi/vim is such an example for the use of this phrase...
I would take the time as measure for the x-axis and the amount
of stuff I have learned about -- for example -- vim as a
On 09/25/12 10:51, Deepak adhikari wrote:
How to remove 2nd line form a CSV file? note: I do know the line
no. as well as the contents of it. I am new to vim? saw the wiki
but seems it will be easier to follow, though I will continue
with wiki at leisure times.
You can navigate to the 2nd
On 09/24/12 11:54, vicky b wrote:
I am an enthusiastic vim fan but never used it much .I use sqldeveloper
for db related tasks.Due you guys really feel comfortable in vim to write
pl/sql and also can you guys also query the db and see the resutlset
through vim.
While I don't use it
On 09/24/12 12:19, vicky b wrote:
Thanks for the replies guys but in the present world where we
leave with so much of ide and code completion and so many
features what is that makes you guys stick to vim .. does it make
your job simpler or features are great or your use to it.
First, I've
On 09/24/12 12:45, Paul Stewart wrote:
look at that...I learn something new today
:s/\t/,\r/g
I didn't know that one...thanks
Granted, I'm lazy, so I've also been known to write SQL queries that
return SQL queries as the result-set, and then run those in turn. :-)
-tim
--
You
On 09/22/12 12:04, Gary Johnson wrote:
I think that's what's addressed by this todo item:
- Add regex for 'paragraphs' and 'sections': 'parare' and 'sectre'.
Combine the two into a regex for searching. (Ned Konz)
I knew I'd seen something like this on the horizon. I'm just
surprised
On 09/21/12 14:27, JP Lew wrote:
I was wondering if it was possible for Vim to increment the character I
have selected under the cursor, rather than the whole number.
Not in-built. You could do something like
:nnoremap f4 sc-r=c-r+1cresc
to just operate on the one character under the
On 09/19/12 09:12, Rudra Banerjee wrote:
The problem is, whenever I open a file with gvim, the last word of each
line is ^M. Though, it does not create any problem in compilation, its
odd and irritating to have a yellow box at each line.
is there anyway to do with this?
I suspect this is two
On 09/14/12 12:10, Ben Fritz wrote:
On Friday, September 14, 2012 12:06:41 PM UTC-5, sc wrote:
On Fri, Sep 14, 2012 at 12:14:41PM -0400, ping wrote:
assume I have a tar ball containing muliple files and I don't want
to uncompress everything in a folder to start my search (since vim
can open
On 09/12/12 03:56, eNG1Ne wrote:
can I use system and user variables in vim … specifically, can
I include the system date in the text in such away that it
updates when I open the file, and can I include the filename in
the text.
While I'm not sure what system and user variables you'd be
After performing a :vimgrep across a variety of files, I'm really
only interested in jumping to the next *file*, not the next match.
I can repeatedly do :cn until I get to the next file (exploiting
@: and @@ lazily), but I was hoping there might be some sort of
ignore the rest of this file and go
On 09/11/12 13:24, Gary Johnson wrote:
:help :cnf
Perfect. Just my overlooking. Thanks!
-tim
--
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 09/10/12 02:31, William Robertson wrote:
On Monday, September 10, 2012 2:45:48 AM UTC+1, Tim Chase wrote:
!cal
How can I get it placed in the current document?
:r! cal
Interesting - I've always used !! (possibly that's from classic vi), as in
!!cal
which I see Vim translates
On 09/09/12 20:43, Bee wrote:
cal in a doc
From within terminal vim I can issue the command:
!cal
and it will display the current month.
How can I get it placed in the current document?
:r! cal
which you can read about at
:help :r!
-tim
--
You received this message from the
On 09/05/12 12:29, chro...@comcast.net wrote:
If I run gvim -d b.txt a.txt, things are as I expect: I see the
added block of -1, few common lines, then the rest is folded.
But if I run gvim -d a.txt b.txt, I don't initially see the block
of -1. The vertical scrollbar is all the way to the
On 09/03/12 09:46, Nilesh Parmar wrote:
Hello Experts,
I would like to learn how to extend Vim. Are there any good books or
resources I could refer?
The first place I'd start would be to look through the catalog of
currently-available scripts[1] to see if there's something similar
to the
On 08/29/12 21:46, Salman Halim wrote:
I've got some Portuguese text that I need to perform some
transformations on to make them ASCII (7-bit). That means
removing accent marks, cedillas, tildes, etc.
Is there some fast transform in Vim that I've missed, or an
easy way to go about this?
I've got some Portuguese text that I need to perform some
transformations on to make them ASCII (7-bit). That means removing
accent marks, cedillas, tildes, etc.
Is there some fast transform in Vim that I've missed, or an easy way
to go about this?
Thanks,
-tim
--
You received this message
On Sunday, August 26, 2012 12:15:55 PM UTC-3, Chris Jones wrote:
As Tim indicated, there's a very strong likelihood that whatever
Vim sees when you ‘type’ â is somehow bound to some (unprintable)
action or
Taking a quick look at an ASCII+Latin1 chart, it looks like you
might have something
On 08/25/12 05:53, Matteo Landi wrote:
On Mon, Aug 06, 2012 at 00:56:36 +, Aaron Bohannon wrote:
$ and ^
What about mapping H and L to ^ and $?
I have never had the need to move to the top/bottom of the screen.
This would entirely be a personal thing--that would drive me nuts
since I
On 08/25/12 14:52, Fernando Basso wrote:
I have been facing an issue that when I type ā, like in the word
Parāmetro, either the cursor jumps somewhere else in the file,
or the ā is just not inserted and I see only Parmetro. If I do
Ctrl-V ā then it works.
I have checked all my mappings and
On 08/25/12 15:45, Chris Jones wrote:
On Sat, Aug 25, 2012 at 04:01:49PM EDT, Tim Chase wrote:
On 08/25/12 14:52, Fernando Basso wrote:
I have been facing an issue that when I type ā, like in the word
Parāmetro, either the cursor jumps somewhere else in the file, or
the ā is just not inserted
On 08/25/12 12:26, David H. Lynch Jr. wrote:
I use gf heavily to edit the file under the cursor.
I am working on some projects with filenames that contain characters
like [ and ] that are not handled by the gf command.
You want to tweak the 'isfname' setting to include the extra
On 08/25/12 15:45, Chris Jones wrote:
On Sat, Aug 25, 2012 at 04:01:49PM EDT, Tim Chase wrote:
Depending on the environment and your terminal encodings, the ā
character may also map to some alt+{char} (or meta+{char}
depending on how it's created), so in addition to searching for a
mapping
On 08/22/12 18:04, naphelge wrote:
Thanks for the fast replies.
The list is pretty amazing like that :-)
nnoremap ,cd :cd %:p:hCR:pwdCR
You might also want to check out
:help 'autochdir'
It's unset by default, but could make this even easier for you.
nmap silent leaderte
On 08/22/12 19:46, Simon Ruderich wrote:
On Wed, Aug 22, 2012 at 06:49:06PM -0500, Tim Chase wrote:
[snip]
which modified file do you want. I'll often instruct Vim to ignore
the file on disk, yank the entire contents (:%y) and paste them in
a new buffer (:vnew, PGdd), go back to the original
On 08/17/12 15:59, Chris Jones wrote:
On Fri, Aug 17, 2012 at 02:01:53PM EDT, Tim Chase wrote:
On 08/17/12 12:51, Chris Jones wrote:
On Fri, Aug 17, 2012 at 11:09:21AM EDT, Tim Chase wrote:
/r[^\n]
/r\_[^\n]
to no avail.
/r[^\r]
Well, bust my buttons. So \n is a newline
On 08/17/12 07:46, Paul Anton Letnes wrote:
this is possibly me not being regex proficient enough, but here
goes: When I search for patterns with 'not newline' at the end,
for instance, /[^\n], the [ ] part seems to match /\n. I
have realized that using simply /. is a simpler and better
On 08/17/12 12:51, Chris Jones wrote:
On Fri, Aug 17, 2012 at 11:09:21AM EDT, Tim Chase wrote:
/r[^\n]
/r\_[^\n]
to no avail.
/r[^\r]
Well, bust my buttons. So \n is a newline on the search side, and
\r is a newline on the replacement side, but it's also a newline
on the search
On 08/08/12 01:05, sinbad wrote:
how can one capitalize the current word or the
word just before the current cursor position
with out leaving the insert mode ? leaving insert
mode and capitalize and come back to insert mode
is becoming a tedious task for me ...:)
In attempting to answer
On 08/08/12 06:19, Christian Brabandt wrote:
On Mi, 08 Aug 2012, Tim Chase wrote:
:inoremap ~ c-bslashc-ogUB
This is a misunderstanding on your side. What i_Ctrl-\_Ctrl-O does (I
assume you mean 'o' and not 'u'?),
Doh, yes...type it once wrong and copy/paste elsewhere and it just
makes me
On 08/08/12 13:25, Kenneth Reid Beesley wrote:
imap ~~ escguiw~la
Then, in insert mode, when you type ~~ (or whatever sequence
appeals to you), vim will shift temporarily into normal command
mode (via the esc), then capitalize the current word, then
switch back to insert mode (with the
On 08/07/12 21:50, Pablo Giménez wrote:
I have a string variable and I want to capitalized it letters.
I also need to caoitalize only the first letter, so if I have:
let myStr=example
Convert myStr word to: Example
I have been searhing in the docs and google but no luck about how to do
I initially was going to use git. I have recently joined Ubuntu
Accomplishments and they use bazaar which i have no idea on at
the moment so may proceed to use bazaar so I can reduce the
number of new things i need to learn currently and come back to
git later.
Both are worth learning. If
On 08/05/12 03:58, doak wrote:
I guess jumping to the next difference is what you want.
Or do you want to jump only to the blue changes (which does mean new
package)? If so I would prefer some other way like 'diff file1 file2 | grep
^+ '...
If you just want to perform some action on each of
On 08/05/12 12:25, Tony Mechelynck wrote:
On 05/08/12 15:12, Asis Hallab wrote:
It has a very neat feature called *multiple cursors*, where the
user just selects different positions in the current buffer and
every editing done is applied to those multiple cursor
positions.
The nearest
On 08/05/12 14:51, Johannes Deutsch wrote:
since i use supertab i'm able to do supersonic completions with
vim. Unfortunately the super fast completion has the disadvantage
that i select the wrong item from time to time (especially with
regard to filename completion where several completions
On 08/05/12 13:20, Tony Mechelynck wrote:
On 05/08/12 20:12, Tim Chase wrote:
It has a very neat feature called *multiple cursors*,
The nearest thing to multiple cursors that I can imagine which is
easy to do, would be to have your several locations
The first thing that occurred to me
On 08/05/12 18:57, Johannes Deutsch wrote:
:help i_CTRL-G_u
It seems to be more complicated, because supertab severely alters
vim's common completion process.
Okay...sorry I can't help more there. I suspect that the sequence
is the answer in question, but it's just a matter of where to
On 08/04/12 00:41, Sayth Renshaw wrote:
Looking for some basic advice tips on how you manage a web
development workflow in vim. Do you start and manage your server
from within vim to debug and preview your pages as you edit
them.
Besides the obvious HTML CSS I also use JQuery. At
On 08/04/12 18:51, John Little wrote:
On Saturday, August 4, 2012 11:59:49 PM UTC+12, Daan wrote:
I was thinking about remapping s to $, because:
...
What do you think?
I used vi for years, before 'discovering' s. Then I used it
intensively when coding; it saves a keystroke and
On 07/30/12 16:38, ping wrote:
guys:
I just run into an annoying issue.
I open a text file and found it was set to some filetype (say, asciidoc).
this is not what I expected.
how to find out which config lines in which config file/script set this?
I'd check the output of
:verbose set
On 07/27/12 22:06, Bee wrote:
How to use a visual selection to highlight with :match?
While I don't have an immediate answer, I'd likely start with[1] and
enhance it to create a :match expression which would then be :exec'ed.
-tim
[1]
http://vim.wikia.com/wiki/Search_for_visually_selected_text
On 07/24/12 08:17, mascip wrote:
i can indent a selected block by pressing
TAB or
and i'm pretty sure i used to be able to unindent with
SHIFT-TAB or
But now it doesn't work anymore
By default, tab and shift-tab don't indent/dedent in normal or
visual mode (also, shift-tab isn't seen by
On 07/16/12 14:27, Christian Brabandt wrote:
Bram,
On Sa, 07 Jul 2012, Tim Chase wrote:
Two parts of me conflict on this: one thinks wow, that's a cool
idea, the other thinks what twisted sicko thought up that one?!
Attached patch search_textobj.diff implements a match text-object
On 07/13/12 07:10, Axel Bender wrote:
Is there a way to change the content of the command line from
within a function?
I think you'd have to explain a bit more what you're trying to do
and how your function is invoked.
The content of the previous command-line is available in the :
register, so
On 07/08/12 02:50, Geert Mak wrote:
Even if you have a machine with 8 processors, each with 6 cores, if
you're doing the editing over an SSH shell session, your redraw may
be bound by the latency of the connection. I'd be tempted to see
how it performs for you locally first.
I never
On 07/08/12 15:54, rockybalboa4 wrote:
I tried things like
:s/^\r\r\r/\r/g
As I mentioned earlier in the thread, for some (historical?) reason,
Vim uses \n on the left side and \r on the right side, so you want
s/^\n\n\n/\r/g
-tim
--
You received this message from the vim_use maillist.
On 07/07/12 06:35, Christian Brabandt wrote:
I'd favor a solution with
:%s/{pattern}/\=CollectMatch(submatch(0))/gn
but '\=' and the n flag don't work together.
What about a todo item? Add another flag?
I must say I'm surprised that the \= and n flags don't play well
together. Though
On 07/06/12 10:56, Ben Fritz wrote:
On Friday, July 6, 2012 8:11:46 AM UTC-5, Geert Mak wrote:
[vcscommand.vim] is not visually very stable (i. e. when
browsing up/down in Subversion 'blame' mode, the screens blink
on every row, I guess they are rewritten too slowly or so (I
work on an Air w/
On 07/06/12 16:24, Roy Fulbright wrote:
2310go
Thank you very much! That was exactly what I was looking for
As Christian correctly calls me on it, that does operate by bytes
and not by characters. For all of the work I do, I limit myself to
the lower 7-bit ASCII and insert my upper
701 - 800 of 1877 matches
Mail list logo