GithubHelp home page GithubHelp logo

maximize's Introduction

maximize.el

Maximize your emacs frames vertically or horizontally.

How to install:

Clone file into your emacs directory

cd ~/.emacs.d
git clone [email protected]:izawa/maximize.git

Add load path subdirectory recursively

(let ((default-directory "~/.emacs.d/"))
  (normal-top-level-add-subdirs-to-load-path))

Add require into your .emacs.

(require 'maximize)

Additional setting

If you want to bind Hot-keys, add setting lines like below.

(global-set-key [f9] 'maximize-toggle-frame-vmax)
(global-set-key [f11] 'maximize-toggle-frame-hmax)

Screen shots

  • normal

normal

  • maximized vertically

vertical

  • maximized horizontally

horizontal

  • maximized both (like a full screen)

both

maximize's People

Contributors

izawa avatar

Stargazers

nujnus avatar masaaki1001 avatar  avatar

Watchers

 avatar James Cloos avatar masaaki1001 avatar

maximize's Issues

cannot use maximize-toggle-frame-vmax directly in .emacs

Hello, I'm using OSX 10.8.1, and use this emacs version: http://emacsformacosx.com/

The issue is, when I add maximize-toggle-frame-vmax and maximize-toggle-frame-hmax directly into .emacs, after emacs start, it turns out this:

image

To be mentioned, I load lots of modules in .emacs.

I made a workaround, and it works:

(add-hook 'after-init-hook '(lambda () (run-at-time "1 sec" nil 'maximize-toggle-frame-vmax)))
(add-hook 'after-init-hook '(lambda () (run-at-time "1 sec" nil 'maximize-toggle-frame-hmax)))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.