User Tools

Site Tools


labwc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

labwc [2026/05/25 09:34] – created vamp898labwc [2026/05/25 09:36] (current) vamp898
Line 46: Line 46:
 wl-paste --watch cliphist store & wl-paste --watch cliphist store &
 </code> </code>
 +====== emacs/init.el ======
 +<code lisp>
 +(load-theme 'modus-vivendi t)
 +(c-add-style "IKAROS"
 +      '("*c-guess*:/home/vamp898/ige/src/game.c"
 +        (c-basic-offset . 8) ; Guessed value
 +        (c-offsets-alist (block-close . 0) (case-label . +) ;  Guessed valueGuessed value
 + (class-close . 0)    ; Guessed value
 + (defun-block-intro . +)    ; Guessed value
 + (defun-close . 0) (defun-open . 0) ;  Guessed valueGuessed value
 + (inclass . +) (statement . 0) ;  Guessed valueGuessed value
 + (statement-block-intro . +) ; Guessed value
 + (statement-case-intro . +) ; Guessed value
 + (statement-cont . 0)    ; Guessed value
 + (substatement . +) (topmost-intro . 0) ;  Guessed valueGuessed value
 + (topmost-intro-cont . 0) ; Guessed value
 + (access-label . -)
 + (annotation-top-cont . 0)
 + (annotation-var-cont . +)
 + (arglist-close . c-lineup-close-paren)
 + (arglist-cont c-lineup-gcc-asm-reg 0)
 + (arglist-cont-nonempty
 + . c-lineup-arglist)
 + (arglist-intro . +) (block-open . 0)
 + (brace-entry-open . 0)
 + (brace-list-close . 0)
 + (brace-list-entry . 0)
 + (brace-list-intro . +)
 + (brace-list-open . 0)
 + (c . c-lineup-C-comments)
 + (catch-clause . 0) (class-open . 0)
 + (comment-intro . c-lineup-comment)
 + (composition-close . 0)
 + (composition-open . 0)
 + (constraint-cont . +)
 + (cpp-define-intro c-lineup-cpp-define
 +   +)
 + (cpp-macro . -1000)
 + (cpp-macro-cont . +)
 + (do-while-closure . 0)
 + (else-clause . 0)
 + (extern-lang-close . 0)
 + (extern-lang-open . 0) (friend . 0)
 + (func-decl-cont . +)
 + (incomposition . +) (inexpr-class . +)
 + (inexpr-statement . +)
 + (inextern-lang . +)
 + (inher-cont . c-lineup-multi-inher)
 + (inher-intro . +) (inlambda . 0)
 + (inline-close . 0) (inline-open . +)
 + (inmodule . +) (innamespace . +)
 + (knr-argdecl . 0)
 + (knr-argdecl-intro . +) (label . 2)
 + (lambda-intro-cont . +)
 + (member-init-cont
 + . c-lineup-multi-inher)
 + (member-init-intro . +)
 + (module-close . 0) (module-open . 0)
 + (namespace-close . 0)
 + (namespace-open . 0)
 + (objc-method-args-cont
 + . c-lineup-ObjC-method-args)
 + (objc-method-call-cont
 + c-lineup-ObjC-method-call-colons
 + c-lineup-ObjC-method-call +)
 + (objc-method-intro . [0])
 + (statement-case-open . 0)
 + (stream-op . c-lineup-streamop)
 + (string . -1000)
 + (substatement-label . 2)
 + (substatement-open . +)
 + (template-args-cont
 + c-lineup-template-args
 + c-lineup-template-args-indented-from-margin))))
 +(defun my-c-mode-common-hook ()
 +  (c-set-style "IKAROS"))
 +(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
 +</code>
 +
labwc.txt · Last modified: by vamp898