Replicate TextPad feature (copy marked lines)

2015-05-28 Thread skeept
Hi All, I use vim as much as possible, but today I saw a coworker do something interesting with TextPad. He would use find with a string or regular expression. Then he can mark all matching lines. He can repeat the process with several strings. After that he would copy all the marked lines

Re: Replicate TextPad feature (copy marked lines)

2015-05-28 Thread Tim Chase
On 2015-05-28 13:54, skeept wrote: He would use find with a string or regular expression. Then he can mark all matching lines. He can repeat the process with several strings. After that he would copy all the marked lines and paste to another window. The common way to do this is to pull the

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: keymodel=stopsel (set by behave mswin) interferes with match_words (matchit plugin) and the textobj-user plugin

2015-05-28 Thread Christian Brabandt
Am 2015-05-28 09:11, schrieb Hgs: I found out that the behave mswin command called from $VIM/mswin.vim interferes with the matchit plugin when using match_words and with the select-i method of the pattern mode of the vim-textobj-user plugin. (Both inserted a new line after the end pattern and

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

2015-05-28 Thread Yukihiro Nakadaira
On Thu, May 28, 2015 at 2:12 PM, FriendOfFatBeagle avtinc2...@gmail.com 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 (

keymodel=stopsel (set by behave mswin) interferes with match_words (matchit plugin) and the textobj-user plugin

2015-05-28 Thread Hgs
I found out that the behave mswin command called from $VIM/mswin.vim interferes with the matchit plugin when using match_words and with the select-i method of the pattern mode of the vim-textobj-user plugin. (Both inserted a new line after the end pattern and placed the cursor there.) A closer

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

2015-05-28 Thread Hoe-Phuan Ng
Hello Yukihiro Nakadaira: I will try it out. Thanks. *Signature:* *Bad* *company* *corrupts* *good* character. -anonymous writer Beautiful quotes . -Dalai Lama, http://thinkexist.com/quotes/dalai_lama/ Live Long And Prosper, FriendOfFatBeagle On Thu, May 28, 2015 at 12:52 AM,

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):