You're right. Pressing zR or just zr does open all the folds.
Typing :verbose set ft? fdm? fde? shows
filetype=abaqus
Last set from /usr/share/vim/vim73/filetype.vim
foldmethod=expr
Last set from /usr/share/vim/vim73/ftplugin/abaqus.vim
foldexpr=getline(v:lnum)[0]!=*
Last set from
Ah nvm. I edited the filetype.vim and comment out the set ftype
abaqus line and everything works well now. Appparently, abaqus type
will do the folding if the file begins with * or ** or *** etc as the
header. Which is what I've been working with most.
I like the trick. Thank you again Gary!
On Jun 14, 10:07 am, Roy Fulbright rfulb...@hotmail.com wrote:
How can I switch between horizontal and vertical view of vimdiff display
without exiting and re-running vimdiff
with the other (horizontal/vertical) display option?
Hi Roy,
I use these 2:
Vertical Split to Horizontal Split:
I can't find out how to refer to another menu line in menu.vim
p.e.
an95.038 Search\ Menu.Do\ command\ 1\ :a command of 150
characters
an98.002 Edit\ Menu.Do\ command\ 2\:my command1
How can I refer to command 1 in command 2 without rewriting the whole
commandline of
On 17/06/11 09:40, rameo wrote:
I can't find out how to refer to another menu line in menu.vim
p.e.
an95.038Search\ Menu.Do\ command\ 1\ :a command of 150
characters
an98.002Edit\ Menu.Do\ command\ 2\:my command1
How can I refer to command 1 in command 2 without
Hi,
I ran into a problem displaying Arabic fonts with tashkeel (an example
is shown here next to Google Labs -
http://tashkeel.googlelabs.com/). The font that I am currently using
is Deja Vu Sans Mono. I am using the same setup on both Windows and
Linux. My guifonts line for Windows
Setting 'clipboard' to the value 'unnamed' and using commands which affect
the clipboard results in vim hanging and windows frozen for over 1-2
minutes; once vim returns, the operating system feels laggy and slugish.
Example:
1. create a buffer with 10,000 lines of the word 'test':
test
test
On 17/06/11 11:31, Robert Chan wrote:
Setting 'clipboard' to the value 'unnamed' and using commands which
affect the clipboard results in vim hanging and windows frozen for over
1-2 minutes; once vim returns, the operating system feels laggy and slugish.
Example:
1. create a buffer with 10,000
On Jun 17, 9:56 am, Tony Mechelynck antoine.mechely...@gmail.com
wrote:
On 17/06/11 09:40, rameo wrote:
I can't find out how to refer to another menu line in menu.vim
p.e.
an95.038Search\ Menu.Do\ command\ 1\ :a command of 150
characters
an98.002Edit\ Menu.Do\ command\
Hi rameo!
On Fr, 17 Jun 2011, rameo wrote:
This doesn't seem to work (or I did something wrong).
p.e. command 1 = :%s/foo/bar/g
let command_1 = ':%s/foo/bar/g'
an 98.002Edit\ Menu.Do\ command\ 2\:command_1 ??
You need to evaluate the variable first. This is done using the :exe
On Jun 17, 1:31 pm, Christian Brabandt cbli...@256bit.org wrote:
Hi rameo!
On Fr, 17 Jun 2011, rameo wrote:
This doesn't seem to work (or I did something wrong).
p.e. command 1 = :%s/foo/bar/g
let command_1 = ':%s/foo/bar/g'
an 98.002Edit\ Menu.Do\ command\ 2\:command_1 ??
Hi rameo!
On Fr, 17 Jun 2011, rameo wrote:
On Jun 17, 1:31 pm, Christian Brabandt cbli...@256bit.org wrote:
Hi rameo!
On Fr, 17 Jun 2011, rameo wrote:
This doesn't seem to work (or I did something wrong).
p.e. command 1 = :%s/foo/bar/g
let command_1 = ':%s/foo/bar/g'
On Jun 17, 2:33 pm, Christian Brabandt cbli...@256bit.org wrote:
Hi rameo!
On Fr, 17 Jun 2011, rameo wrote:
On Jun 17, 1:31 pm, Christian Brabandt cbli...@256bit.org wrote:
Hi rameo!
On Fr, 17 Jun 2011, rameo wrote:
This doesn't seem to work (or I did something wrong).
Hi rameo!
On Fr, 17 Jun 2011, rameo wrote:
On Jun 17, 2:33 pm, Christian Brabandt cbli...@256bit.org wrote:
On Fr, 17 Jun 2011, rameo wrote:
This is my command:
let deletematches1 = ':call SIDCopyMatchesLines(%,)CR:let @c =
CR:g/C-r//d CCR:let @*=@cCR'
this is my menu:
an
Yes it gives the output what I want (in the commandline) but not the
output what I want as it gave before. Can't find the reason. I send
you my function also:
function! s:CopyMatchesLines(type,kind)
let posinit = getpos(.)
if a:type == ','
let StartPosition = line(')
let
On Jun 16, 2011, at 2:02 PM, René Köcher wrote:
why not use markers?
If you use fdm=marker then you can just put '{{{' at the start of your day
entry
and '}}}' at the end and vim will know what to do.
This method is portable and persistent.
Thanks, René. I'm loath to put nonessential
On Jun 16, 2011, at 2:51 PM, Steve Hall wrote:
It might be this simple:
set viewoptions+=cursor,folds
This will recall cursor location to the last place of edit and
remember the fold state.
I also like to use markers in files where I'm forcing folds at
specific locations:
Thanks,
On Jun 16, 2011, at 6:44 PM, Gary Johnson wrote:
If the goal is to fold each entry to a single line, why not have Vim
do that automatically? You could put a modeline near the top or
bottom of your journal like this example:
vim: foldmethod=expr
You can try [^\x00-xff], which means all but characters of ascii code 0 to
255.
On Fri, Jun 17, 2011 at 1:17 PM, Tony Mechelynck
antoine.mechely...@gmail.com wrote:
On 13/06/11 15:02, Dennis low wrote:
Hi
I would like to know how to write a command for selecting a range of
Chinese text
Reply to message «Re: How to write command for select range of Chinese text»,
sent 09:17:23 17 June 2011, Friday
by Tony Mechelynck:
Well, in Vim /[] constructs are limited to approximately 256 character
values (or maybe 257)
1. 257 exactly.
2. Not collections themselves, but ranges within
On Jun 16, 2011, at 2:51 PM, Steve Hall wrote:
It might be this simple:
set viewoptions+=cursor,folds
This will recall cursor location to the last place of edit and
remember the fold state.
Since this seemed like the simplest solution I tried it first. I used V and }
to select the
On 2011-06-17, Farid wrote:
On Jun 17, 2:17 am, Farid fa...@ou.edu wrote:
You're right. Pressing zR or just zr does open all the folds.
Typing :verbose set ft? fdm? fde? shows
filetype=abaqus
Last set from /usr/share/vim/vim73/filetype.vim
foldmethod=expr
Last set from
On 2011-06-17, Eric Weir wrote:
On Jun 16, 2011, at 6:44 PM, Gary Johnson wrote:
If the goal is to fold each entry to a single line, why not have Vim
do that automatically? You could put a modeline near the top or
bottom of your journal like this example:
vim: foldmethod=expr
I suspect that vim is trying to access the system clipboard 10,
times -- once for every delete command.
With clipboard=unnamed, every single delete replaces the contents of the
Windows clipboard (per the definition of clipboard=unnamed), so your test
modifies the clipboard ten thousand
Robert Chan, Sat 2011-06-18 @ 03:16:50+1000:
I was wondering if Bram or other vim developers could comment: is this
not a design flaw? If clipboard=unnamed, should system clipboard
modification be delayed until the very last modification?
I'm not a Vim developer, but I'd say the current
On Jun 16, 1:53 pm, Eric Weir eew...@bellsouth.net wrote:
I have a file -- my journal -- in which I've been trying to figure out how
manual folding works, and how to get it to work for me in a way that's
reasonably close to what I want to accomplish.
What it would like to do would be to
Hi Tony,
Thanks for your reply. To make sure that I'm using the exact same
fonts, I copied the ttf fonts used by Windows and replaced the ones on
Linux and then proceeded with running fc-cache. I'm still running
into the same problem. So why is it still working on Windows and not
on
Pyclewn 1.6 has been released at http://pyclewn.sourceforge.net/
Pyclewn is a Python program that allows the use of Vim as a front end
to the GNU debugger gdb and the Python debugger pdb.
This release adds support for Python 3 and support of the spawning
by gdb and debugging of curses based
It is possible to debug remotely vim python scripts with pyclewn:
* write the script in a file (for example foo.py) and add the
following statement at the beginning of the file:
import clewn.vim; clewn.vim.pdb()
* when pyclewn is installed locally and not as root, this
you might try to identify hanzi as anything above 0xFF: assuming
'nocompatible' mode, searching on [^\x00-\xFF] might do it: this
regexp atom matches anything above U+00FF, i.e., any hanzi, but (this
is the caveat) also any non-Latin letter, any non-Western Latin
letter, and the above-mentioned œ
hello i have a doubt to map keys in the vimrc file I have two plugins
NERDTree and the Command-T. And he is set to open by pressing the Standing
Leader p and I want to change it to Ctrl N.
the code looks like this in vimrc
silent! nmap silent Leaderp :NERDTreeToggleCR
nnoremap silent C-f :call
On 18/06/11 03:00, milton_viziak wrote:
hello i have a doubt to map keys in the vimrc file I have two plugins
NERDTree and the Command-T. And he is set to open by pressing the Standing
Leader p and I want to change it to Ctrl N.
the code looks like this in vimrc
silent! nmapsilent Leaderp
On 16/06/11 21:33, Benjamin Fritz wrote:
On Wed, Jun 15, 2011 at 1:22 PM, Benjamin Koltaibkolta...@gmail.com wrote:
Also, the result of :version is:
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jul 5 2010 16:33:43)
Included patches: 1-127, 257
Compiled by 'http://www.opensuse.org/'
Is this out
Hi,
in the *very* near future I will to hack a lot XML/XSLT/XSL/XMP...
stuff at work and I will do it with vim.
Unfortunately I am not allowed to install any binary
executable (with the exeption of the vim package, which is
already there) on the machine. I am allowed to install text
files
34 matches
Mail list logo