help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: view-mode keymap


From: William Xu
Subject: Re: view-mode keymap
Date: Thu, 03 Jan 2013 22:43:17 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (darwin)

Daimrod <daimrod@gmail.com> writes:

> Michael Heerdegen <michael_heerdegen@web.de> writes:
>
>> Daimrod <daimrod@gmail.com> writes:
>>
>>> I like `view-mode' but it conflicts with others minor mode map (paredit
>>> in my case).
>>
>> Why do you need to use `paredit-mode', a mode for editing, and
>> `view-mode' that makes the buffer read-only, at the same time?
>
> Well, I was playing with `view-mode', trying to integrate it with some
> other minor modes to read a text without too much visual noise (hiding
> the header-line, the mode-line and centering the content). And I tried
> it on the current buffer which was the source of those modes, it didn't
> work as I expected, I tried to understand, and so here I am.

Maybe you can try this minor mode: 

;; View file like a simple `less'. Provide limited less keys, mainly j,
;; k, f, b, g, G, etc.

  https://github.com/xwl/less/blob/master/less.el

I bind `C-c v' to enable it, type `e' to exit.  
  
-- 
William

http://xwl.appspot.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]