Giter Site home page Giter Site logo

bm-e-z's Introduction

#bm-e-z

Synopsis

zsh plugin to share the emacs bookmarks with zsh bookmark.

zsh bookmark is provied by cd-bookmark.

The original script is licensed under the MIT License.

CAUTION

cd-bookmark can not use, because cd-bookmark file is initialized by bm-e-z.

How to install

  1. install cd-bookmark (see, https://github.com/mollifier/cd-bookmark.git)

  2. put bm-e-z file in your $fpath

  3. if you need, _bm-e-z file also put in $fpath

    $ ls .zsh/functions/ bm-e-z _bm-e-z cd-bookmark/

  4. add this line to your .zshrc:

    autoload -Uz bm-e-z

  5. if need, edit bm-e-z file to configure both emacs bookmark file and cd-bookmark file path

  6. You can set alias to this function.

    $ alias bm='bm-e-z'


default setting

em='/Applications/Emacs24.app/Contents/MacOS/bin/emacsclient'

your bookmark files select

EMACS_BOOKMARK=~/.emacs.d/bookmarks

EMACS_BOOKMARK=~/.emacs.bmk

CDBOOKMARK=~/.cdbookmark


Usage

  • add current directory to bookmark(Emacs)

      $ bm-e-z -a
    
  • update bookmark (load bookmark from Emacs)

      $ bm-e-z -u
    
  • cd

      $ bm-e-z [TAB, select directory]
    
  • show list (update bookmark, at same time)

      $ bm-e-z -l
    
  • show help

      $ bm-e-z -h
    
  • if you want to edit bookmark,

      edit Emacs bookmark,
    
      do not edit cd-bookmark file(default file is ~/.cdbookmark)
    

bm-e-z's People

Contributors

object-kazu avatar

Watchers

 avatar James Cloos 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.