Re: Having certain lines readonly

2017-01-17 Thread Ben Fritz
On Monday, January 16, 2017 at 12:06:05 PM UTC-6, Tihomir Mitkov wrote: > неделя, 15 януари 2017 г., 16:10:42 UTC+2, lith написа: > > > Thank for your post. I figured out that I can simulate readonly lines by > > > keeping metadata about lines and remapping all keys to a function which > > >

Re: Having certain lines readonly

2017-01-16 Thread Tihomir Mitkov
неделя, 15 януари 2017 г., 16:10:42 UTC+2, lith написа: > > Thank for your post. I figured out that I can simulate readonly lines by > > keeping metadata about lines and remapping all keys to a function which > > decides upon that metadata whether to put the character in question. > > An

Re: Having certain lines readonly

2017-01-15 Thread lith
> Thank for your post. I figured out that I can simulate readonly lines by > keeping metadata about lines and remapping all keys to a function which > decides upon that metadata whether to put the character in question. An alternative approach would be to use the CursorMoved(I) events to

Re: Having certain lines readonly

2017-01-15 Thread Tihomir Mitkov
вторник, 10 януари 2017 г., 9:13:02 UTC+2, Erik Christiansen написа: > On 02.01.17 03:42, Tihomir Mitkov wrote: > > Is it possible to have certain lines uneditable while keeping the rest of > > them editable? > > In *nix, almost anything is possible. You could either excise the > protected lines

Re: Having certain lines readonly

2017-01-09 Thread Erik Christiansen
On 02.01.17 03:42, Tihomir Mitkov wrote: > Is it possible to have certain lines uneditable while keeping the rest of > them editable? In *nix, almost anything is possible. You could either excise the protected lines with e.g. Awk, then reinsert them after exit from Vim to the wrapper script, or

Re: Having certain lines readonly

2017-01-03 Thread Tim Chase
On 2017-01-02 03:42, Tihomir Mitkov wrote: > Is it possible to have certain lines uneditable while keeping the > rest of them editable? The closest I've heard of is the "narrow region" plugin https://github.com/chrisbra/NrrwRgn -tim -- -- You received this message from the "vim_use"

Re: Having certain lines readonly

2017-01-03 Thread Ben Fritz
On Tuesday, January 3, 2017 at 1:15:48 AM UTC-6, Tihomir Mitkov wrote: > Is it possible to have certain lines uneditable while keeping the rest of > them editable? No. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying

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