2012/5/23 t0d0r todor.drag...@gmail.com
I use vim a lot and now I'm starting to love using tabs
(:tabnew, :tabfirst...),but I found that execution of the external
command in one tab blocks the whole vim process.
This is my personal trick (from my ~/.vimrc):
F12 - Attached Screen session:
2012/3/5 Eduardo Costa edu50...@gmail.com:
The :shell command does not work very well. It keeps inserting control
chars into the output.
(Partially off-topic)
If you are using the shell frequently, then you will probably
appreciate the ability of switching between vim and your shell
on vim exit.
Regards.
2012/3/7 Joan Miquel Torres Rigo joanmiq...@mallorcaweb.net:
2012/3/5 Eduardo Costa edu50...@gmail.com:
The :shell command does not work very well. It keeps inserting control
chars into the output.
(Partially off-topic)
If you are using the shell frequently
2012/1/4 Bram Moolenaar b...@moolenaar.net:
One suggestion I haven't heard yet: Try changing the 'backupcopy'
setting.
Vim has some protection against doing bad things with root permission,
that might interfere with what you are doing.
If I understood well, vim is executed as non
2012/1/4 Marty Fried ma...@leftcoast-usa.com:
I'm surprised to hear this - it seems to go against the philosophy that
someone with root permission should know what they are doing, and is working
without protection on purpose.
That's not exact:
Root account should NEVER been used in
2012/1/3 Graham Lawrence gl00...@gmail.com:
I thank you all for your help, but I really can't use your
recommendations without screwing up something else on my system. I
have a script which runs automatically on system startup which
immediately references this ntfs drive, so I must have this
2012/1/3 Marty Fried ma...@leftcoast-usa.com:
I checked this on my Ubuntu 11.10 system with the default version of
Vim that comes with it. It looked exactly like your setup...
[...]
I was able to edit this file with vim/gvim with no problem,
either with editing nor with creating the temp
2012/1/2 Graham Lawrence gl00...@gmail.com:
Sorry, should have been more emphatic, I have the ntfs-3g driver. Vim
is the *only* app that has a problem writing to this device, all
others do so freely. I have to keep windows to run my printer and tv,
but virtually all the files on this ntfs
2011/8/2 David Ohlemacher dohlemac...@scisol.com:
So once you have a swap file from a crash its there forever. That is until
you delete the swp manually. And if you hit recover, your newer file
contents will be wiped out by an older swap file's contents?
I assumed (word chosen carefully),
2011/4/22 Gary Johnson garyj...@spocom.com:
The point is that there is no functional reason that Vim has to use
- to mean that its buffer contents are coming from stdin. My
guess is that Vim's use of - is another quirk resulting from its
historical connections to vi, ex and ed.
Then, how
2011/3/31 Ben Schmidt
D is quicker ;)
Depends on your keyboard and skills with the shift key. ;-)
Returning to original question, to clear whole line, ccESC doesn't
need any skill with shift key in almost all keyboards and I dare to
say is more kick than 0D. Specially if you have CapsLock and
2011/3/10 Christian Brabandt cbli...@256bit.org:
:g/\.\.\?$/d
Technically this will also delete other file names if ends in a dot
(not a recommendable name, but possible at all).
This other one will avoid it:
:g/\(\s\.\|\/\.\)\.\?$/d
Regards.
--
Joan Miquel
2011/2/8 Michael(Xi Zhang) michaelxm...@gmail.com:
Hi ,
I wrote a function , it will read lines from a file, each line is a
directory, after got the line, I will add filetype filter at the end of it.
If user put some spaces at end of the line, it will cause error.
Is there any way to
2011/2/3 Marco net...@lavabit.com:
Anyway, in this case, if TERM is set to xterm, then less will think
that terminal is fully functional.
This is one of the reasons for which I dislike gvim.
Fore example:
:!TERM=xterm man ls
Doesn't work, either.
Ok. But try now with 'dumb'.
Same
2011/2/2 Marco net...@lavabit.com:
On 2011-02-02 Daniel Corrêa dnlcor...@gmail.com wrote:
Try:
:tabnew | silent !man thing
If i execute !man ls I get the message:
WARNING: terminal is not fully functional
and the displayed man page looks distorted in gvim. Why?
This is not
2011/2/2 Marco net...@lavabit.com:
On 2011-02-02 Joan Miquel Torres Rigo joanmiq...@mallorcaweb.net wrote:
Gvim isn't terminal application and you probably did'nt call it from
terminal
Yes, I did call it from gnome-terminal, urxvt and xterm.
aren't terminals and doesn't export any value
2010/11/22 Rob r0...@yahoo.co.uk:
Check :help inoremap
For e.g,
:inoremap a A
:inoremap A a
Thanks, but I can't get this to work. Am I correct in thinking that having
done this, typing 'a' in insert mode should insert 'A' and vice versa?
I would need to setup 52 inoremaps and possibly
2010/11/16 statquant2 statqu...@gmail.com:
Hi guys,
thank you very much for the answer, however this is not working because I
forgot to mention that I paste from the mouse, basically I hit the middle
button and It paste what is in the mouse.
Your stuff are working for (from what I
2010/11/1 AMDx64BT amdx6...@gmail.com:
And to keep only the sentences in the range 40-60 characters long and
delete the rest?
:g/^.\{,39\}$/d
and
:g/\(^.\{,39\}$\)\|\(^.\{61,\}$\)/d
should work.
On Nov 1, 4:32 am, AMDx64BT amdx6...@gmail.com wrote:
I want to delete all the lines with
2010/10/26 Fernando Basso fernandobasso...@gmail.com:
However, I don't understand where in that regex line it is implied to
paste line 9 to line 10.
Moreover, what if I wanted to make it paste above (in line 8)?
If I understood well your question, I think the answer is in :help :t...
I
2010/10/2 ZyX zyx@gmail.com:
To execute something just before vim exists, you can use `VimLeave`
autocommand,
[...]
About capturing vim's
pid: use ``let g:vimpid=system('echo -n $PPID')+0''
Thanks again for your help.
I got it working, but I had a new idea:
I added a dialog call to
, attach the screen helping
user to propperly close windows and running proceses.
2010/10/10 Joan Miquel Torres Rigo joanmiq...@mallorcaweb.net:
2010/10/2 ZyX zyx@gmail.com:
To execute something just before vim exists, you can use `VimLeave`
autocommand,
[...]
About capturing vim's
pid: use
2010/10/2 ZyX zyx@gmail.com:
Ответ на сообщение How to execute commands at vim exiting?,
присланное в 17:09:18 02 октября 2010, Суббота.
Отправитель: Joan Miquel Torres Rigo:
To execute something just before vim exists, you can use `VimLeave`
autocommand,
like that:
autocmd
2010/10/5 ZyX zyx@gmail.com:
From :help VimLeave:
Before exiting Vim, just after writing the .viminfo file. Executed only
once,
like VimLeavePre. To detect an abnormal exit use v:dying. When v:dying is 2
or more this event is not triggered.
Note the second sentence.
True.
I got
2010/10/5 Alexander Dietz alexanderdie...@googlemail.com:
Removing ':set paste' does not solve this problem.
Did you try to explicitly execute ':set paste' JUST BEFORE pasting the text?
Now I cannot paste text
at all !!!
What?
The result that you pasted before is what must happen when
2010/10/5 Alexander Dietz alexanderdie...@googlemail.com:
Hi,
On Tue, Oct 5, 2010 at 16:00, Joan Miquel Torres Rigo
joanmiq...@mallorcaweb.net wrote:
you mean to type the command in vim the way you type a search command?
The way you type any command.
In normal mode, simply type ':set
2010/10/5 Alexander Dietz alexanderdie...@googlemail.com:
Hi,
1. In your first post you said that you have :set paste in your
~/.vimrc that obviously not working. Then, if you want to solve the
problem (only if you want, of course) you need to make some tests to
diagnose the cause.
Why
Hi,
Does anybody know if there is some way to execute commands at vim exiting?
I have the following in my ~/.vimrc to make F-12 key switch between
auto-created screen session associated to current buffer file name
(future file directory, but I must deal with path slashes before):
2010/9/15 vicky b vickyb2...@gmail.com:
Maybe.
--
Joan Miquel Torres__
Linux Registered User #164872
http://www.mallorcaweb.net/joanmiquel
BULMA: http://bulma.net http://breu.bulma.net/?l2301
--
You received this message from the vim_use maillist.
Do not
2010/8/20 Steve Hall digit...@dancingpaper.com:
From: Jeri Raye, Fri, August 20, 2010 11:09 am
Why do you use several different color schemes? What does it help
you? Why for example do you prefer dark color schemes (black/grey
brackground, soft letter colors).
Color schemes are helpful to
2010/8/14 Joan Miquel Torres Rigo joanmiq...@mallorcaweb.net:
2010/8/13 Joan Miquel Torres Rigo joanmiq...@mallorcaweb.net:
[...]
...you can introduce as much indentation levels as you need. This way,
Obviously I would meant FOLDING levels, of course ;-)
Cheers.
--
Joan Miquel
2010/8/13 caruso_g peppecar...@gmail.com:
On Aug 12, 12:58 am, Tim Johnson t...@johnsons-web.com wrote:
I've used vim for years for other programming languages other than
PHP. Now I'm starting to learn PHP. I have downloaded the *piv*
2010/8/13 Joan Miquel Torres Rigo joanmiq...@mallorcaweb.net:
set foldmethod=marker
Lets me to group code by functionality and abstraction
level. (see example below).
Finally I forginven the example...
(I also add below a few extraction of the ~/.vimrc in my personal
machine
2010/8/4 John itc@gmail.com:
Thanks Ivan, reading the help I'm unsure whether or not it was meant
to act this way, but 'cc' does indeed work perfectly! Brilliant!
Thanks so much!
Another solution: If I underestood you correctly, 'ddko' does exactly
what you want.
Regards.
--
Joan
2010/8/9 Jeri Raye jeri.r...@gmail.com:
Hi,
I'm trying to make a fold region that looks for the following
- when a line contains the word foo that's the start of the fold
- when one or more lines later the word end is found that should
close the line
- or when the words end with one or more
2010/7/8 d4567 d4...@gmx.net:
Hello,
I face trouble at the moment defining a proper shortcut to save my file.
I use:
imap C-S ESC:wCRa
map C-S :wCR
which does save the file, but it also moves the cursor as a side effect.
What is the problem with 'i' command?
This is especially
2010/6/14 Nathan Neff nathan.n...@gmail.com:
On Mon, Jun 14, 2010 at 11:33 AM, AK andrei@gmail.com wrote:
[...]
I just set the same thing up yesterday. I have a ~/.bvimrc, and ~/.testvim/,
I run gvim -u ~/.bvimrc, and in .bvimrc I have this:
set
GNU Screen is for you.
http://www.gnu.org/software/screen/manual/
Look for the '-x' option (man screencr/-x).
But be carefull because this way all clients could write to your terminal.
I know there is another application that do the same but in read-only
mode, but I don't remember its name
2010/4/2 Tony Mechelynck antoine.mechely...@gmail.com
C-F5 is the correct Vim syntax, but on Linux, KDE uses Ctrl-Fn to switch
to the n-th virtual desktop.
These are the defaults but, In general, all KDE shortcuts are configurable,
tipically in control panel - keyboard sortcuts (I don't know
2010/3/28 Benjamin R. Haskell v...@benizi.com
Are there any systems in common, current use for
which this causes problems? (Why would people be using Vim in DOS
emulators?)
Why would people be using Windows on servers?
But there is.
And there is some privative DOS applications with no
2010/3/24 Christian Brabandt cbli...@256bit.org
On Wed, March 24, 2010 2:23 pm, lmhelp2 wrote:
For the moment, I am just trying to view the file's contents...
some other program is supposed to perform things afterwards
I haven't yet faced that matter.
I think less and probably also
2010/2/11 Anand V
Looks like the only way out is to
cut the file into different smaller
files (as suggested by sc) and take
printouts separately and then look
at them placed in order.Too much work :)
For one-time printings, other option (to avoid creation garbage files) is to
select
2009/12/29 Ramagudi Naziir nazi...@gmail.com
Hi!
I really really want something like taglist but for files:
A window that will show me the list of files in my project,
in which i can easily find my files.
E.g., a user can type the name or part of the file name he is looking
for,
the the
2009/11/23 epanda callingel...@hotmail.fr
Hi,
I would like to move curso in normal mode to next ; character.
How can I do ?
Shorter than /;intro?
Maybe remapping some key to this command I think...
--
Joan Miquel Torres__
Linux Registered User
2009/11/18 epanda callingel...@hotmail.fr
Hi,
I am searching for some utility that enable to do sql command from
within GVim under XP.
Simply write query, select it and do !your_sql_interpreter param.
Vim mantains command history and then, next times you only need to go up
and down into
2009/11/16 Peng Yu pengyu...@gmail.com
[...]
I think he is talking about: when the command returns and he's back in
vim, how to see the command output
Yes. This is what I mean.
I have a similar problem, but I partially solve it by using command
filtering.
In my case, what I want to do
46 matches
Mail list logo