Skip to content

Commit

Permalink
minor update of developer guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Bin committed Mar 16, 2021
1 parent d12630d commit 0507e4b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions developer-guide-en.org
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ Make sure your project is using git.

All developer will encounter the problem to find file with similar file name. C++ developers need find "window.hpp" from "window.cpp". Javascript developers need find "Component.test.js" from "Component.js".

The easiest solution is just sorting the candidates from =counsel-git= by string distance. See [[https://www.emacswiki.org/emacs/LevenshteinDistance][LevenshteinDistance]].
The easiest solution is to sort the candidates from =counsel-git= by [[https://www.emacswiki.org/emacs/LevenshteinDistance][string distance]].

There are tons of handy commands from these counsel/swiper/ivy (=counsel-imenu=, =counsel-recentf=, =counsel-ibuffer=, ...).
There are tons of handy commands from counsel/swiper/ivy (=counsel-imenu=, =counsel-recentf=, =counsel-ibuffer=, ...).

API =ivy-read= from =ivy= is useful. Here is a simple demo on how to use =ivy-read=,
API =ivy-read= from =ivy= is very useful. Here is a simple demo on how to use =ivy-read=,

#+begin_src elisp
(require 'ivy)
Expand All @@ -125,7 +125,7 @@ API =ivy-read= from =ivy= is useful. Here is a simple demo on how to use =ivy-re
(message "I chose %s" choice)))
#+end_src
* Sub-windows
I usually open 4~8 sub-windows and use [[https://github.com/deb0ch/emacs-winum][winum]] to move focus between sub-windows.
I usually open 4 sub-windows and use [[https://github.com/deb0ch/emacs-winum][winum]] to move cursor between sub-windows.

You need some package to save and load sub-windows layout. You can start from [[https://github.com/wasamasa/eyebrowse][eyebrowse]].
* Execute command
Expand Down

0 comments on commit 0507e4b

Please sign in to comment.