Update for February
* Add purescript * Use perspective mode * Use LSP for Rust code
This commit is contained in:
parent
4d18006dc8
commit
7f5f90ae4d
8 changed files with 78 additions and 17 deletions
21
pkg/hydra.el
21
pkg/hydra.el
|
|
@ -10,14 +10,14 @@
|
|||
"
|
||||
General Actions
|
||||
|
||||
^Ivy^ ^Projectile^ ^Magit^
|
||||
^^^^^^^^------------------------------------------------------------------------
|
||||
_a_: Grep in buffer _s_: Switch project _m_: Git status
|
||||
_b_: Buffer list _f_: Find file in project _C_: Git checkout
|
||||
_t_: Find file _g_: Grep in current project _M_: Git blame
|
||||
_d_: Deft _c_: Invalidate cache
|
||||
_w_: Avy goto word _n_: New project
|
||||
_l_: Avy goto line _i_: IELM console
|
||||
^Ivy^ ^Perspectives^ ^Projectile^ ^Magit^
|
||||
^^^^^^^^-------------------------------------------------------------------------------------
|
||||
_a_: Grep in buffer _S_: Switch perspective _s_: Switch project _m_: Git status
|
||||
_b_: Buffer list _B_: Switch buffer _f_: Find file in project _C_: Git checkout
|
||||
_t_: Find file _K_: Kill perspective _g_: Grep in current project _M_: Git blame
|
||||
_d_: Deft _c_: Invalidate cache
|
||||
_w_: Avy goto word _n_: New project
|
||||
_l_: Avy goto line _i_: IELM console
|
||||
_:_: Avy goto char
|
||||
"
|
||||
|
||||
|
|
@ -31,12 +31,17 @@ _:_: Avy goto char
|
|||
("l" avy-goto-line)
|
||||
(":" avy-goto-char)
|
||||
|
||||
("S" persp-switch)
|
||||
("B" persp-ibuffer)
|
||||
("K" persp-kill)
|
||||
|
||||
("s" counsel-projectile-switch-project)
|
||||
("f" counsel-projectile-find-file)
|
||||
("g" counsel-projectile-rg)
|
||||
("c" projectile-invalidate-cache)
|
||||
("n" projectile-add-known-project)
|
||||
("i" ielm)
|
||||
|
||||
("m" magit-status)
|
||||
("C" magit-checkout)
|
||||
("M" magit-blame))
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
lsp-enable-file-watchers nil)
|
||||
:hook ((typescript-mode . lsp-deferred)
|
||||
(elixir-mode . lsp)
|
||||
(purescript-mode . lsp-deferred)
|
||||
(js2-mode . lsp-deferred)))
|
||||
|
||||
(use-package lsp-ui
|
||||
|
|
|
|||
15
pkg/persp.el
Normal file
15
pkg/persp.el
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
;;; pkg/persp.el --- summary
|
||||
|
||||
;; Author: Maciej Szlosarczyk
|
||||
;; Maintainer: Maciej Szlosarczyk
|
||||
;; Version: 0.1-snapshot
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;; Perspectives
|
||||
|
||||
;;; Code:
|
||||
(use-package perspective :config (persp-mode))
|
||||
|
||||
(provide 'pkg/persp)
|
||||
;;; pkg/persp.el ends here
|
||||
Loading…
Add table
Add a link
Reference in a new issue