Re: Gvim message on XDG textedit URL link

2022-09-06 Thread Charles Campbell
Andrew Bernard wrote: I have PDF's with links in them and XDG textedit URLs that can take me from the PDF to the source file (for lilypond music engraving if interested)., The links work and take me to the right line and column corresponding to the link in the PDF. But I am unable to turn off

Re: Content of syntax regions

2022-08-23 Thread Charles Campbell
BPJ wrote: For my DSL I have a syntax region for text between a pair of delimiters inside which other syntax items should come in a specific order, say first dslFoo, then dslBar, then dslBaz. I can use nextgroup=dslBar to declare which item should come after dslFoo and so on, but how do I

Re: Large file - Opening n head lines

2022-03-17 Thread Charles Campbell
Stan Brown wrote: On 2022-03-17 02:55, Lifepillar wrote: On 2022-03-17, Ni Va wrote: Is it possible to open a Large File Vim but just only few beginning lines of it, edit one of these 50 first lines and then save and quit ? I don't think that is possible with Vim without the help of some

Re: Sven Guckes passed away

2022-02-21 Thread Charles Campbell
Christian Brabandt wrote: On Mo, 21 Feb 2022, Bram Moolenaar wrote: Forwarding this text from Antonio Colombo: == Our friend Sven Guckes died in Berlin on February 20, 2022. He was diagnosed with a brain tumor in December 2021. He went to a hospital, but surgeons could not do

Re: [VIM] Re: [VIM] Re: vim/colorschemes: Request For Comments

2022-02-14 Thread Charles Campbell
Walter Cazzola wrote: Hi On Mon, 14 Feb 2022, Maxim Kim wrote: Hi Walter, It should be identical in gvim and tui vim with t_Co=256: [image: 2022-02-14_13-40-35.png] How I should set/check for this? I do not have t_Co neither as an environment variable nor in vim. Walter Bring up vim;

Re: How can I undock a file panel from a split window?

2021-06-10 Thread Charles Campbell
L A Walsh wrote: If I use split, I can create a separate panel that is a view on a file. How can I undock it? Its not exactly what you're asking for, but I wrote something called "Detach" which will detach a tab into its own process. ctrl-w T will move a window into a new tab. The :Detach

Re: Dump help pages

2021-04-14 Thread Charles Campbell
Julius Hamilton wrote: Thanks very much. Yes, that'll do the trick. Not all pages, but just any individual one I happen to be reading, so I can edit and take notes on it. Thanks very much, really appreciate it. Julius I was surprised no one mentioned what seemed to me to be the most

Re: [VIM] Re: How to have the spell checker ignoring URLs and acronyms

2021-04-06 Thread Charles Campbell
Walter Cazzola wrote: Hi, thanks for the reply On Sat, 3 Apr 2021, Charles Campbell wrote: I suspect that you need to get your matches contained in various groups. For a start, consider also trying

Re: How to have the spell checker ignoring URLs and acronyms

2021-04-03 Thread Charles Campbell
Walter Cazzola wrote: Dear Vim Experts, bored to have acronyms and URLs marked as errors in my LaTeX files I have looked for a solution. Here   

Re: VimDIFF - ONLY on the first field of two files ?

2021-04-01 Thread Charles Campbell
'Philip Rhoades' via vim_use wrote: People, I live in vim and therefore use vimdiff most of the time for my needs but I have a use case where I only want to diff on the FIRST field of two files ie the files have lines that look like:   [dir|file]name | [D|F] | mtime and I need to be able

Re: Use :bdel to close directory listing?

2021-03-08 Thread Charles Campbell
Roland Freikamp wrote: Hi, since this is still really annoying me, I have to ask again, if there is *any* solution. You can use :bd! to force a real deletion of a directory as opposed to just hiding it. Unfortunately, this does not work. No matter how often I type ":bd", ":bd!", ":bn",

Re: Highlight email headers with different colors

2021-02-02 Thread Charles Campbell
Ian N wrote: Thank you Christian! This is exactly what I have already done. Indeed, the mail.vim file highlights all the mail headers, with the same color (white in this case). My question is about how to customize these colors (when writing the mail) - say From: field blue, To: field red,

Re: do plugins affect performance?

2021-01-07 Thread Charles Campbell
gevisz wrote: вс, 3 янв. 2021 г. в 14:09, meine : Does anyone know if installed plugins affect the speed of Vim when they are not used? It is not clear what you mean by "not used plugins". If "not used" here means that these plugins are not loaded into the memory while Vims starts, I cannot

Re: syn region start="first line" end="first line"

2021-01-06 Thread Charles Campbell
Oskar Sharipov wrote: Hi! I'm doing a syntax file for my own silly made up filetype. The first line of a file is always tag-section and I want to highlight it. There is no special pattern for searching by regexp --- the aim is to highlight the first line ALWAYS. For example, in this context:

Re: why doesn't min take more than 1 parameter?

2021-01-04 Thread Charles Campbell
L A Walsh wrote: Hey, do you know how to determine the number of columns taken up by fdc?  Doesn't seem I can use fdc directly as a number though. Try using ; the ampersand means to grab the information from an option. Regards, Chip Campbell -- -- You received this message from the

Re: Matching a non-match

2020-12-20 Thread Charles Campbell
A. Wik wrote: Hi all, Browsing a directory listing, sometimes I hit lines like these: ./spool/exim/input/1FM8sl-4n-Ix-H ./spool/exim/input/1FM8sn-4u-OF-D ./spool/exim/input/1E9dsQ-4f-MO-D [... thousands of similar lines ...] How can I use "/" to find the next line not matching the

Re: Vim-script question

2020-12-10 Thread Charles Campbell
aroc...@vex.net wrote: I want to include in my .vimrc an autocommand that writes some new lines into an empty file e.g. an zsh script. A possible alternative is to use a "here" document containing whatever boilerplate you want, in a shell script that then opens vim on the resulting file.

Re: help with map(), please!

2020-11-27 Thread Charles Campbell
Salman Halim wrote: Dr. Chip, I may be trivializing what's happening, but have you considered using \_s instead of just \s? Or passing it to another map that calls trim before? Something like split -> mapWithTrim -> yourOriginalMap I'm sure I'm missing something obvious because someone

help with map(), please!

2020-11-27 Thread Charles Campbell
I'm having a bit of a problem with map(). I've had problems with map() before, and consequently I really really hate to use it. Here goes: 1: construct a comment: "   Testing: one two | three four | five | six | "    seven | eight |; 2. grab

Re: Fwd: Selective spellchecking

2020-10-15 Thread Charles Campbell
BPJ wrote: Another case of me not finding the relevant parts/tags in the documentation: Where can I find out how to set things up so that spell checking ignores markup, or conversely so that it ignores everything except comments? I'm sure it works through associating spell check with

Re: Use :bdel to close directory listing?

2020-10-11 Thread Charles Campbell
Richard Mitchell wrote: On Saturday, October 10, 2020 at 5:40:00 AM UTC-4, Tony Mechelynck wrote: On Sat, Oct 10, 2020 at 11:29 AM Tony Mechelynck > wrote: > > P.S. I can get (from Belgium) to Dr. Chip's site with no problem but > downforeveryoneorjustme.com

Re: Use :bdel to close directory listing?

2020-10-09 Thread Charles Campbell
Richard Mitchell wrote: On Friday, October 9, 2020 at 6:28:55 PM UTC-4, Dominique Pelle wrote: Charles Campbell <camp...@drchip.org> wrote:

Re: Use :bdel to close directory listing?

2020-10-09 Thread Charles Campbell
Roland Freikamp wrote: Hi, in earlier ViM-versions, :bdel could be used to close directory listings, and e.g. :bn could be used to switch away from the directory listing to the next buffer. But with newer versions, this unfortunately does not work anymore, which makes it really cumbersome to

Re: Error in bash syntax file

2020-08-04 Thread Charles Campbell
'J S' via vim_use wrote: The following line of legal bash code gets flagged as an error: echo ${@:i:1} The above line displays the i'th command line argument. I am running vim 8.1, with lots of patches applied. My sh.vim files (3 of them) are all dated Jun 15, 2019. Hmm, that format,

Re: persistent highlight between marks ?

2020-06-29 Thread Charles Campbell
M Kelly wrote: Hi, Anyone know of a way to set a start mark and then an end mark and then highlight all text between them ? So that is stays highlighted, even if I move the cursor away or scroll etc. Sort of like a visual mode selection that remains after you move away. See :help matchadd

Re: Input continuous stream of digraphs

2020-06-18 Thread Charles Campbell
Tony Mechelynck wrote: On Wed, Jun 10, 2020 at 12:06 PM Manas wrote: Hi guys, I want to know if it is possible to input digraphs

Re: Highlighting c-like for-loops in bash

2020-05-20 Thread Charles Campbell
, 2020 at 4:47 AM Charles Campbell <mailto:campb...@drchip.org>> wrote: Hakim Benoudjit wrote: > > Hi, > > > I wasn't sure if this was a bug or not, so I've updated my Vim version > to 8.2 on Ubuntu 18.04. > > And, as

Re: Help: swap file created in vim each time I am editing code ?

2020-05-04 Thread Charles Campbell
George Dinwiddie wrote: Kunal, On 5/2/20 11:59 AM, Kunal Chauhan wrote: Hi Team, I am facing issue that each time a swp file is created as I am editing code. The .swp file is a normal part of vim operation. If you exit the file in a normal fashion, vim will delete the .swp file.

Re: Help: ctags in vim ?

2020-04-29 Thread Charles Campbell
Kunal Chauhan wrote: 1. I have added simple a new function to my source dir and running the ctags - R but still at new functions tag is not working.? 2. At each time i opened my source code i need to execute ctags again ? 3. How Can I use  ctags and cscope while I have already opened my file

balloon expressions and changing workspace

2020-04-14 Thread Charles Campbell
Hello: I can use a balloon expression (onlookers: see :help 'bexpr') that creates a small balloon text -- but it persists when I change workspaces (Scientific Linux and I also use mate: yum -y groupinstall mate-desktop) (ie. ctrl-alt-arrow).  When its displayed on the wrong workspace, its

Re: netrw#BrowseX fails when invoked from gvim on Ubuntu

2020-03-11 Thread Charles Campbell
Garvin Haslett wrote: I am using Vim 8.2 on Ubuntu 18.04.3 If I launch gvim and enter :call netrw#BrowseX('http://github.com', 0) the window flickers instantaneously and nothing further happens. Performing the same action in terminal vim opens the URL in the browser as expected. It seems

Re: vim html highlight not work.

2018-01-23 Thread Charles Campbell
Zhe Lee wrote: > The filetype is html, and syntax is on. > > the html.vim is in the \Vim\vim80\syntax\. But the html still not highlight > > > why is that? > What does vim --version (or :version when running vim) show? In particular, do you have +syntax or -syntax? You'll need to have the

Re: Advice needed: best practices for vim plugin testing

2017-10-20 Thread Charles Campbell
Felipe Vieira wrote: > Hi everyone, > > I've been trying to develop a plugin and I'm used to writing testing for the > softwares I develop. The problem is that I cannot find a suitable testing > platform for vim plugins. This makes me feel uncomfortable in pushing > improvements made on my own

Re: Cannot create diffs (E97) with Vim 8.0 on Windows 7

2017-07-28 Thread Charles Campbell
Hugo Gagnon wrote: > Hello, > > When I pick two files in Explorer and then right click -> "Diff with Vim" I > get the E97 error. I did read the E97 help file and checked if I had diff.exe > installed but I couldn't find anything odd. By "Explorer", are you referring to netrw? If not, ignore

Re: Disabling persistent undo for a file mask

2017-02-23 Thread Charles Campbell
RingoRangoRongo wrote: > Just confirmed same behaviour with VIM - Vi IMproved 7.3 (vim -u NONE): > > :set undolevels=1000 > :set undofile > :set undodir > :autocmd BufNewFile,BufRead,BufWrite *.sec setlocal ul=-1 > > :sav test.sec " no undo file exists > > insert random text > > :w " undo file

Re: Problem with redraw

2017-01-10 Thread Charles Campbell
mrjn wrote: > I see a lot of problems with Vim showing me the characters pressed in Normal > mode. I have to continuously press ctrl-l to redraw vim. I *think* this > started happening since v8.0 upgrade. > > Here's a snippet from vim --version: > VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Nov

Re: vim 8.0 file explorer restrictions

2016-12-27 Thread Charles Campbell
Musat Eduard wrote: > hy, my question here is about the allowed locations in the new vim 8.0 file > explorer netrw 156. > > i'm running vim 8.0 on a windows 7 system and i'm having this issue whenever > i open gvim (the one that runs in a window as opposed to running in cmd) the > default path

Re: Is there a way to run a shell script that "calls" VIM from outside, passing parameters to it (without to open yours interface)?

2016-07-22 Thread Charles Campbell
toothpik wrote: > On Thu, Jul 21, 2016 at 01:40:52PM -0700, Michel Grassi wrote: >> Em quinta-feira, 21 de julho de 2016 17:01:41 UTC-3, Tumbler Terrall >> escreveu: >>> Sure, make a custom function that takes parameters. Then call it from the >>> shell like so: >>> vim -c"call

Re: Spellcheck after Ellipsis again

2016-06-13 Thread Charles Campbell
David Woodfall wrote: >>> Hi >>> >>> Someone on the list gave me a way to stop spellchecker picking up on >>> uncapitalised words after an ellipsis, which I use in >>> ~/.vim/ftplugin/tex.vim and it works great. >>> >>> However, I found that the same thing in txt.vim doesn't work. >>> >>> Any idea

Re: How to detect the file type in vimrc?

2016-04-07 Thread Charles Campbell
Albert Berger wrote: > On Wed, Apr 06, 2016 at 10:21:42PM -0700, Ben Fritz wrote: >> On Tuesday, April 5, 2016 at 2:44:23 PM UTC-5, Albert Berger wrote: >>> Greetings! >>> >>> How does one detect the file type in .vimrc? AFAIU, 'filetype' setting is >>> not yet set when .vimrc is processed. The

Re: Open All Folds When Opening a File

2016-04-04 Thread Charles Campbell
goldhexter wrote: > Hello all, > > I've used VIM for basic editing, but am new to using it as a full fledged > development environment. Much of my coding is via Python so I've installed > the SimpylFold plugin via Vundle. All is fine, I can unfold and fold using > the "z" options. However, what

Re: netrw :Explore setting current buffer to hidden

2016-02-29 Thread Charles Campbell
gt.ma...@gmail.com wrote: > hello all, > > On Vim 7.4.1401 (OS X 10.11.3), netrw’s :Explore is acting very weirdly for > me. > > My workflow is to usually open some file, use :Explore to search for related > documents and switch between buffers as I need. Since at least 7.4.1401 > calling

Re: netrw :Explore setting current buffer to hidden

2016-02-29 Thread Charles Campbell
Justin M. Keyes wrote: > On Mon, Feb 29, 2016 at 12:31 PM, Charles E Campbell > wrote: >> Justin M. Keyes wrote: >>> netrw is 11,000 (eleven thousand) lines of code without any automated >>> tests. >> That, as it turns out, is not the case. I do have automated tests

Re: Can you edit EBCDIC files on non-OS390 builds of VIM?

2016-02-08 Thread Charles Campbell
Justin Dearing wrote: > I'd like to edit EBCDIC encoded files in VIM on windows vim --version shows > this: > > VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Sep 16 2015 08:44:57) > Included patches: 1-872 > Compiled by > Huge version without GUI. Features included (+) or not

Re: How would you repeatedly produce these lines?

2016-02-01 Thread Charles Campbell
etoipm...@gmail.com wrote: > I'm coding in Python and need to produce a number of lines like the following > >> p3[0] = {'name': , 'symbol': , 'number': } >> p3[1] = {'name': , 'symbol': , 'number': } >> ... > and I'm wondering the best way to go about this. My main thought is to just >

Re: detach current tab into a separate window

2016-01-15 Thread Charles Campbell
kamaraju kusumanchi wrote: > window. This window spans across one whole monitor. Now when writing > new code to call a function, I want to split two tabs from this window > and move them to the second monitor. These tabs typically contain the > header file, another C++ file where a function was

Re: Try this with release gvim74-1024.exe

2016-01-13 Thread Charles Campbell
Christian Brabandt wrote: > Hi 'Suresh! > > On Di, 12 Jan 2016, 'Suresh Govindachar' via vim_use wrote: > >> On 1/12/2016 1:50 PM, Bram Moolenaar wrote [indicating need to send >> files archived in a format netrw can read, which isn't .7z] >> >> Summary: The following reproducible steps work as

Re: mysterious grey bar with symbols in it

2015-12-31 Thread Charles Campbell
Christian Brabandt wrote: > Hi 'Andy'! > > On So, 27 Dez 2015, 'Andy' via vim_use wrote: > >> Thanks! >> That was exactly it. I never would have connected that featurewith the >> symbols, otherwise. >> To complete the answer for others reading: making the symbolsand bar go away >> mans doing

Re: Netrw: pressing `-` jumps to a different window

2015-12-14 Thread Charles Campbell
Nicola wrote: > I have encountered the following problem: when I open netrw in a split > window, > pressing `-` (zero or more times) to go up in the directory tree makes > the > cursor jump to a different window. Besides, when this happens, > mappings like > `ctrl-w l` stop working. I have to

Re: Why is :E an ambiguous command after upgrading to patches through 965?

2015-12-14 Thread Charles Campbell
Tony Mechelynck wrote: > On Mon, Dec 14, 2015 at 5:00 AM, Tim Chase wrote: >> On 2015-12-13 21:02, boB Stepp wrote: >>> Thanks, Tim! I did not know that trick. Apparently the new >>> command is: >>> >>> :ELP {boolean-logic pattern} *:ELP* >>> No search is done, but the

Re: WORK AROUND: How to copy and rename a file with netrw where the target and source directory are the same?

2015-10-08 Thread Charles Campbell
Shane Dev wrote: > Hi Chris, > > :cd [the directory of oldfilename] > :call system("cp 'oldfilename' 'newfilename'") > > works as expected. > > After further testing, it seems I have to execute netrw-c (make browsing > directory the current directory) before the sequence - > > 1. move cursor to

Re: How to copy and rename a file with netrw where the target and source directory are the same?

2015-10-05 Thread Charles Campbell
Shane Dev wrote: >> Copy a file using the usual netrw method for copying: (assuming cursor >> is atop the file to be copied, and that the file is a file, not a director) >> >> mt (mark target) >> mf (mark file) >> mc >> >> You'll be given a prompt: Copy [filename] to : [filename] >> >> Just

Re: How can I enforce (perhaps in '.vimrc') all my Vim help pages to always open up as listed?

2015-10-05 Thread Charles Campbell
'Annis Monadjem' via vim_use wrote: > Hi, > > How can I enforce all Vim help pages to be 'buflisted' so that when I open > any help topic it always opens up in the buffer list as 'listed' and to be > always visible in ':ls' listing? > > I know how to list an unlisted buffer by applying the

Re: visincr and mswin not compatible

2015-09-25 Thread Charles Campbell
jordi_frei wrote: > Thanks Chip! > > I tried this new version but I still get the same error. but on the web in > says version 21d, I don't know if this is important. > > I commented the following lines from your script and then it works, but I > don't know if this would mess up other

Re: visincr and mswin not compatible

2015-09-24 Thread Charles Campbell
jordi_frei wrote: > I just installed the visincr script and it only works when I comment the > following two lines: > > source $VIMRUNTIME/mswin.vim > behave mswin > > When mswin is active the first line is changed instead of the selected > column > > The thing is that, I really need to use

Re: gVIM Screen Corruption

2015-09-10 Thread Charles Campbell
Tony Mechelynck wrote: > On Thu, Sep 10, 2015 at 5:25 PM, Tim Chase wrote: > [...] >> (welcome back, Tony...been a while since I've >> seen you here and glad to see you're okay) > [...] > > Thanks, Tim. It's a really warming thing to see how many people were > troubled by

Re: Solver in vim?

2015-08-26 Thread Charles Campbell
Erik Christiansen wrote: On 26.08.15 15:00, Uwe Husmann wrote: Those are textpads that will recognize and solve mathematical formulas and equations. I just wonder if there are similar plugins for vim that will do the same thing or at least go in the same direction? Sounds like an attempt to

Re: vim - how to enable searching in vim editor and finding/highlighting pattern that is only in non-commented block/line

2015-08-24 Thread Charles Campbell
'Annis Monadjem' via vim_use wrote: Hi, I am looking for a way to search in vim editor and to find text highlighted only for pattern found in non-commented blocks/lines. I often use *, #, g*, g# but these find every pattern also in commented blocks/lines of code. Also, I frequently use

Re: Copying files with Vim's netrw on Mac OS X is broken

2015-08-07 Thread Charles Campbell
Mark McDonnell wrote: Hi, can anyone help me this issue with netrw? To copy a file in Vim using netrw I have to following these steps: 1. Select the destination directory (using mt) 2. Select the file to be copied (using mf) 3. Proceed with copying (using mc) The commands to use in netrw

Re: dot in iskeyword in C and sh files

2015-08-06 Thread Charles Campbell
Christian Brabandt wrote: Hi Olaf! On Mi, 05 Aug 2015, Olaf Hering wrote: Since some time cycling through variables in a shell file with the asterisk '*' key is broken for me. In the simple example like that: var=val echo $var.whatever I was able to move cursor to var=,

Re: Spell checking in tex files

2015-08-03 Thread Charles Campbell
David Woodfall wrote: Spellcheck is turned off by default in tex files, so I have enabled it with 'syntax spell toplevel'. When I also try to add a new syntax cluster, like: syn match Ellipsis /[.][.][.]\s\l/ contains=@NoSpell transparent syn cluster Spell add=Ellipsis it seems to make no

Re: how to get the function:line of calling script

2015-07-17 Thread Charles Campbell
hermi...@free.fr wrote: Hello, If you figure out how to use this in a script, please post, I have wanted this ability as well. Yes indeed. I the past, I had to emulate similar features by preprocessing viml scripts where I've been inserting line numbers and all. The result was extremly

Re: how to get the function:line of calling script

2015-07-15 Thread Charles Campbell
Nikolay Pavlov wrote: 2015-07-15 18:01 GMT+03:00 Charles Campbell charles.e.campb...@nasa.gov: Hello! Is there a way for a function to know from where it was called? function:line, file:line, whatever (although if I had my preferences I'd pick the latter). You can know from which function

how to get the function:line of calling script

2015-07-15 Thread Charles Campbell
Hello! Is there a way for a function to know from where it was called? function:line, file:line, whatever (although if I had my preferences I'd pick the latter). Regards, Chip Campbell -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text

Re: netrw hide files beginning with . while using the long liststyle

2015-06-25 Thread Charles Campbell
Rick Dooling wrote: On Monday, March 9, 2015 at 7:53:06 PM UTC-5, DrChip wrote: Rick Dooling wrote: I saw another thread herein where the conversation touched on this but without a conclusive answer. I like the long list style in netrw, and I also like sorting by time reversed (showing

Re: Problem with netrw and buftype

2015-06-24 Thread Charles Campbell
Christian Brabandt wrote: Hi wednesday! On Mi, 24 Jun 2015, wednesday wrote: On Wed, Jun 24, 2015 at 02:25:03AM +0100, wednesday wrote: When I open up the explorer to put a new file into a split, once that new file is there the old one becomes unwritable due to buftype being set to nofile.

Re: How does vim determine the way the text is colored in the section of :help group-name?

2015-06-17 Thread Charles Campbell
Peng Yu wrote: Hi, I see the following text in :help group-name colored. But when I checked the file syntax.txt, I didn't see anything special for indicating the colors. Could anybody let me know how vim determines the colors? Thanks. snip Hello, Peng: Syntax rules pick highlighting

Re: Execute command on multiple ranges found by regex

2015-06-10 Thread Charles Campbell
Tim Chase wrote: On 2015-06-03 16:03, BPJ wrote: You can define a range with regular expression(s) like: :/^beginfoo/+1,/^endfoo/-1!somefilter However if there are multiple ranges which would match only the next one is filtered. Can you make Vim apply the command to all matching

Re: AnsiEsc can not show background

2015-06-01 Thread Charles Campbell
Peng Yu wrote: I got the following error. Do you know what is wrong? Also, could you please post it at http://www.vim.org/scripts/script.php?script_id=302. ***vimball*** Source this file to extract it! (:so %) removed 4 files Vimball Archive extracted plugin/AnsiEscPlugin.vim: 30 lines

Re: autocmd BufEnter * :set selection=exclusive

2015-05-28 Thread Charles Campbell
Paul wrote: toothpik toothpik6 at gmail.com writes: On Fri, Apr 24, 2015 at 10:29:00PM +, Paul wrote: Christian Brabandt cblists at 256bit.org writes: Check with :verbose set selection? what caused the change of the selection. If a plugin is the culprit contact the plugin author. He

Re: Autocmd to have a mapping only for a specific file

2015-05-28 Thread Charles Campbell
alexandre viau wrote: But even if i put backspace instead of ctrl-enter it will not be executed, only one of the mapping is executed Le mer. 29 avr. 2015 à 17:05, Charles Campbell charles.e.campb...@nasa.gov mailto:charles.e.campb...@nasa.gov a écrit : av wrote: Le jeudi 23 avril

Re: Search pattern while excluding some words

2015-05-28 Thread Charles Campbell
kamaraju kusumanchi wrote: On Fri, Mar 6, 2015 at 2:58 PM, Charles Campbell charles.e.campb...@nasa.gov wrote: Hello! You might find LogiPat helpful; see http://www.drchip.org/astronaut/vim/index.html#LOGIPAT . :LP !RCMP !QEII !SPCA [A-Z]\{4,\} LogiPat allows boolean logic to work

Re: Vim: Not able to activate plugins , ... missing vim folders? etc

2015-05-28 Thread Charles Campbell
FriendOfFatBeagle wrote: I am learning Vim on Linux Mint Cinnamom Rebecca (17.1), 64 bits I am learning plugins for Vim from here: http://www.swaroopch.com/notes/vim/ There is a free download book. Excerpts from page 60 of book (http://files.swaroopch.com/vim/byte_of_vim_v051.pdf):

Re: Check spelling inside \textbf{} in LaTeX file

2015-05-14 Thread Charles Campbell
removing read permission. Would you give me a snippet where there's problematic italic and bold highlighting? Thank you, Charles Campbell -- -- 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

Re: Autocmd to have a mapping only for a specific file

2015-04-29 Thread Charles Campbell
av wrote: Le jeudi 23 avril 2015 09:25:11 UTC+2, av a écrit : Hi, I try to have an autocommand that would provide a mapping to the enter and c-enter keys only on a certain file name. Like myfile.txt for example. I have tried a test like this here, and it works for the c-Enter mapping

Re: Subvert command not working - just opens current file in hsplit

2015-04-17 Thread Charles Campbell
Robert Balejík wrote: :%S/@user{,s}/@event{,s}/g so this is my command -what this does it opens curerent file in the horiozontal split but do not substitute anything, there must be smth seriously worong with my vim By this is my command, do you mean that you've implemented a command

Re: Syntax highlight problems

2015-04-08 Thread Charles Campbell
Alessandro Antonello wrote: Hi, Nikolay Thanks for your answer. Its a little bit strange how my brain works. I saw you version of the 'match' and I saw the solution right there. I didn't really need a transparent region. I just wanted that the highlighted area not leak to the start and end

Re: How to indicate multiple window lines that belong to a long line in a file

2015-04-07 Thread Charles Campbell
other. Maybe you meant my followup message about the digraph issue. Paul. On 4/3/2015 11:17 AM, Charles E Campbell wrote: Charles Campbell wrote: 'Paul' via vim_use wrote: Currently I use set number for this purpose. But it takes a lot of window space. So I wonder whether there is a better

Re: How to get to the helppage of shiftwidth in options.txt?

2015-04-02 Thread Charles Campbell
Christian Brabandt wrote: Am 2015-04-01 04:27, schrieb Peng Yu: Check compgen in bash, then you will see what I mean. Please be more specific and say exactly what you want. Not everybody wants to install bash to check a manual page. If this helps, here's the pertinent section from bash's

Re: How to get to the helppage of shiftwidth in options.txt?

2015-04-02 Thread Charles Campbell
Peng Yu wrote: On Sun, Mar 29, 2015 at 8:40 PM, Tim Chase v...@tim.thechases.com wrote: On 2015-03-29 20:22, Peng Yu wrote: On Sun, Mar 29, 2015 at 5:52 PM, Tim Chase wrote: :help listC-D Is there a way to somehow print the potential matches in the command to stdout. I am able to get vim

Re: How to indicate multiple window lines that belong to a long line in a file

2015-04-02 Thread Charles Campbell
'Paul' via vim_use wrote: Currently I use set number for this purpose. But it takes a lot of window space. So I wonder whether there is a better way to do it, such as the way used in Emacs window (showing a little line wrap symbol at the end of a window line if it continues to the next window

Re: How to avoid zip.vim being used when docx2txt is installed to open docx files?

2015-03-24 Thread Charles Campbell
Peng Yu wrote: Modify g:zipPlugin_ext to hold whichever suffices you want zip.vim to handle and put it into your .vimrc. This change will take effect only in subsequent instances of vim, not a currently running one. What is the syntax for multiple suffixes? Should it be something like this?

Re: Looking for a simple LispIDE

2015-03-24 Thread Charles Campbell
meino.cra...@gmx.de wrote: Hi, I am starting to learn Lisp. And I want to use vim for that, because there is no other editor... ;) I am looking for something simple, which executes my current lisp code in the buffer via sbcl (Steel Bank Common lisp). I tried to install slimv and limp and

Re: Netrw sorting of punctuations in file names

2015-03-06 Thread Charles Campbell
Paul wrote: I'm noticing that netrw v149 lists files sorted by name in the following order: 20140220.1112+20140224.1416.zip* 20140220.1112.zip* In contrast, bash and Windows Explorer lists the files in the reverse order: 20140220.1112.zip* 20140220.1112+20140224.1416.zip*

Re: Sort by file extension in netrw?

2015-03-06 Thread Charles Campbell
Ben Fritz wrote: Is it possible to sort by file extension in netrw? I cycled the sort sequence with 's' in my netrw tree and was surprised to see by extension is not in the various sort methods. Only name, time, and size. I looked in the help found the g:netrw_sort_sequence but that just

Re: Search pattern while excluding some words

2015-03-06 Thread Charles Campbell
John Cordes wrote: First a small bit of background. I have created a little bash script which runs pdftotext on a PDF file (containing obituaries, with surnames in upper-case), then invokes vim commands to massage the resulting text file, basically to break the file into paragraphs. I

Re: what does iskeyword option do?

2015-02-25 Thread Charles Campbell
FlashBurn wrote: On Wednesday, February 25, 2015 at 11:31:36 AM UTC-5, Tim Chase wrote: On 2015-02-25 08:02, FlashBurn wrote: I'm trying to understand the meaning of 'iskeyword' option but I can't figure out from the help what it does. Any help in finding out of the meaning of this option is

Re: Editing tar file under osx

2015-02-20 Thread Charles Campbell
Subbu wrote: Hello Everyone! I have this strange problem editing tar file with vim. vim can edit and update tar under Linux. But it might have some problem with osx. I could reproduce this problem on simple tar file(like - tar has one text file). Does anyone has problem using vim with tar

Re: navigation in diff mode with the csv plugin

2015-02-12 Thread Charles Campbell
kamaraju kusumanchi wrote: On Thu, Jan 1, 2015 at 7:39 AM, Christian Brabandt cbli...@256bit.org wrote: Hi kamaraju! The problem occurs only when the filetype is set to 'csv'. If I manually change it to 'text', then there is no problem. Up and Down have been mapped in csv mode (see :h

Re: missing diff.exe

2015-02-12 Thread Charles Campbell
FlashBurn wrote: On Thursday, February 12, 2015 at 3:09:58 PM UTC-5, Christian Brabandt wrote: On Do, 12 Feb 2015, FlashBurn wrote: I'm running gVim 7.4 on Windows 7. I've never used vimdiff command before and decided to use it now and as it turns out diff.exe is missing. Does anybody have

Re: Problem with AutoAlign

2015-01-28 Thread Charles Campbell
Cesar Romani wrote: I also discovered that the same problem happens when editing a latex file, i.e. when typing () and then typing = inside the parentheses, the cursor gets after the closing parenthesis.

Re: Problem with AutoAlign

2015-01-22 Thread Charles Campbell
Cesar Romani wrote: I'm using vim 7.4.589 on Windows 7. I'm editing an html file and type '()' (without quotes) then go back one place and try to type 'a=' (without quotes), then I get immediately after the closing parenthesis! I have to go back one place to continue to type after '=' I

Re: netrw - file selection in column mode (liststyle=2)

2015-01-12 Thread Charles Campbell
Brice Burgess wrote: I'm having an issue trying to delete a file using netrw in column mode (liststyle=2). My filelist is showing three columns, and when I place my cursor over any file not in the first (leftmost) column and press delete, it tries to delete the file in the first column.

Re: Vim and Lisp

2015-01-12 Thread Charles Campbell
Matteo Cavalleri wrote: I don't write lisp, but I've found a couple of links which might be interesting for you: http://usevim.com/2014/09/03/emacs-evil-mode/ http://usevim.com/2014/07/04/lisp-tips/ You might find Rainbow.vim of interest:

Re: restrict searches by window

2015-01-08 Thread Charles Campbell
buffers. Is anything like that possible currently? I am using vim 7.4.488 on Debian Jessie. Use :match instead of hlsearch: :match Search /pattern/ Regards, Charles Campbell -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you

Re: how to display different color in vi

2015-01-05 Thread Charles Campbell
skyworld wrote: Hi John, thanks for your help. I have tried several times, but always failed. 1. I first tried to set abc in my file to be red as: :match abc /\yellow\/ the system seems to be idle and there is no response. 2. I checked help with match command and tried its example:

Re: Smarter sintax coloring

2014-12-31 Thread Charles Campbell
Paolo Bolzoni wrote: I program in C++ using vim and, as most developers, I use syntax coloring. I have a weak spot for colorful terminal screens... However, I have the feeling that syntax coloring is little more than eye candy. Lets see this two lines of code: a -= b; against a =- b;

Re: Search and hilight in several buffers

2014-12-31 Thread Charles Campbell
ivan.merc...@gmail.com wrote: Hi, I'm looking for a command to search and hilight a pattern in several buffers. My problem is that the non-active splits don't move to the pattern found's line when I use /pattern or * for example. Any idea? I can help you with your first problem (search

Re: Problem with 'gx'

2014-12-10 Thread Charles Campbell
Cesar Romani wrote: On 08/12/2014 05:29 p.m., Charles E Campbell wrote: Cesar Romani wrote: I'm using vim 7.4.542 on Windows 7. When I do 'gx' on an url I always get: Press cr to continue How can I suppress it? Many thanks in advance, Try :set ch=2 Regards, Chip Campbell

missing characters

2014-11-17 Thread Charles Campbell
Hello: I just downloaded an upgraded Starry Night Pro (v7) -- and it demanded an upgraded .NET and ASCOM. It also heavily uses the NVIDIA graphics card. I run linux via VmWare, and inside linux I run gvim. Ever since the upgrade, gvim has been dropping characters. It gets them, it just does

  1   2   3   4   5   6   7   8   9   >