Update for February

* Add purescript
* Use perspective mode
* Use LSP for Rust code
This commit is contained in:
Maciej 2021-03-01 08:42:30 +02:00
parent 4d18006dc8
commit 7f5f90ae4d
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
8 changed files with 78 additions and 17 deletions

View file

@ -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))

View file

@ -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
View 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