using vim 7.2 huge on mint 10.0
I have a vimscript to handle code expansion from keywords.
Here is the relevant snippet
elseif wrd == lv0
exe normal! bdwaargs = load.args(kws) ##
dict,member='kwd',module='config'\Esc0wo
exe normal! acontent = load.view(args) ## '()' = string \Esc0w
If
* Tim Johnson t...@johnsons-web.com [110225 07:55]:
using vim 7.2 huge on mint 10.0
I have a vimscript to handle code expansion from keywords.
Here is the relevant snippet
elseif wrd == lv0
exe normal! bdwaargs = load.args(kws) ##
dict,member='kwd',module='config'\Esc0wo
exe
Using 7.2, Huge version with GTK2-GNOME GUI
OS=ubuntu 10.04
If I issue the following ex command
set guifont=Monospace\ 9
I get the font setting as expected.
If I issue the following ex command
set guifont=Monospace\ 9\ bold
I get a font type that is far from what I had in mind.
What is the
* Tim Johnson t...@johnsons-web.com [110509 17:49]:
Using 7.2, Huge version with GTK2-GNOME GUI
OS=ubuntu 10.04
If I issue the following ex command
set guifont=Monospace\ 9
I get the font setting as expected.
If I issue the following ex command
set guifont=Monospace\ 9\ bold
I get
If I type in the following ex command:
:e /home/tim/prj/cgi/baker/xmlimport/controllers/
and then press TAB, I get a wildmenu for the target
directory. Yay!
But I can't get this same function to work programmatically.
I have the following two functions:
* Tony Mechelynck antoine.mechely...@gmail.com [110604 16:09]:
vim opens a new file
/home/tim/prj/cgi/baker/xmlimport/controllers/Tab
grrr!
So how do I escape the Tab?
I've tried
IIRC, the relevant setting is 'wildcharm' (q.v.).
Thank you for the reply Tony.
I did the following:
set
* sc tooth...@swbell.net [110604 16:24]:
using vim 7.2 Huge version with GTK2-GNOME GUI
IIRC, the relevant setting is 'wildcharm' (q.v.).
another way to approach it would be to call glob() with an
asterisk in place of the Tab
sc
Thanks sc, but could you illustrate with an example:
* Tony Mechelynck antoine.mechely...@gmail.com [110604 18:04]:
Within single quotes, every character is taken literally, even a
backslash, except that two single quotes mean one.
Aha!
You should have used double quotes with backslash-escaping, like
this (referring to your original post):
* Ben Schmidt mail_ben_schm...@yahoo.com.au [110604 19:05]:
Try the feedkeys() function:
:call feedkeys('e ' . a.dir . /\Tab)
If you check out the help for feedkeys() you will see documentation
about a second argument which you might like to include and experiment
with to get the
I'm unclear about when to use and when *not* to use the colon in a
string for the `execute' command - as composed programmatically.
I'd appreciate it if someone could point me to some documentation or
discussion on this topic.
:h execute
doesn't seem to clear this question up for me.
thanks
--
* Tim Johnson t...@johnsons-web.com [110605 09:31]:
I'm unclear about when to use and when *not* to use the colon in a
string for the `execute' command - as composed programmatically.
I'd appreciate it if someone could point me to some documentation or
discussion on this topic.
:h execute
I have found this:
http://vim.wikia.com/wiki/Deleting_a_buffer_without_closing_the_window
Looks promising.
Has anyone else used either of the functions in that page?
Comments?
Alternate recommendations?
thanks
--
Tim
tim at johnsons-web dot com or akwebsoft dot com
http://www.akwebsoft.com
--
* ZyX zyx@gmail.com [110607 01:23]:
Reply to message «Deleting a buffer without closing the window»,
sent 04:49:19 07 June 2011, Tuesday
by Tim Johnson:
I personally use bufkill plugin (script #1147) and its :BW command.
Thanks for the tip. I'm going to try that out.
regards
--
Tim
I have vim 7.2 huge version on linux.
I would like to get the enumerated number of an open tab.
I wouldn't care if numbering started at 0 or 1, as long
as the process is consistant.
I have the following setting :
guitablabel=%N %t
which prints out the tab number in the tab itself, but
I would
* Tony Mechelynck antoine.mechely...@gmail.com [110612 17:30]:
On 13/06/11 02:10, Tim Johnson wrote:
I would like to get the enumerated number of an open tab.
I wouldn't care if numbering started at 0 or 1, as long
as the process is consistant.
:help tabpagenr()
HTH,
:) Indeed
Using vim 7.2 on ubuntu 10.04, huge version.
I make use of Dr. Campbell's netrw browse window, which has the
ctrl-h feature that allows me to edit the hide list.
The hide list is associated with g:netrw_list_hide. I would like to
be able to save that variable to my session file. However, when I
* Charles Campbell charles.e.campb...@nasa.gov [110630 11:18]:
Tim Johnson wrote:
Using vim 7.2 on ubuntu 10.04, huge version.
I make use of Dr. Campbell's netrw browse window, which has the
ctrl-h feature that allows me to edit the hide list.
The hide list is associated
I'd like to find a way to align one or more lines with the same
indentation as (say) the previous line:
Example :
Main entry point for this module.
Process all.
Delete all.
To
Main entry point for this module.
Process all.
Delete all.
I'm looking at a 'Quick reference Card' at
* Tim Chase v...@tim.thechases.com [110814 11:36]:
On 08/14/2011 11:42 AM, Tim Johnson wrote:
There are lots of ways to do this, so I'll toss a couple out there
and you can pick choose depending on your needs.
The first easiest (assuming the first/previous line is an even
multiple
* Ben Fritz fritzophre...@gmail.com [110815 08:41]:
On Aug 14, 11:42 am, Tim Johnson t...@johnsons-web.com wrote:
I'd like to find a way to align one or more lines with the same
indentation as (say) the previous line:
Example :
Main entry point for this module.
Process all.
Delete
* Tim Chase v...@tim.thechases.com [120121 08:41]:
I would like to be able to move a column right by an arbitrary
numbers of spaces, regardless of the value of `shiftwidth'.
Is that possible?
many ways -- probably the simplest:
- position the cursor at the left/top of the column
I've been using vim for 12 years now :) and am just getting around
to ask this question.
Why is the ^ so slow?
When I press ^, there is a noticeable wait time
before the first non-blank char is selected.
I.E., on every version of vim I have used, I have found this to be
so.
0w is way faster,
* AK andrei@gmail.com [120129 16:00]:
On 01/29/2012 07:50 PM, Tim Johnson wrote:
I've been using vim for 12 years now :) and am just getting around
to ask this question.
Why is the ^ so slow?
When I press ^, there is a noticeable wait time
before the first non-blank char is selected
* gary_p gary.pa...@gmail.com [090625 18:31]:
Thanks to everyone who gave me great tips to get started.
I program in python. I think I've found three vim files for a python
mode. (don't kill me if that's an emacs term). There's one that came
with my installation (a Windows installer).
* gary_p gary.pa...@gmail.com [090626 05:56]:
On Jun 25, 11:07 pm, Tim Johnson t...@johnsons-web.com wrote:
I can't. Here's what I use.
1)The standard vim syntax files for python
2)My local vim ../after/syntax/python.vim
which customizes #1
is that file something you
* gary_p gary.pa...@gmail.com [090626 06:26]:
I prefer:
my_function_call(
one,
two,
three
)
[ In a fixed width font the o, t, t, and ) all line up under the ( ]
I've been coding in python using vim for 9 years. I've
Using ver 7.1 on linux.
I'd like to cut a series of lines and append each line to a contiguous
block of test that would then be pasted en masse.
Example.
cut line 2, line 6, line 10. Move to line 20, paste all 3 lines
there.
Probably telling me the right keyword for 'help' would suffice.
* vimtexhappy vimtexha...@gmail.com [090819 16:45]:
--
Add
.
:help A
Yup. That did it.
thanks
--
Tim
t...@johnsons-web.com
http://www.akwebsoft.com
--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information,
I'm using vim 7.1 - huge model on Linux with KDE 3.5.10. Back in my
emacs days, I was able to use emacs functions with escape sequences
to enable that system to interpert all keypad input as unique keys.
Example: the minus key on the keypad is read as kp-minus. I have
observed that on my
* pansz panshi...@routon.com [090928 22:53]:
Hi - Thanks for the reply.
If you are using console vim you should check the capabilities of your
terminal program.
Understood.
if you are using gvim you should check X settings.
Not sure where to look for X settings.
(In the KDE
Greetings:
I'm using vim as my default editor for slrn. I am using this entry
in .slrnrc:
set editor_command vim '+set tw=72' +%d '%s'
Here is the example of the header for a _new_ post to slrn:
#Newsgroups: comp.lang.python
#From: Tim Johnson t...@johnsons-web.com
#Subject: self.__dict__
* James Michael Fultz croo...@gmail.com [091029 19:00]:
Sorry, I don't know the solution to the wrapping. Nor do I know whether
Again, note the '#'s and possible wrapping. The
Hi James
I'm sorry. Obviously bad phrasing. Wrapping is not a problem. I
just called attention to it.
it's
* Tim Johnson t...@johnsons-web.com [091029 19:18]:
newsgroups, and reply is directed to mail.
I know, but I am a dummy when using newsgroups - which I do
infrequently. Thus, I am prone to typing 'r' instead of 'f'.
Perhaps my question should be: Is there a way to make 'r'
act like
* Tim Chase v...@tim.thechases.com [091210 17:04]:
Let's say I select some text in vim using visual mode, and I want to
place a '/*' at the beginning of the selected text and I want to to
place a '*/' at the end of the selected text.
Were there any existing scripts to do that, I'd love
I'm using gvim 7.2 huge version on ubuntu 9.10.
Is it possible to create a pick list from an internal array?
What I have in mind would be something like i_CTRL-P (word
completion). Only that the pick list would be initialized by
the array.
References to keywords would be a good starting point
I'm using vim 7.2 on Slackware 13.0 32-bit.
This system has two 'vims': the gui version compiled as gvim and
`vim' compiled without the gui. I would like to recompile the
console `vim' with support for the clipboard and without the
embedding of the perl and python interpreters, but with the
* bill lam cbill@gmail.com [100130 16:12]:
sab, 30 Jan 2010, Tim Johnson skribis:
I could really use some tips on how to recompile with the following
changes: +clipboard +xterm_clipboard, -python, -perl
Thus far, I have not found invoking:
./configure --help
sufficient to my
* Tim Johnson t...@johnsons-web.com [100130 16:43]:
* bill lam cbill@gmail.com [100130 16:12]:
sab, 30 Jan 2010, Tim Johnson skribis:
I could really use some tips on how to recompile with the following
changes: +clipboard +xterm_clipboard, -python, -perl
Thus far, I have
* Tim Johnson t...@johnsons-web.com [100202 17:27]:
I'm using vim normal version, gvim huge version both of
version number 7.2 on slackware 13.0.
I have the following lines in my .vimrc
autocmd BufNewFile,BufRead *.lsp setf newlisp
autocmd BufNewFile,BufRead *.lspso ~/.vim
* Matt Wozniski m...@drexel.edu [100203 06:58]:
On Wed, Feb 3, 2010 at 12:14 AM, Tim Johnson wrote:
..
See :help new-filetype, but the problem is basically just caused by
you using :setf newlisp instead of :set filetype=newlisp. What
actually going wrong for you is that your check was coming
I'm using version 7.2/normal/Gui on slackware 13/32-bit.
I have vim runing, loaded with a session file, and then opened for
editing some html files. Syntax highlighting *will not* work for the
html filetype. Syntax highlight *is* working for other filetypes.
Furthermore, if I open the same html
* Tony Mechelynck antoine.mechely...@gmail.com [100210 18:43]:
On 11/02/10 01:33, Tim Johnson wrote:
I'm using version 7.2/normal/Gui on slackware 13/32-bit.
I have vim runing, loaded with a session file, and then opened for
editing some html files. Syntax highlighting *will not* work
I'm using vim 7.2, normal version on slackware 13.0 32-bit.
For my purposes, it would be great if I could close all buffers, but
keep vim open.
I note ':on', but that just closes all windows, buffers remain.
The end game is:
Close all buffers, load a different session.
thanks
--
Tim
* sc tooth...@swbell.net [100227 17:03]:
On Saturday 27 February 2010 07:11:05 pm Tim Johnson wrote:
For my purposes, it would be great if I could close all
buffers, but keep vim open.
I note ':on', but that just closes all windows, buffers
remain.
The end game is:
Close all
* Tim Johnson t...@johnsons-web.com [100227 19:04]:
* sc tooth...@swbell.net [100227 17:03]:
On Saturday 27 February 2010 07:11:05 pm Tim Johnson wrote:
For my purposes, it would be great if I could close all
buffers, but keep vim open.
...
one thing i like to [easily] do is close
On Saturday 25 October 2008, Tony Mechelynck wrote:
On 25/10/08 04:09, Tim Johnson wrote:
Hello:
Using ver 7.1 on kubuntu 7.10 compiled as the huge version with
GTK2-GNOME.
I'm preparing to do a lot of mixed-syntax coding:
I.E. html files with a mixture of html, css and javascript
Using ver 7.1 on kubuntu 7.10.
(Huge version with GTK2-GNOME GUI)
In vim, I can make a selection in visual mode, then
press
+y
and the selected text is copied to the X clipboard.
I'd like to be able to programmatically copy a composed
string to the clipboard.
any ideas?
I've tried:
:h
On Thursday 30 October 2008, Tim Johnson wrote:
I'm using vim 7.1 on kubuntu 7.10
A very bizarre and disturbing thing is occuring.
When I start vim, it logs one and only one file.
regardless of the file on the command line.
Furthermore, if I do :ls! regardless of where I have
started vim, I
Using vim 7.1 (huge version) on Kubuntu 7.10
I would like to be able to type enter or Ctrl-J
in insert mode and open a new line indented one
more tab than the previous:
example - type block: []
move cursor between the braces
type Ctrl-J
result might be:
block: [
]
alternatively, a
On Wednesday 19 November 2008, fritzophrenic wrote:
I would first suggest using an indentexpr or the indent ftplugin for
your file type. See :help 'indentexpr' and :help :filetype-indent-on
If this doesn't work for you, a simple mapping will suffice.
Great! I was looking for some
Using vim 7.10 kubunut 7.10
I'd like to be able to assign the contents of a register to a variable
example:
let arg = contents_of_unamed_register
let cmd = !myscript . arg
exe cmd
Just some examples or references to :help would be sufficient.
thanks again.
tim
On Thursday 20 November 2008, David Fishburn wrote:
On Thu, Nov 20, 2008 at 9:25 PM, Tim Johnson [EMAIL PROTECTED] wrote:
Using vim 7.10 kubunut 7.10
I'd like to be able to assign the contents of a register to a variable
example:
let arg = contents_of_unamed_register
let cmd
Using vim 7.1 (huge) on kubuntu 7.10
Executing the following
?[\|(\|{
Gives me the expected results. I.E.
The cursor is placed at the closest previous '[' or '(' or '{'
Executing the following
/]\|)\|}
Gives me the expected results. I.E.
The cursor is placed on the closest next ']' or ')'
On Friday 28 November 2008, Tim Johnson wrote:
Using vim 7.1 (huge) on kubuntu 7.10
Thanks to all for the edification on this topic. I
especially appreciated Matt's distinction between characterwise
and linewise searches for / and ?
cheers
tim
Just restarted my computer. Menu is gone in (g)vim :-(
:set quioptions = guioptions=aegirLtm
To restore toolbar
:set guioptions+=T
works
but
:set guioptions+=m
does not restore menu cuz it is there already!
Don't have a clue, need some help ...
I'm using ver 7.10 on linux ubuntu 7.10 - huge
On Tuesday 30 December 2008, Tim Johnson wrote:
Just restarted my computer. Menu is gone in (g)vim :-(
:set quioptions = guioptions=aegirLtm
To restore toolbar
:set guioptions+=T
works
but
:set guioptions+=m
does not restore menu cuz it is there already!
Don't have a clue, need
On Wednesday 31 December 2008, Tony Mechelynck wrote:
1. Does
:view $VIMRUNTIME/menu.vim
display a Vim script?
Yes.
If it doesn't, you have a problem.
Interestingly, if I run gvim as root : = sudo gvim
I get the menubar.
2. You are running gvim aren't you? The following will
On Wednesday 31 December 2008, Tony Mechelynck wrote:
2. You are running gvim aren't you? The following will give you menus
even in Console Vim (normal or bigger version) when you hit Ctrl-Z:
if has('wildmenu')
set wildmenu
if has('menu')
if !has('gui_running')
I'm using vim 7.10 on ubuntu 7.10 with python compiled in.
I would like to be able to
1)select some text
2)write that text to a file in either 'w' mode or 'a' mode
I.E. 'w' = original contents of file are removed (truncated)
something like emacs write-region =
On Saturday 03 January 2009, Tim Johnson wrote:
select text in visual mode
y yank to register
:let lines = @ read register into variable
:call writefile(lines,'targetfile')
this command fails since writefile() needs the first arg as list
so either another function
On Wednesday 14 January 2009, mmarko wrote:
The menu disappeared after a regular software update
when a newer version of vim was installed.
To fix it, I deleted ~/.gnome2/Vim.
To recap my problem ( I believe that I originated this thread),
the menubar disappeared after perl was updated - I
Using vim and gvim 7.1 on kubuntu 7.10
I've used vim for years, gvim, more recently.
In vim, when I make a selection with my pointing device,
whether in a file window or in the command line,
that selection is always copied to the clipboard.
==
That's a good thing.
==
Hello Tony:
Thanks for all of the information. I haven't had my coffee yet,
and it will take a while to absorb all of this. But a couple
of follow-up questions:
In vim, when I make a selection with my pointing device,
whether in a file window or in the command line,
that selection is
On Saturday 28 February 2009, Tony Mechelynck wrote:
On 28/02/09 17:26, Tim Johnson wrote:
I'm curious as to why you feel it is a bad thing. Your opinion
is of interest.
Mainly for its wastefulness. I feel that not clobbering the clipboard
unless I specifically say so, and using only
On Monday 02 March 2009, Bob Koss wrote:
I visited the email link below but vim_use is not on that page. I have
unsubscribed from everything there, yet I continue to get email from
this list.
Hi Bob:
At http://www.vim.org/maillist.php
I searched for the following string To Unsubscribe
Using vim 7.2 on slack 13.0 32-bit.
Example:
: bdelete 54
result
E516: No buffers were deleted
How may I suppress the message above?
Note: I have tried using 'silent', it doesn't
stop the message.
The goal is to use this in script.
As in
exe :silent bdelete i
or whatever is correct
* Bryan Venteicher bry...@daemoninthecloset.org [100518 14:39]:
As in
exe :silent bdelete i
or whatever is correct
Try 'exe :silent! bdelete i'
Thanks to Bryan and Gary.
--
Tim
tim at johnsons-web.com or akwebsoft.com
http://www.akwebsoft.com
--
You received this message from the
Here is the snippet from from a function that I wrote:
function! StdNextFunction()
let fileType = ft
if fileType == 'taglist'
execute '/function'
execute ':nohls'
elseif fileType == 'php'
execute '/function '
execute ':nohls'
I bind this to gn
I
* John Beckett johnb.beck...@gmail.com [100801 20:32]:
Tim Johnson wrote:
What do I need to add the the command strings above that
'stores' the regular expression?
An example is here (you set the @/ register):
http://vim.wikia.com/wiki/Search_for_visually_selected_text
Thanks John
`:h
I have the following function:
--
Start an edit command with the Project root file path
--
function! EditWithProjectRootPath()
let path=GetFilePath()
* Tim Chase v...@tim.thechases.com [100803 12:47]:
On 08/03/10 15:22, Tim Johnson wrote:
:nnoremap f4 :e c-r=GetFilePath()cr
(note the trailing cr is for the expression-register, not the Ex
command).
Thanks Tim and Gary. That works. Now I must 'bone up' on the
expression-register!
PS
* Teemu Likonen tliko...@iki.fi [100803 11:15]:
* 2010-08-04 02:54 (+0800), H. Xu wrote:
Many people quit using vim because they think vim is not as powerful
as emacs.
I don't know if many people quit using Vim because of that. How did you
get that impression? I believe that Vim is a
I have just started working with php, so I have no previous
experience as a metric. I have downloaded and installed piv.vim. I
have the following in my .vimrc: let g:DisableAutoPHPFolding = 1
Yet, vim insists on automatically folding php functions. I hate this
feature, it is very annoying. How
* Tim Johnson t...@johnsons-web.com [100803 17:12]:
I have just started working with php, so I have no previous
experience as a metric. I have downloaded and installed piv.vim. I
have the following in my .vimrc: let g:DisableAutoPHPFolding = 1
Yet, vim insists on automatically folding php
* Gary Johnson garyj...@spocom.com [100803 18:40]:
On 2010-08-03, Tim Johnson wrote:
To have just PHP files open with folds open, put this in
~/.vim/after/ftplugin/php.vim:
setlocal foldlevel=99
Thanks Gary
I *think* that fixed it.
I am qualifying the results because
FYI: I am using vim 7.2 huge version on ubuntu 10.04.
I have used vim for a long time, but am new to PHP and
don't make much use of folding.
I am finding that vim folds certain (but not *all*) PHP
functions and futhermore, even with zR will 'refold'
the same functions when the window containing
* Benjamin R. Haskell v...@benizi.com [100811 14:34]:
On Wed, 11 Aug 2010, Tim Johnson wrote:
:help 'foldmethod'
As an aside, I am not clear about the difference between zR and zE.
zR just opens them all -- open, but they're still there
zE gets rid of them (for fdm=manual or fdm
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*
package. http://www.vim.org/scripts/script.php?script_id=3125
I am sure that `piv' is going to be really helpful.
I would welcome any other tips, tricks, recipes, and
* Joan Miquel Torres Rigo joanmiq...@mallorcaweb.net [100813 01:54]:
2010/8/13 caruso_g peppecar...@gmail.com:
On Aug 12, 12:58 am, Tim Johnson t...@johnsons-web.com wrote:
I would welcome any other tips, tricks, recipes, and vim scripts,
that other may have found useful for PHP
* Joan Miquel Torres Rigo joanmiq...@mallorcaweb.net [100813 19:44]:
2010/8/13 Joan Miquel Torres Rigo joanmiq...@mallorcaweb.net:
Finally I forginven the example...
(I also add below a few extraction of the ~/.vimrc in my personal
machine (out of my job and less elaborated)
This is a
(using Huge version with GTK2 GUI on ubuntu 10.04 32-bit)
I have the following function:
code
function! PHPStubs()
let wrd=expand(cWORD)
echo wrd: . wrd
if wrd == forek
exe norm! bdWaforeach($array as
$key=$val){\Cr}\Esck9l\Esc
endif
endfunction
Using vim 7.2 in ubuntu 10.04, Huge version with GTK2 GUI.
From :h php
I see the following
If you like SQL syntax highlighting inside Strings:
let php_sql_query = 1
In truth, I *do not* like SQL syntax highlighting inside Strings.
So in ~/.vim/after/ftplugin/php.vim
I have the following:
* Benjamin R. Haskell v...@benizi.com [100914 18:59]:
How may I turn the feature off?
syntax/php.vim has:
if exists( php_sql_query)
syn cluster phpAddStrings contai...@sqltop
endif
So, if you don't want the keywords highlighted, you shouldn't 'let'
php_sql_query to anything. They
* Benjamin R. Haskell v...@benizi.com [100915 09:06]:
--help'.
Not sure what switch there'd be. Can run:
:scriptnames
from within Vim. I s'pose you could specify that on the commandline
via:
vim -N -c scriptnames
Yes. I found about 'scriptnames'
Yeah, and my slight rant is that
* Tim Johnson t...@johnsons-web.com [100915 09:51]:
..
vim -N -c scriptnames
Yes. I found about 'scriptnames'
Yeah, and my slight rant is that despite
setlocal foldlevel=99
in my /after/php.vim I'm still getting folding. Again, not a problem
but just an annoyance.
Do you
Using vim 7.2 Huge version with GTK2 GUI on Ubuntu 10.04
I'd like to make use of ~/.vim/ftplugin/php/php.vim - that is, the
php.vim that is included in the `piv' package. There is much to
recommend it, however, the following characters: ({[' are remapped
in php.vim and they interfere with my own
* ZyX zyx@gmail.com [100921 13:46]:
Ответ на сообщение Proper way to iunmap,
присланное в 01:07:48 22 сентября 2010, Среда,
отправитель Tim Johnson:
There are three ways of doing this without directly modifying the source:
1. Contact the authors and make them add `unique' to `map
This is an incredibly obnoxious error message that manifests itself
- to the best of my understanding when I load a new file after loading
a session. I've googled this problem, but what I have found seems
to come from plugins for perl. In my case I am editing python and
javascript files.
* Tim Johnson t...@johnsons-web.com [101011 17:22]:
This is an incredibly obnoxious error message that manifests itself
- to the best of my understanding when I load a new file after loading
a session. I've googled this problem, but what I have found seems
to come from plugins for perl
* Yegappan Lakshmanan yegapp...@gmail.com [101012 07:31]:
Hi,
On Mon, Oct 11, 2010 at 6:25 PM, Tim Johnson t...@johnsons-web.com wrote:
* Tim Johnson t...@johnsons-web.com [101011 17:22]:
E792: Empty menu name
Error detected while processing function
SNR37_Tlist_Refresh
using vim huge version with GTK2 GUI on ubuntu 10.04
I mean to eliminate the following characters:
'$' , '-', and '' (ascii 36,45,62)
from php word syntax.
Neither
:setlocal iskeyword-=$-
as an ex command nor
autocmd BufRead,BufNewFile *.php setlocal iskeyword-=$-
in .vimrc
has the effects
* sc tooth...@swbell.net [101102 16:20]:
On Tuesday 02 November 2010 18:48:30 Tim Johnson wrote:
.
first, test my theory by testing iskeyword with
:verbose set iskeyword?
..
ok, scratch that -- i just looked and php.vim does not tamper
with iskeyword -- perhaps you have a plugin
* sc tooth...@swbell.net [101102 17:11]:
On Tuesday 02 November 2010 19:51:49 Tim Johnson wrote:
the verbose query will tell you, by providing a Last set
from line -- you have not shown us that, you've only shared
the verbose query from your --noplugin session
I apologize for the oversight
* John Little john.b.lit...@gmail.com [101102 21:04]:
On Nov 3, 12:48 pm, Tim Johnson t...@johnsons-web.com wrote:
:setlocal iskeyword-=$-
What am I doing wrong?
(I see others are getting you where you want to go, but they didn't
answer this question directly).
That'll never work
* John Little john.b.lit...@gmail.com [101104 16:55]:
On Nov 4, 11:44 am, Tim Johnson t...@johnsons-web.com wrote:
BTW: How would add or remove the comma itself from the keyword
string?
A variety of things work; all of these are accepted:
set isk=a,b,c,d,e,f,,comma at end
set
Using vim 7.2 huge version on ubuntu 10.04
In the following vimscript:
begin code
for line in lines
execute norm! i. line
execute 'norm! o'
endfor
end code
How may I check `line' to see if it is the last item in list
`lines'?
:) Probably
:h
* ZyX zyx@gmail.com [101112 12:17]:
for line in lines
execute normal! i.line
May be replaced with
call setline(line('.'), line)
execute normal! o
if line is lines[-1]
do something
endif
endfor
Hi ZyX:
I have
* Tony Mechelynck antoine.mechely...@gmail.com [101112 14:19]:
That can still be simplified:
for line in lines
exe 'norm! i' . line
if line isnot lines[-1]
cool! 'isnot' is new to me
norm! o
endif
endfor
Using vim 7.2 on ubuntu 10.04, huge version.
If I execute the following:
:let g:viewFolder = /path/to/project/application/views
and save the session, I note that the value of
g:viewFolder is not stored in the session file.
What else do I need to do?
-
* Tim Johnson t...@johnsons-web.com [101117 15:36]:
Using vim 7.2 on ubuntu 10.04, huge version.
If I execute the following:
:let g:viewFolder = /path/to/project/application/views
and save the session, I note that the value of
g:viewFolder is not stored in the session file.
What else do
1 - 100 of 168 matches
Mail list logo