Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Keep your text centered when there's only one window.
branch: master

Merge pull request #1 from pierre-lecocq/installation_documentation

Add installation instruction in the README file
latest commit 3107c8942d
Anler Hernández Peral authored
Failed to load latest commit information.
img
README.org Add installation instruction in the README file
centered-window-mode.el Emacs 23 compatibility

README.org

Centered Window Mode

Global minor mode that centers the text of the window when there’s only one window in the frame.

As soon as another window is visible the text goes back to normal while more than one window is visible.

You may want to activate `visual-line-mode` if your lines go out of reach.

Screenshots

https://raw.githubusercontent.com/ikame/centered-window-mode/master/img/s-1.png https://raw.githubusercontent.com/ikame/centered-window-mode/master/img/s-2.png https://raw.githubusercontent.com/ikame/centered-window-mode/master/img/s-3.png

Installation

Manual installation

First, download centered-window-mode.el in your emacs load path.

Then, to make it available, add this to your configuration file:

(require 'centered-window-mode)

Installation via el-get

If you use el-get, the emacs package manager, simply add centered-window-mode to your packages list.

Activation

On-the-fly

Simply type M-x centered-window-mode in any buffer.

Permanent

To make this permanent, add this to your emacs configuration file:

(require 'centered-window-mode)
(centered-window-mode t)

License

Copyright (C) 2014 Anler Hp

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Something went wrong with that request. Please try again.