Compare commits
4 Commits
918396efc6
...
c81fc52b8c
Author | SHA1 | Date | |
---|---|---|---|
c81fc52b8c | |||
c4c8b98c93 | |||
d74f9db1fe | |||
db3aeec98e |
@ -12,7 +12,7 @@
|
|||||||
:straight t
|
:straight t
|
||||||
:defines (company-dabbrev-ignore-case company-dabbrev-downcase)
|
:defines (company-dabbrev-ignore-case company-dabbrev-downcase)
|
||||||
:custom-face
|
:custom-face
|
||||||
(company-tooltip-annotation ((t (:inherit completions-annotations :foreground nil))))
|
;; (company-tooltip-annotation ((t (:inherit completions-annotations :foreground nil))))
|
||||||
(company-box-selection ((t (:inherit company-tooltip :weight semibold :extend t))))
|
(company-box-selection ((t (:inherit company-tooltip :weight semibold :extend t))))
|
||||||
:hook (after-init . global-company-mode)
|
:hook (after-init . global-company-mode)
|
||||||
:bind (
|
:bind (
|
||||||
|
@ -152,7 +152,7 @@
|
|||||||
;; Code Folding
|
;; Code Folding
|
||||||
(use-package origami
|
(use-package origami
|
||||||
:defer t
|
:defer t
|
||||||
:straight t
|
:straight (origami.el :type git :host github :repo "skrytebane/origami.el")
|
||||||
:bind (("C-<tab>" . origami-toggle-node)
|
:bind (("C-<tab>" . origami-toggle-node)
|
||||||
("C-<iso-lefttab>" . origami-toggle-all-nodes))
|
("C-<iso-lefttab>" . origami-toggle-all-nodes))
|
||||||
:hook
|
:hook
|
||||||
@ -199,7 +199,6 @@
|
|||||||
:bind ("C-c p" . projectile-command-map)
|
:bind ("C-c p" . projectile-command-map)
|
||||||
:diminish projectile-mode
|
:diminish projectile-mode
|
||||||
:custom ((projectile-completion-system 'ivy))
|
:custom ((projectile-completion-system 'ivy))
|
||||||
:hook (after-init . projectile-mode)
|
|
||||||
:init
|
:init
|
||||||
(setq projectile-mode-line-prefix ""
|
(setq projectile-mode-line-prefix ""
|
||||||
projectile-sort-order 'recentf
|
projectile-sort-order 'recentf
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# start emacs server if not is running
|
|
||||||
systemctl --user status emacs > /dev/null 2>&1 || systemctl --user start emacs > /dev/null 2>&1
|
|
||||||
|
|
||||||
# if args is -nw or -t run on terminal
|
|
||||||
if [ "$1" == "-t" ] || [ "$1" == "-nw" ]; then
|
|
||||||
emacsclient -t
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
# if no args open new frame
|
|
||||||
if [ $# -eq 0 ]; then
|
|
||||||
emacsclient -c -n
|
|
||||||
emacsclient --eval "(progn (select-frame-set-input-focus (selected-frame)))"
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
emacsclient -e "(frames-on-display-list \"$DISPLAY\")" &>/dev/null
|
|
||||||
|
|
||||||
emacsclient -c -n "$*"
|
|
Loading…
Reference in New Issue
Block a user