Tree style source code viewer for Go language
Emacs Lisp
Switch branches/tags
Clone or download
syohex Update about MELPA
- Add MELPA badges
- Add installation section
Latest commit 8f22064 Nov 27, 2015
Permalink
Failed to load latest commit information.
image
.gitignore
Cask
Changes
README.md
go-direx.el

README.md

go-direx.el melpa badge melpa stable badge

Introduction

You can view go code in a tree style viewer with direx.el.

Screenshot

go-direx1

Requirements

You can install direx with package.el from MELPA. And you can install gotags by go get as below.

% go get -u github.com/jstemmer/gotags

Installation

go-direx is available on MELPA and MELPA stable

You can install go-direx with the following command.

M-x package-install [RET] go-direx [RET]

Setup

(require 'go-direx) ;; Don't need to require, if you install by package.el
(define-key go-mode-map (kbd "C-c C-j") 'go-direx-pop-to-buffer)

Working with popwin

(require 'popwin)
(setq display-buffer-function 'popwin:display-buffer)

(push '("^\*go-direx:" :regexp t :position left :width 0.4 :dedicated t :stick t)
      popwin:special-display-config)

Show buffer on right side

go-direx2

(push '("^\*go-direx:" :regexp t :position right :width 0.4 :dedicated t :stick t)
      popwin:special-display-config)