Having certain lines readonly

2017-01-02 Thread Tihomir Mitkov
Is it possible to have certain lines uneditable while keeping the rest of them editable? -- -- 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 http://www.vim.org/maillist.php --- You

Re: How to do block pasting?

2017-01-02 Thread Pongthep Kulkrisada
You did something wrong. Well, you have... abc def ghi rst uvw xyz In exit mode (escape), move the cursor to 'c'. Type 'a' to enter insert mode, then type 2 spaces. Escape again, then move the cursor to 'r'. ctrl-v to enter visual block mode. Then type 'l', 'l', 'j', 'j', to cover the block to

Re: How to do block pasting?

2017-01-02 Thread Aswin S
With cursor on the 'r' of 'rst', do this key sequence: lll jj d gg A p This is same as what Jan said, just putting down the keystrokes. On Monday, 2 January 2017 04:29:07 UTC+5:30, hiwa wrote: > We only get the [p] result as: > > abc rst > uvw > xyz > def > ghi > > That is, and has been,

Re: 'maxfuncdepth' ignored

2017-01-02 Thread Nikolay Aleksandrovich Pavlov
2017-01-02 23:36 GMT+03:00 Brett Stahlman : > On Monday, January 2, 2017 at 11:40:32 AM UTC-6, ZyX wrote: >> 2017-01-01 0:40 GMT+03:00 Brett Stahlman : >> > On Saturday, December 31, 2016 at 12:23:10 PM UTC-6, ZyX wrote: >> >> 2016-12-30 20:09

Re: 'maxfuncdepth' ignored

2017-01-02 Thread Brett Stahlman
On Monday, January 2, 2017 at 11:40:32 AM UTC-6, ZyX wrote: > 2017-01-01 0:40 GMT+03:00 Brett Stahlman : > > On Saturday, December 31, 2016 at 12:23:10 PM UTC-6, ZyX wrote: > >> 2016-12-30 20:09 GMT+03:00 Brett Stahlman : > >> > Consider the

Re: 'maxfuncdepth' ignored

2017-01-02 Thread Nikolay Aleksandrovich Pavlov
2017-01-01 0:40 GMT+03:00 Brett Stahlman : > On Saturday, December 31, 2016 at 12:23:10 PM UTC-6, ZyX wrote: >> 2016-12-30 20:09 GMT+03:00 Brett Stahlman : >> > Consider the following recursive user function... >> > >> > fu! Fun(count) >> > if

Re: vim session plugin with MacVim Question

2017-01-02 Thread Russell Urquhart
Hi, On Sun, Jan 01, 2017 at 04:37:20PM -0500, Tim Gray wrote: > I don't use NerdTree, but I do use vim-session with MacVim. I do not > experience what you are talking about. I usually close my sessions with the > CloseSession, but I just tried quitting MacVim without closing the session > or

Re: 'maxfuncdepth' ignored

2017-01-02 Thread Brett Stahlman
On Monday, January 2, 2017 at 8:26:52 AM UTC-6, Bram Moolenaar wrote: > Brett Stahlman wrote: > > > On Saturday, December 31, 2016 at 12:23:10 PM UTC-6, ZyX wrote: > > > 2016-12-30 20:09 GMT+03:00 Brett Stahlman : > > > > Consider the following recursive user function...

Re: 'maxfuncdepth' ignored

2017-01-02 Thread Bram Moolenaar
Brett Stahlman wrote: > On Saturday, December 31, 2016 at 12:23:10 PM UTC-6, ZyX wrote: > > 2016-12-30 20:09 GMT+03:00 Brett Stahlman : > > > Consider the following recursive user function... > > > > > > fu! Fun(count) > > > if a:count > 0 > > > call