Compare commits

...

4 Commits

3 changed files with 2 additions and 24 deletions

View File

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

View File

@ -152,7 +152,7 @@
;; Code Folding
(use-package origami
:defer t
:straight t
:straight (origami.el :type git :host github :repo "skrytebane/origami.el")
:bind (("C-<tab>" . origami-toggle-node)
("C-<iso-lefttab>" . origami-toggle-all-nodes))
:hook
@ -199,7 +199,6 @@
: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

View File

@ -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 "$*"