Re: How to Set menu size on gvim [solved]

2024-04-08 Thread Tim Johnson
On 4/7/24 13:04, Tim Johnson wrote: I am using gvim version 8.2 on ubuntu 22.04, Huge version with GTK3 GUI. How may I set the menu size to a larger font? I have found instructions for versions with Athena or Motif but none that are current for modifying menu sizes on versions with GTK3

Re: How to Set menu size on gvim

2024-04-07 Thread Tim Johnson
On 4/7/24 16:30, rob wrote: in my _gvimrc file is this line set guifont=Lucida_Console:h12:cANSI:qDRAFT Try :h guifont and :h gui-font for something that works for you Like you, I need a larger font for eyes over 65 :-) Heck, I can't even  see 65 in the rear-view mirror. Thanks for the

Re: How to Set menu size on gvim

2024-04-07 Thread Tim Johnson
On 4/7/24 14:34, Tony Mechelynck wrote: On Mon, Apr 8, 2024 at 12:20 AM Tim Johnson wrote: I am using gvim version 8.2 on ubuntu 22.04, Huge version with GTK3 GUI. How may I set the menu size to a larger font? I have found instructions for versions with Athena or Motif but none

How to Set menu size on gvim

2024-04-07 Thread Tim Johnson
I am using gvim version 8.2 on ubuntu 22.04, Huge version with GTK3 GUI. How may I set the menu size to a larger font? I have found instructions for versions with Athena or Motif but none that are current for modifying menu sizes on versions with GTK3. Thanks -- Tim thjmm...@gmail.com --

GTK error when starting with --role option

2022-03-14 Thread Tim Johnson
Version info: IM - Vi IMproved 8.1 (2018 May 18, compiled Feb 01 2022 09:16:32) Included patches: 1-2269, 3612, 3625, 3669, 3741 Modified by team+...@tracker.debian.org Compiled by team+...@tracker.debian.org Huge version with GTK3 GUI. on ubuntu 20.04, i3 window manager. When starting gvim

Re: Sven Guckes passed away

2022-03-14 Thread Tim Johnson
I miss him. He helped me get on board with vim and mutt. Even tho' he was younger than I, he had more forehead. Well, what the heck, you can't have hair and brains both and boy did he ever have brains. My condolences to his family and loved ones and also to all those whose life he made better.

Re: long line to paragraph all indented

2019-06-03 Thread Tim Johnson
* Gary Johnson [190603 13:58]: > On 2019-06-03, Tim Johnson wrote: > > version 7.4 on ubuntu > > non-gui > > > > given a long line indented to some nominal number of spaces, how can > > I format this line to preset paragraph width but with each line in >

Re: long line to paragraph all indented

2019-06-03 Thread Tim Johnson
* George Dinwiddie [190603 13:58]: > Tim > > On 6/3/19 5:43 PM, Tim Johnson wrote: > > version 7.4 on ubuntu > > non-gui > > > > given a long line indented to some nominal number of spaces, how can > > I format this line to preset paragraph width but wi

long line to paragraph all indented

2019-06-03 Thread Tim Johnson
cheese and bake for about 20 minutes or until cheese is bubbling. becomes: Pour the remaining sauce over the enchiladas. Cover with leftover cheese and bake for about 20 minutes or until cheese is bubbling. thanks -- Tim Johnson http://www.tj49.com -- -- You received this message from

Re: xsel copies to clipboard twice [solved]

2017-08-10 Thread Tim Johnson
* Christian Brabandt <cbli...@256bit.org> [170810 10:10]: > > On Do, 10 Aug 2017, Tim Johnson wrote: > > > * Christian Brabandt <cbli...@256bit.org> [170809 10:34]: > > > > > > On Mi, 09 Aug 2017, Tim Johnson wrote: > > <..

Re: xsel copies to clipboard twice

2017-08-10 Thread Tim Johnson
* Christian Brabandt <cbli...@256bit.org> [170809 10:34]: > > On Mi, 09 Aug 2017, Tim Johnson wrote: <...> Redundant clipboard copy here - patches follow : VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:42:57) Incl

Re: xsel copies to clipboard twice

2017-08-09 Thread Tim Johnson
* Christian Brabandt <cbli...@256bit.org> [170808 21:50]: > > On Di, 08 Aug 2017, Tim Johnson wrote: > > > The /usr/bin/vim.gnome binary, which is what I am using as my > > default MC editor does not have the redundant copy issue when > > running xsel as an

Re: xsel copies to clipboard twice

2017-08-09 Thread Tim Johnson
* Christian Brabandt <cbli...@256bit.org> [170808 21:50]: > > On Di, 08 Aug 2017, Tim Johnson wrote: > > > The /usr/bin/vim.gnome binary, which is what I am using as my > > default MC editor does not have the redundant copy issue when > > running xsel as an

Re: xsel copies to clipboard twice

2017-08-08 Thread Tim Johnson
* Grant Taylor <drscri...@gmail.com> [170808 13:04]: > On Tuesday, 8 August 2017 12:27:13 UTC-6, Tim Johnson wrote: > > When I select some text in visual mode and then press ;cc > > the selected text is copied _twice_ to the clipboard > > What happens if you use the f

xsel copies to clipboard twice

2017-08-08 Thread Tim Johnson
I'm using vim 7.4 (terminal mode) on ubuntu 14.04, launched from Midnight Commander. Glipper is my clipboard manager. I have the following script line loaded : map ;cc :w !xsel -i -b When I select some text in visual mode and then press ;cc the selected text is copied _twice_ to the clipboard

testing

2016-11-18 Thread Tim Johnson
I'm testing receipt by this group. I have problems with another google group, so if this is received by this ML, then I could guess that my issue is not global. Please disregard and keep on vimin' -- Tim http://www.akwebsoft.com, http://www.tj49.com -- -- You received this message from the

Re: [SOLVED] Showmarks problems

2015-08-26 Thread Tim Johnson
* Tim Johnson t...@akwebsoft.com [150826 10:55]: * Christian Brabandt cbli...@256bit.org [150826 01:10]: On Di, 25 Aug 2015, Tim Johnson wrote: - Version info :version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug

Re: Showmarks problems

2015-08-26 Thread Tim Johnson
* Christian Brabandt cbli...@256bit.org [150826 01:10]: On Di, 25 Aug 2015, Tim Johnson wrote: - Version info :version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 25 2015 13:38:04) MacOS X (unix) version Included

Showmarks problems

2015-08-25 Thread Tim Johnson
- Version info :version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 25 2015 13:38:04) MacOS X (unix) version Included patches: 1-729 Huge version without GUI. NOTE : features set to +signs NOTE : Upgrade via macports

Re: Showmarks complaint

2015-06-03 Thread Tim Johnson
* Christian Brabandt cbli...@256bit.org [150603 13:59]: Hi Tim! On Mi, 03 Jun 2015, Tim Johnson wrote: Hello : Using vim 7.4, non-gui mode on Mac OS X, installed by Macports. I think this was a recent upgrade (didn't monitor macport full upgrade closely). Now I'm getting

Showmarks complaint

2015-06-03 Thread Tim Johnson
Hello : Using vim 7.4, non-gui mode on Mac OS X, installed by Macports. I think this was a recent upgrade (didn't monitor macport full upgrade closely). Now I'm getting messages like : Error detected while processing function SNR60_ShowMarks: A quick google shows similar issues but seemed linked

Custom compile vim +xterm_clipboard

2015-04-08 Thread Tim Johnson
It's been a long time since I have compiled vim. The following version info is from ubuntu 14.0 [versioning info begins] :version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 2 2014 19:39:32) Included patches: 1-52 Modified by pkg-vim-maintain...@lists.alioth.debian.org Compiled by buildd@

Re: Custom compile vim +xterm_clipboard

2015-04-08 Thread Tim Johnson
* Ben Fritz fritzophre...@gmail.com [150408 07:11]: On Wednesday, April 8, 2015 at 9:47:07 AM UTC-5, Tim Johnson wrote: I'd like to have xterm_clipboard and clipboard enabled because I want to paste directly to the system clipboard and I don't think I need python for anything. Even tho

Re: Selectively using system clipboard from vim in iTerm2 (Mac)

2014-11-09 Thread Tim Johnson
* romainlafourc...@gmail.com romainlafourc...@gmail.com [141108 23:01]: Did you consider using your system clipboard *only* when needed? Yes. That is why I mapped PPCopy separately from yank. thanks. - tj - +y *y +p *p If that's too much typing: nnoremap

Selectively using system clipboard from vim in iTerm2 (Mac)

2014-11-08 Thread Tim Johnson
I'm using vim 7.4 Huge version without GUI on Mac OS X 10.7. This version is installed from Macports. I launch it from iTerm2 and frequently from MC running in iTerm2 as it is my default MC editor. options include +clipboard, +python, -xterm_clipboard, -xterm_save. With clipboard=unnamed I can

Re: Selectively using system clipboard from vim in iTerm2 (Mac)

2014-11-08 Thread Tim Johnson
* Tim Johnson t...@akwebsoft.com [141108 11:52]: I'm using vim 7.4 Huge version without GUI on Mac OS X 10.7. This version is installed from Macports. I launch it from iTerm2 and frequently from MC running in iTerm2 as it is my default MC editor. options include +clipboard, +python

Re: Selectively using system clipboard from vim in iTerm2 (Mac)

2014-11-08 Thread Tim Johnson
* Tim Johnson t...@akwebsoft.com [141108 13:05]: * Tim Johnson t...@akwebsoft.com [141108 11:52]: ... Note that I commented out the first system call and added the modified one with 'ssh'. Typo. Should have written modified one *without* 'ssh'. Sorry -- Tim tim at tee jay forty nine dot

Re: Filetype specificity for menus

2014-05-31 Thread Tim Johnson
* Christian Brabandt cbli...@256bit.org [140531 05:19]: Hi Tim! On Fr, 30 Mai 2014, Tim Johnson wrote: I'm using vim 7.3 Huge Gtk2-gnome gui, on ubuntu 12.04. I've used vim for many years but have not figured out how to do the following : Make a menu item coded for a specific

Filetype specificity for menus

2014-05-30 Thread Tim Johnson
I'm using vim 7.3 Huge Gtk2-gnome gui, on ubuntu 12.04. I've used vim for many years but have not figured out how to do the following : Make a menu item coded for a specific filetype *not* be present in a buffer of a different filetype. Example : with python.vim, a menu for python-specific

Many problems, how to debug on startup

2014-04-14 Thread Tim Johnson
I have transitioned my vim resources from OS X 10.7 to ubuntu 12.04 I've got a real mess and rather than go into the gory details, I need two sets of advice to begin with 1) When I start gvim, I get an error message that says No Mapping Found - most mapping does appear to work, so I need to step

Re: Many problems, how to debug on startup

2014-04-14 Thread Tim Johnson
* Nikolay Pavlov zyx@gmail.com [140414 11:22]: capture those messages in a file 'gvim -V20 debug.txt' doesn't give me any results. Which syntax should I use? You should set verbosefile option in --cmd. Thanks for the prompt reply - I have placed set verbose=1 in my .gvimrc

Re: Many problems, how to debug on startup

2014-04-14 Thread Tim Johnson
* Gary Johnson garyj...@spocom.com [140414 11:34]: On 2014-04-14, Tim Johnson wrote: I have transitioned my vim resources from OS X 10.7 to ubuntu 12.04 I've got a real mess and rather than go into the gory details, I need two sets of advice to begin with 1) When I start gvim, I get

Re: Many problems, how to debug on startup

2014-04-14 Thread Tim Johnson
* Tim Johnson t...@akwebsoft.com [140414 12:03]: * Gary Johnson garyj...@spocom.com [140414 11:34]: On 2014-04-14, Tim Johnson wrote: I'm making progress thanks to you folks. I now have my vim functioning. I'm still seeing some issues when I set verbose to 1, but doesn't seem

Re: Syntastic doesn't use pylintrc

2014-03-06 Thread Tim Johnson
* LCD 47 lcd...@gmail.com [140306 00:59]: .. On 5 March 2014, Tim Johnson t...@akwebsoft.com wrote: :let g:syntastic_python_checker = 'pylint --rcfile=/home/tim/.pylintrc' FWIW, this has never worked. Here's a crazy idea: if everything else fails, consider investing a few minutes

Re: Syntastic doesn't use pylintrc

2014-03-06 Thread Tim Johnson
* Tim Johnson t...@akwebsoft.com [140306 07:36]: * LCD 47 lcd...@gmail.com [140306 00:59]: .. On 5 March 2014, Tim Johnson t...@akwebsoft.com wrote: :let g:syntastic_python_checker = 'pylint --rcfile=/home/tim/.pylintrc' FWIW, this has never worked. Here's a crazy idea

Syntastic doesn't use pylintrc

2014-03-05 Thread Tim Johnson
Using vim 7.3 on OSX 10.7 I have installed the syntastic plugin. For checking syntax for python files, I have the following .pylintrc: [DESIGN] max-branchs = 20 max-args = 14 max-attributes = 14 max-locals = 35 [MESSAGES CONTROL]

Re: Syntastic doesn't use pylintrc

2014-03-05 Thread Tim Johnson
* Tim Johnson t...@akwebsoft.com [140305 13:42]: Using vim 7.3 on OSX 10.7 I have installed the syntastic plugin. For checking syntax for python files, I have the following .pylintrc: [DESIGN] max-branchs = 20 max-args = 14

Re: php - drupal - symfony - how to manage?

2014-02-26 Thread Tim Johnson
* Benji Fisher be...@fisherfam.org [140226 14:13]: Tim: By the drupal plugin do you mean https://drupal.org/project/vimrc ? Yes. That already makes some effort to avoid taking over non-Drupal PHP files: see https://drupal.org/node/1903214 . I am not sure what is available

README.md to a doc?

2014-02-26 Thread Tim Johnson
I don't understand how to integrate a README.md file into vim. Example: I have installed phpcomplete.vim under bundles/ so ... I have ~/.vim/bundle/phpcomplete.vim/README.md And it contains documentation, but if I were to copy it to to ~/.cim/doc/phpcomplete.txt and run helptags, I get an error

Re: README.md to a doc?

2014-02-26 Thread Tim Johnson
* Adnan Zafar adnanjza...@gmail.com [140226 16:32]: Hi Tim, Just leave the file as it is or delete it. Plugin authors provide files like that to provide information on GitHub pages for example. If you're installing the plugin using Pathogen or Vundle or one of the others, everything should

Re: README.md to a doc?

2014-02-26 Thread Tim Johnson
* Tim Johnson t...@akwebsoft.com [140226 16:44]: * Adnan Zafar adnanjza...@gmail.com [140226 16:32]: Hi Tim, Just leave the file as it is or delete it. Plugin authors provide files like that to provide information on GitHub pages for example. If you're installing the plugin using

php - drupal - symfony - how to manage?

2014-02-25 Thread Tim Johnson
I'm starting to learn to write drupal 7 modules and at the same time, symfony. For the time being, they are separate venues, although drupal 8 will have symfony as the underlying framework. I have been investigating the use of plugins for both drupal and symfony, but I am only acquainted with

Re: Adapting an existing session file to a new plugin

2014-02-18 Thread Tim Johnson
* Anton Bobrov bob...@vl.ru [140218 07:10]: On Tuesday, February 18, 2014 7:32:28 AM UTC+4, Tim Johnson wrote: Can you give an example? I have set sessionoptions=buffers,curdir in my vimrc for that task Understood. Thank you. -- Tim tim at tee jay forty nine dot com or akwebsoft

Re: syntax settings with php module files - 'after' problem

2014-02-17 Thread Tim Johnson
* Ben Fritz fritzophre...@gmail.com [140217 07:27]: On Sunday, February 16, 2014 3:12:43 PM UTC-6, Tim Johnson wrote: ignored in buffers with .module and .install extensions I just tried this exact setup, and it works fine for me in 7.4. I edited a new test.install file and all

Adapting an existing session file to a new plugin

2014-02-17 Thread Tim Johnson
This is kind of a general question, but it has to do with issues that have made coding life complicated for me in the past. For a specific example of this topic, I have just installed the drupal plugin for vim. I have an existing project that is loaded by a session file and it is named

Re: Adapting an existing session file to a new plugin

2014-02-17 Thread Tim Johnson
* Ben Fritz fritzophre...@gmail.com [140217 18:19]: On Monday, February 17, 2014 6:00:22 PM UTC-6, Tim Johnson wrote: This is kind of a general question, but it has to do with issues That has worked, but sometimes I have ended up with syntax highlighting being clobbered. I'd

syntax settings with php module files - 'after' problem

2014-02-16 Thread Tim Johnson
I'm using ver 7.3 on Mac OSX 10.7 I have the following as a group in .vimrc inside of a if has(autocmd) block in augroup module autocmd BufRead,BufNewFile *.module set filetype=php autocmd BufRead,BufNewFile *.install set filetype=php autocmd BufRead,BufNewFile *.test set

Re: [Drupal] syntax settings with php module files - 'after' problem

2014-02-16 Thread Tim Johnson
* Ben Fritz fritzophre...@gmail.com [140216 15:41]: the setlocal options from ~/.vim/after/syntax/php.vim are being ignored in buffers with .module and .install extensions What else do I need to do? I'm not sure if this is the cause, but you could try enabling nested

Migrating text from vim to wysiwyg editor

2013-02-01 Thread Tim Johnson
Hi Team : I've started using drupal. I've been writing articles using vim. Sometimes they get printed directly from vim, sometimes I copy them into OpenOffice and print them off. Then, I publish them to the web using drupal and a wysiwyg editor. I'm really very new to using wysiwyg editors (as

Re: Migrating text from vim to wysiwyg editor

2013-02-01 Thread Tim Johnson
* Tim Johnson t...@akwebsoft.com [130201 17:58]: Hi Team : I've started using drupal. I've been writing articles using vim. Sometimes they get printed directly from vim, sometimes I copy them into OpenOffice and print them off. ... Before I procede - any comments? Great tips and comments

Re: expanding tabs in a visual selection

2012-09-17 Thread Tim Johnson
* Tony Mechelynck antoine.mechely...@gmail.com [120916 18:45]: Beware though, that the former will convert hard tabs (but not backslash-t etc.) even in string literals, and that the latter will convert sequences of two or more spaces ending on a tab stop (i.e., in a column whose number

expanding tabs in a visual selection

2012-09-16 Thread Tim Johnson
Hi : Is there a way to apply the expand/retab process to a visual selection? :h ?? thanks -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are

Re: expanding tabs in a visual selection

2012-09-16 Thread Tim Johnson
* Bee fo...@calcentral.com [120916 09:09]: On Sep 16, 9:43 am, Tim Johnson t...@akwebsoft.com wrote: Hi : Is there a way to apply the expand/retab process to a visual selection? :h ?? thanks -- Tim tim at tee jay forty nine dot com or akwebsoft dot comhttp

Re: expanding tabs in a visual selection

2012-09-16 Thread Tim Johnson
* Gary Johnson garyj...@spocom.com [120916 10:50]: Do you see different behavior? Note that :retab! will not replace a single space by a tab. That did it. thanks, Gary -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com -- You received this message

Re: expanding tabs in a visual selection

2012-09-16 Thread Tim Johnson
* Tony Mechelynck antoine.mechely...@gmail.com [120916 11:02]: When you type : in Visual mode, you should see :',' where ' means the first visually selected line and ' means the last visually selected line. Don't erase these marks as you type :retab in Visual mode. Or you could

bufexplorer is opening files in two windows

2012-09-10 Thread Tim Johnson
I'm using macVim 7.3.315 on Mac OSX 10.7 I have recently starting using bufexplorer. Unexpectedly bufexplorer is opening (some but not all) files in two windows. This is deeply unsettling and unproductive. I can't find any option in the help feature or in bufexplorer.txt that might be causing

Re: bufexplorer has conflicts with python.vim

2012-09-09 Thread Tim Johnson
* Christian Brabandt cbli...@256bit.org [120907 07:11]: On Fri, September 7, 2012 09:56, Tony Mechelynck wrote: On 07/09/12 07:28, Jürgen Krämer wrote: Tony Mechelynck wrote: In the ftplugin/python.vim included in Bram's latest official sources (ftplugin/python.vim Last Change: Wed, 21

Re: bufexplorer has conflicts with python.vim

2012-09-07 Thread Tim Johnson
* Tony Mechelynck antoine.mechely...@gmail.com [120906 17:25]: I have learnt to be wary of session files created by :mksession, they :) Great minds run in the same gutte ... are usually unnecessarily bulky, duplicating stuff which is already in the vimrc. I used :mkesssion in the past,

bufexplorer has conflicts with python.vim

2012-09-06 Thread Tim Johnson
I just installed bufexplorer.vim and I am now getting error messages - which I presume are a result of some sort of conflict: Messages are below Error detected while processing /Applications/MacVim-snapshot-62/MacVim.app/Contents/Resources/vim/runtime/ftplugin/python.vim: line 21: E492: Not an

Re: bufexplorer has conflicts with python.vim

2012-09-06 Thread Tim Johnson
* Tony Mechelynck antoine.mechely...@gmail.com [120906 16:49]: On 06/09/12 23:41, Tim Johnson wrote: thanks Which Vim version are you using? (I mean, it's MacVim snapshot 62, but which version does it display on the :intro screen? — I'm on Linux) It is version 7.3.315

SelectBuf is failing

2012-08-13 Thread Tim Johnson
SelectBuf is failing with the following: Error detected while processing function selectbuf#ListBufs..SNR47_GoToBrowserWindow: line 32: E86: Buffer 94 does not exist :( What happened? thanks -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com -- You

Re: SelectBuf is failing

2012-08-13 Thread Tim Johnson
* Christian Brabandt cbli...@256bit.org [120813 11:20]: Hi Tim! On Mo, 13 Aug 2012, Tim Johnson wrote: SelectBuf is failing with the following: Error detected while processing function selectbuf#ListBufs..SNR47_GoToBrowserWindow: line 32: E86: Buffer 94 does not exist

Overriding setlocal in session files

2012-07-12 Thread Tim Johnson
For a long time I have had the following in my .vimrc autocmd BufRead,BufNewFile *.js setlocal shiftwidth=2 tabstop=2 Thus, numerous session files have those settings. Now I have changed my .vimrc to autocmd BufRead,BufNewFile *.js setlocal shiftwidth=4 tabstop=4 *But* the now-desirable setting

finding the originating map command

2012-07-02 Thread Tim Johnson
I have mapped ,cs to a function called CheckSyntax if I execute : map ,cs I get ,cs * :call CheckSyntax()CR if I execute :verbose map ,cs I get ,cs * :call CheckSyntax()CR Last set from /Users/http/run/baker/journal/000_main__journal.vim which

Re: finding the originating map command

2012-07-02 Thread Tim Johnson
* Gary Johnson garyj...@spocom.com [120702 15:29]: On 2012-07-02, Tim Johnson wrote: I don't think Vim remembers any place but the last where a mapping was defined. However, you can start Vim like this, $ vim -V15verbose.out ... and capture all the ex commands to the file

Why is caret (^) so slow?

2012-01-29 Thread Tim Johnson
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,

Re: Why is caret (^) so slow?

2012-01-29 Thread Tim Johnson
* 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

Re: Shift column right by spaces?

2012-01-21 Thread Tim Johnson
* 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

Re: Align one line to another

2011-08-15 Thread Tim Johnson
* 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

Align one line to another

2011-08-14 Thread Tim Johnson
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

Re: Align one line to another

2011-08-14 Thread Tim Johnson
* 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

Saving netrw hide list to session file

2011-06-30 Thread Tim Johnson
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

Re: Saving netrw hide list to session file

2011-06-30 Thread Tim Johnson
* 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

How to get number of tabl

2011-06-12 Thread Tim Johnson
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

[solved] Re: How to get number of tab

2011-06-12 Thread Tim Johnson
* 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

Re: Deleting a buffer without closing the window

2011-06-07 Thread Tim Johnson
* 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

Deleting a buffer without closing the window

2011-06-06 Thread Tim Johnson
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 --

Using the colon with `execute'

2011-06-05 Thread Tim Johnson
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 --

[Thanks] Using the colon with `execute'

2011-06-05 Thread Tim Johnson
* 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

Trying to escape tab in exe

2011-06-04 Thread Tim Johnson
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:

Re: Trying to escape tab in exe

2011-06-04 Thread Tim Johnson
* 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

Re: Trying to escape tab in exe

2011-06-04 Thread Tim Johnson
* 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:

Re: Trying to escape tab in exe

2011-06-04 Thread Tim Johnson
* 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):

Re: Trying to escape tab in exe

2011-06-04 Thread Tim Johnson
* 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

Re: Escaping spaces for bold in set guifont

2011-05-10 Thread Tim Johnson
* 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

Escaping spaces for bold in set guifont

2011-05-09 Thread Tim Johnson
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

Opening a line with vimscript - autoindent ignored

2011-02-25 Thread Tim Johnson
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

Re: Opening a line with vimscript - autoindent ignored

2011-02-25 Thread Tim Johnson
* 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

Re: How to use a filetype filter(s) with browse

2011-01-01 Thread Tim Johnson
* Patrick Texier p.tex...@orsennes.com [110101 00:23]: On Fri, 31 Dec 2010 15:14:11 -0900, Tim Johnson wrote: let g:browsefilter=*.py doesn't have the expected effect, I.E. after executing, I still see all directory files in the dialogue. How can I make this happen? According :help

How to use a filetype filter(s) with browse

2010-12-31 Thread Tim Johnson
Using vim 7.2 on ubuntu 10.04. Huge version compiled for gtk. I have automated a series of menu items that activates `browse' for different directories. The process is governed by a menu selection that allows me to set a series of variables called g:ModelFolder, g:ControllerFolder etc... Upon

Re: Saving global variables in session files

2010-11-18 Thread Tim Johnson
* Tom Link micat...@gmail.com [101117 21:30]:   :) but you're not off the hook yet. Anyone have a better way or   any caveats? Two alternatives come to mind: Under the assumption that your sessions correspond to projects, you could use the localvimrc[1] plugin (or something similar) to

Saving global variables in session files

2010-11-17 Thread Tim Johnson
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? -

Re: Saving global variables in session files

2010-11-17 Thread Tim Johnson
* 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

Testing for last item in a list

2010-11-12 Thread Tim Johnson
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

Re: Testing for last item in a list

2010-11-12 Thread Tim Johnson
* 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

Re: Testing for last item in a list

2010-11-12 Thread Tim Johnson
* 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

Re: How to eliminate $- from php words

2010-11-05 Thread Tim Johnson
* 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

Re: How to eliminate $- from php words

2010-11-03 Thread Tim Johnson
* 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

How to eliminate $- from php words

2010-11-02 Thread Tim Johnson
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

Re: How to eliminate $- from php words

2010-11-02 Thread Tim Johnson
* 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

  1   2   >