Brecht Machiels wrote:
Hi,
You can clear the 'modifiable' option to disable unintended
modifications to a buffer.
setlocal nomodifiable
Is is possible to prevent, for example, the project plugin from opening
another file (other than the current) in a window? The nomodifiable
option only
Brecht Machiels schrieb:
Hi,
You can clear the 'modifiable' option to disable unintended
modifications to a buffer.
setlocal nomodifiable
Is is possible to prevent, for example, the project plugin from opening
another file (other than the current) in a window? The nomodifiable
option
On Thu, 19 Oct 2006 15:18:12 +0200
A.J.Mechelynck [EMAIL PROTECTED] wrote:
[snip]
Instead of calling the program vim, call it rview. Then you won't
be able to write anything, nor to use a shell command. Is that safe
enough? Maybe :help starting.txt will give you other ideas.
except that
Hi,
On 10/19/06, Kim Schulz [EMAIL PROTECTED] wrote:
On Thu, 19 Oct 2006 15:18:12 +0200
A.J.Mechelynck [EMAIL PROTECTED] wrote:
[snip]
Instead of calling the program vim, call it rview. Then you won't
be able to write anything, nor to use a shell command. Is that safe
enough? Maybe :help
On Thu, 19 Oct 2006 12:15:17 -0700
Yegappan Lakshmanan [EMAIL PROTECTED] wrote:
You can use the detailed example code under :help
CursorHold-example. It uses the :ptag command and the cursorhold
autocmd to jump to the tag under the cursor in the preview window and
highlight the line.
Hi
I was wondering if there is a way to lock a window such that the
content can only be changed by scripting/commands. Like a preview
window or somthing like that.
is that possible to make in Vim or should I make a feature request to
get it :-)
--
Kim Schulz| Private :
a filename assigned
to this given window (no_touch.txt), you could do something like
:au WinEnter no_touch.txt wincmd x
(which kinda pushes the locked window out of the way by
preventing you from entering it) or
:au WinEnter no_touch.txt wincmd p
which simply prevents you from entering
Hello,
On 10/18/06, Kim Schulz [EMAIL PROTECTED] wrote:
Hi
I was wondering if there is a way to lock a window such that the
content can only be changed by scripting/commands. Like a preview
window or somthing like that.
is that possible to make in Vim or should I make a feature request to
get