Coder Social home page Coder Social logo

0blayout's Introduction

https://melpa.org/packages/0blayout-badge.svg https://stable.melpa.org/packages/0blayout-badge.svg

0blayout-mode – Small Layout Management mode

This mode provides the ability to have several layouts saved and then you can easily switch between your saved layouts. When you first load the mode, you will get a “default” layout named “default”.

Default Prefix

Default keyboard prefix is C-c C-l, and you can modify that by putting this in your init-file (with your own prefix of course):

(0blayout-add-keybindings-with-prefix "C-c C-l")

Usage

You have the ability to create new layouts using PREFIX C-c and name them. There you can set up your layout as you want it, open buffers, edit files.

And when you have more than one layout, you can switch between the layouts you have active with PREFIX C-b.

You can also kill the layout that you’re currently visiting with PREFIX C-k

Install

The lazy way (Using use-package)

This requires that you have use-package set up. But it’s in my opinion the easiest way to set up packages.

(use-package 0blayout
  :ensure t

  ;; Optionally set default layout name
  :init (setq-default 0blayout-default "my-default-layout-name")

  ;; Load the mode
  :config (0blayout-mode t))

Using MELPA

You could also have a clause like this to automaticly install it:

(unless (package-installed-p '0blayout)
  (progn
    (package-refresh-contents)
    (package-install '0blayout)))

To activate 0blayout-mode you just put (0blayout-mode 1) somewhere after you loaded it.

Manual install

  • Download 0blayout.el
  • Put the file in some folder like $HOME/.emacs.d/lisp/

Then you can include like this:

(add-to-list 'load-path
             (expand-file-name "lisp" user-emacs-directory))

(require '0blayout)

(0blayout-mode 1)                       ; Activate 0blayout-mode

Name

0b is just a prefix I use for things because I have the domain 0b.se, that’s it.

0blayout's People

Contributors

anler avatar conao3 avatar etu avatar purcell avatar talyz avatar

Watchers

 avatar

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.