Compare commits
No commits in common. "c81fc52b8cb5ab7c0577e7b621f7d01c86924e0d" and "918396efc678a6c4f55f28b7dab4b4430a70e484" have entirely different histories.
c81fc52b8c
...
918396efc6
@ -12,7 +12,7 @@
|
||||
:straight t
|
||||
:defines (company-dabbrev-ignore-case company-dabbrev-downcase)
|
||||
: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))))
|
||||
:hook (after-init . global-company-mode)
|
||||
:bind (
|
||||
|
@ -152,7 +152,7 @@
|
||||
;; Code Folding
|
||||
(use-package origami
|
||||
:defer t
|
||||
:straight (origami.el :type git :host github :repo "skrytebane/origami.el")
|
||||
:straight t
|
||||
:bind (("C-<tab>" . origami-toggle-node)
|
||||
("C-<iso-lefttab>" . origami-toggle-all-nodes))
|
||||
:hook
|
||||
@ -199,6 +199,7 @@
|
||||
:bind ("C-c p" . projectile-command-map)
|
||||
:diminish projectile-mode
|
||||
:custom ((projectile-completion-system 'ivy))
|
||||
:hook (after-init . projectile-mode)
|
||||
:init
|
||||
(setq projectile-mode-line-prefix ""
|
||||
projectile-sort-order 'recentf
|
||||
|
21
emacs-client-runner.sh
Executable file
21
emacs-client-runner.sh
Executable file
@ -0,0 +1,21 @@
|
||||
#!/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