1
0
Fork 0

Stuff and things, yeahh

This commit is contained in:
Jarkko Toivanen 2024-08-24 15:12:19 +03:00
parent ab44b47e83
commit 2213548f83
Signed by: jt
GPG key ID: 9151B109B73ECAD5
4 changed files with 56 additions and 52 deletions

View file

@ -4,6 +4,7 @@
signingkey = 0EEA7DE3BE089B6F signingkey = 0EEA7DE3BE089B6F
[core] [core]
editor = nano editor = nano
autocrlf = input
[commit] [commit]
gpgsign = true gpgsign = true
[init] [init]

View file

@ -4,3 +4,4 @@ set colored-stats on
set mark-symlinked-directories on set mark-symlinked-directories on
set colored-completion-prefix on set colored-completion-prefix on
set menu-complete-display-prefix on set menu-complete-display-prefix on
set enable-keypad on

View file

@ -36,8 +36,9 @@ This function should only modify configuration layer settings."
yaml yaml
html html
php php
;; asm
(rust :variables (rust :variables
rust-format-on-save t) rust-format-on-save t)
(c-c++ :variables c-c++-backend 'lsp-clangd) (c-c++ :variables c-c++-backend 'lsp-clangd)
python python
;; ---------------------------------------------------------------- ;; ----------------------------------------------------------------
@ -47,8 +48,8 @@ This function should only modify configuration layer settings."
;; ---------------------------------------------------------------- ;; ----------------------------------------------------------------
;; auto-completion ;; auto-completion
(auto-completion :variables (auto-completion :variables
auto-completion-return-key-behavior nil auto-completion-return-key-behavior nil
auto-completion-tab-key-behavior 'complete) auto-completion-tab-key-behavior 'complete)
;; better-defaults ;; better-defaults
emacs-lisp emacs-lisp
git git
@ -58,19 +59,19 @@ This function should only modify configuration layer settings."
multiple-cursors multiple-cursors
;; org ;; org
(shell :variables (shell :variables
shell-default-height 30 shell-default-height 30
shell-default-position 'bottom) shell-default-position 'bottom)
;; spell-checking ;; spell-checking
syntax-checking syntax-checking
(version-control :variables (version-control :variables
version-control-diff-side 'left) version-control-diff-side 'left)
treemacs treemacs
tabs tabs
;;(unicode-fonts :variables ;;(unicode-fonts :variables
;; unicode-fonts-enable-ligatures t) ;; unicode-fonts-enable-ligatures t)
(nixos :variables (nixos :variables
nix-backend 'lsp) nix-backend 'lsp)
) )
@ -90,7 +91,7 @@ This function should only modify configuration layer settings."
;; A list of packages that will not be installed and loaded. ;; A list of packages that will not be installed and loaded.
dotspacemacs-excluded-packages '( dotspacemacs-excluded-packages '(
vi-tilde-fringe) vi-tilde-fringe)
;; Defines the behaviour of Spacemacs when installing packages. ;; Defines the behaviour of Spacemacs when installing packages.
;; Possible values are `used-only', `used-but-keep-unused' and `all'. ;; Possible values are `used-only', `used-but-keep-unused' and `all'.
@ -218,7 +219,7 @@ It should only modify the values of Spacemacs settings."
;; number is the project limit and the second the limit on the recent files ;; number is the project limit and the second the limit on the recent files
;; within a project. ;; within a project.
dotspacemacs-startup-lists '((recents . 5) dotspacemacs-startup-lists '((recents . 5)
(projects . 7)) (projects . 7))
;; True if the home buffer should respond to resize events. (default t) ;; True if the home buffer should respond to resize events. (default t)
dotspacemacs-startup-buffer-responsive t dotspacemacs-startup-buffer-responsive t
@ -258,8 +259,8 @@ It should only modify the values of Spacemacs settings."
;; Press `SPC T n' to cycle to the next theme in the list (works great ;; Press `SPC T n' to cycle to the next theme in the list (works great
;; with 2 themes variants, one dark and one light) ;; with 2 themes variants, one dark and one light)
dotspacemacs-themes '(monokai dotspacemacs-themes '(monokai
spacemacs-dark spacemacs-dark
spacemacs-light) spacemacs-light)
;; Set the theme for the Spaceline. Supported themes are `spacemacs', ;; Set the theme for the Spaceline. Supported themes are `spacemacs',
;; `all-the-icons', `custom', `doom', `vim-powerline' and `vanilla'. The ;; `all-the-icons', `custom', `doom', `vim-powerline' and `vanilla'. The
@ -279,21 +280,21 @@ It should only modify the values of Spacemacs settings."
;; Point size is recommended, because it's device independent. (default 10.0) ;; Point size is recommended, because it's device independent. (default 10.0)
dotspacemacs-default-font '( dotspacemacs-default-font '(
;; ("Glass TTY VT220" ("Glass TTY VT220"
;; :size 15.0 :size 15.0
;; :weight normal :weight normal
;; :width normal) :width normal)
("Fira Code" ("Fira Code"
:size 12.0 :size 12.0
:weight normal :weight normal
:width normal) :width normal)
;; ("Source Code Pro" ;; ("Source Code Pro"
;; :size 10.0 ;; :size 10.0
;; :weight normal ;; :weight normal
;; :width normal) ;; :width normal)
) )
;; The leader key (default "SPC") ;; The leader key (default "SPC")
dotspacemacs-leader-key "SPC" dotspacemacs-leader-key "SPC"
@ -577,7 +578,7 @@ default it calls `spacemacs/load-spacemacs-env' which loads the environment
variables declared in `~/.spacemacs.env' or `~/.spacemacs.d/.spacemacs.env'. variables declared in `~/.spacemacs.env' or `~/.spacemacs.d/.spacemacs.env'.
See the header of this file for more information." See the header of this file for more information."
(spacemacs/load-spacemacs-env) (spacemacs/load-spacemacs-env)
) )
(defun dotspacemacs/user-init () (defun dotspacemacs/user-init ()
"Initialization for user code: "Initialization for user code:
@ -585,7 +586,7 @@ This function is called immediately after `dotspacemacs/init', before layer
configuration. configuration.
It is mostly for variables that should be set before packages are loaded. It is mostly for variables that should be set before packages are loaded.
If you are unsure, try setting them in `dotspacemacs/user-config' first." If you are unsure, try setting them in `dotspacemacs/user-config' first."
) )
(defun dotspacemacs/user-load () (defun dotspacemacs/user-load ()
@ -593,7 +594,7 @@ If you are unsure, try setting them in `dotspacemacs/user-config' first."
This function is called only while dumping Spacemacs configuration. You can This function is called only while dumping Spacemacs configuration. You can
`require' or `load' the libraries of your choice that will be included in the `require' or `load' the libraries of your choice that will be included in the
dump." dump."
) )
(defun dotspacemacs/user-config () (defun dotspacemacs/user-config ()
@ -602,7 +603,7 @@ This function is called at the very end of Spacemacs startup, after layer
configuration. configuration.
Put your configuration code here, except for variables that should be set Put your configuration code here, except for variables that should be set
before packages are loaded." before packages are loaded."
) )
;; Do not write anything past this comment. This is where Emacs will ;; Do not write anything past this comment. This is where Emacs will
@ -612,25 +613,25 @@ before packages are loaded."
This is an auto-generated function, do not modify its content directly, use This is an auto-generated function, do not modify its content directly, use
Emacs customize menu instead. Emacs customize menu instead.
This function is called at the very end of Spacemacs initialization." This function is called at the very end of Spacemacs initialization."
(custom-set-variables (custom-set-variables
;; custom-set-variables was added by Custom. ;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(package-selected-packages '(package-selected-packages
'(import-js grizzl js-doc js2-refactor multiple-cursors livid-mode nodejs-repl npm-mode skewer-mode js2-mode tern yaml-mode add-node-modules-path company-web web-completion-data counsel-css emmet-mode helm-css-scss impatient-mode htmlize simple-httpd prettier-js pug-mode sass-mode haml-mode scss-mode slim-mode tagedit web-beautify web-mode ac-ispell auto-complete auto-yasnippet blacken centaur-tabs code-cells company-anaconda anaconda-mode cython-mode flycheck-pos-tip fuzzy helm-c-yasnippet helm-company helm-lsp helm-pydoc importmagic epc ctable concurrent deferred live-py-mode lsp-origami origami lsp-pyright lsp-python-ms lsp-ui nose pip-requirements pipenv load-env-vars pippel poetry py-isort pydoc pyenv-mode pythonic pylookup pytest pyvenv sphinx-doc yapfify yasnippet-snippets company-php ac-php-core xcscope company-phpactor drupal-mode geben php-auto-yasnippets yasnippet php-extras php-mode phpactor composer php-runtime phpcbf phpunit cargo company counsel-gtags counsel swiper ivy dap-mode lsp-docker lsp-treemacs bui yaml lsp-mode markdown-mode flycheck-rust ggtags helm-gtags racer pos-tip ron-mode rust-mode toml-mode ws-butler writeroom-mode winum which-key volatile-highlights vim-powerline vi-tilde-fringe uuidgen use-package undo-tree treemacs-projectile treemacs-persp treemacs-icons-dired toc-org term-cursor symon symbol-overlay string-inflection string-edit-at-point spacemacs-whitespace-cleanup spacemacs-purpose-popwin spaceline-all-the-icons space-doc restart-emacs request rainbow-delimiters quickrun popwin pcre2el password-generator paradox overseer org-superstar open-junk-file nameless multi-line macrostep lorem-ipsum link-hint inspector info+ indent-guide hybrid-mode hungry-delete holy-mode hl-todo highlight-parentheses highlight-numbers highlight-indentation hide-comnt help-fns+ helm-xref helm-themes helm-swoop helm-purpose helm-projectile helm-org helm-mode-manager helm-make helm-descbinds helm-ag google-translate golden-ratio font-lock+ flycheck-package flycheck-elsa flx-ido fancy-battery eyebrowse expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-textobj-line evil-surround evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state evil-lion evil-indent-plus evil-iedit-state evil-goggles evil-exchange evil-evilified-state evil-escape evil-collection evil-cleverparens evil-args evil-anzu eval-sexp-fu emr elisp-slime-nav elisp-def editorconfig dumb-jump drag-stuff dotenv-mode dired-quick-sort diminish devdocs define-word column-enforce-mode clean-aindent-mode centered-cursor-mode auto-highlight-symbol auto-compile aggressive-indent ace-link ace-jump-helm-line)) '(import-js grizzl js-doc js2-refactor multiple-cursors livid-mode nodejs-repl npm-mode skewer-mode js2-mode tern yaml-mode add-node-modules-path company-web web-completion-data counsel-css emmet-mode helm-css-scss impatient-mode htmlize simple-httpd prettier-js pug-mode sass-mode haml-mode scss-mode slim-mode tagedit web-beautify web-mode ac-ispell auto-complete auto-yasnippet blacken centaur-tabs code-cells company-anaconda anaconda-mode cython-mode flycheck-pos-tip fuzzy helm-c-yasnippet helm-company helm-lsp helm-pydoc importmagic epc ctable concurrent deferred live-py-mode lsp-origami origami lsp-pyright lsp-python-ms lsp-ui nose pip-requirements pipenv load-env-vars pippel poetry py-isort pydoc pyenv-mode pythonic pylookup pytest pyvenv sphinx-doc yapfify yasnippet-snippets company-php ac-php-core xcscope company-phpactor drupal-mode geben php-auto-yasnippets yasnippet php-extras php-mode phpactor composer php-runtime phpcbf phpunit cargo company counsel-gtags counsel swiper ivy dap-mode lsp-docker lsp-treemacs bui yaml lsp-mode markdown-mode flycheck-rust ggtags helm-gtags racer pos-tip ron-mode rust-mode toml-mode ws-butler writeroom-mode winum which-key volatile-highlights vim-powerline vi-tilde-fringe uuidgen use-package undo-tree treemacs-projectile treemacs-persp treemacs-icons-dired toc-org term-cursor symon symbol-overlay string-inflection string-edit-at-point spacemacs-whitespace-cleanup spacemacs-purpose-popwin spaceline-all-the-icons space-doc restart-emacs request rainbow-delimiters quickrun popwin pcre2el password-generator paradox overseer org-superstar open-junk-file nameless multi-line macrostep lorem-ipsum link-hint inspector info+ indent-guide hybrid-mode hungry-delete holy-mode hl-todo highlight-parentheses highlight-numbers highlight-indentation hide-comnt help-fns+ helm-xref helm-themes helm-swoop helm-purpose helm-projectile helm-org helm-mode-manager helm-make helm-descbinds helm-ag google-translate golden-ratio font-lock+ flycheck-package flycheck-elsa flx-ido fancy-battery eyebrowse expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-textobj-line evil-surround evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state evil-lion evil-indent-plus evil-iedit-state evil-goggles evil-exchange evil-evilified-state evil-escape evil-collection evil-cleverparens evil-args evil-anzu eval-sexp-fu emr elisp-slime-nav elisp-def editorconfig dumb-jump drag-stuff dotenv-mode dired-quick-sort diminish devdocs define-word column-enforce-mode clean-aindent-mode centered-cursor-mode auto-highlight-symbol auto-compile aggressive-indent ace-link ace-jump-helm-line))
'(standard-indent 8) '(standard-indent 8)
'(tab-width 8) '(tab-width 8)
'(c-basic-offset 8) '(c-basic-offset 8)
'(indent-tabs-mode t) '(indent-tabs-mode t)
'(indent-line-function 'insert-tab) '(indent-line-function 'insert-tab)
'(c-default-style '((java-mode . "java") (awk-mode . "awk") (other . "linux"))) '(c-default-style '((java-mode . "java") (awk-mode . "awk") (other . "linux")))
'(backward-delete-char-untabify-method nil) '(backward-delete-char-untabify-method nil)
) )
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
) )
) )

View file

@ -1,9 +1,9 @@
[Configuration] [Configuration]
ColorForeground=#c0c0c0 ColorForeground=#ffffc0c00000
ColorCursor=#c0c0c0c0c0c0 ColorCursor=#c0c0c0c0c0c0
ColorSelection=#ffffffffffff ColorSelection=#ffffffffffff
ColorPalette=#000000000000;#808000000000;#000080800000;#808080800000;#000000008080;#808000008080;#000080808080;#c0c0c0c0c0c0;#808080808080;#ffff00000000;#0000ffff0000;#ffffffff0000;#0000ffffffff;#ffff0000ffff;#00000000ffff;#ffffffffffff ColorPalette=#000000000000;#808000000000;#000080800000;#808080800000;#000000008080;#808000008080;#000080808080;#c0c0c0c0c0c0;#808080808080;#ffff00000000;#0000ffff0000;#ffffffff0000;#0000ffffffff;#ffff0000ffff;#00000000ffff;#ffffffffffff
FontName=Less Perfect DOS VGA 12 FontName=Glass TTY VT220 Bold 20
MiscAlwaysShowTabs=FALSE MiscAlwaysShowTabs=FALSE
MiscBell=TRUE MiscBell=TRUE
MiscBellUrgent=TRUE MiscBellUrgent=TRUE
@ -38,4 +38,5 @@ ShortcutsNoMenukey=TRUE
ShortcutsNoMnemonics=TRUE ShortcutsNoMnemonics=TRUE
ScrollingUnlimited=TRUE ScrollingUnlimited=TRUE
TitleInitial=MS-DOS Kehote TitleInitial=MS-DOS Kehote
TabActivityColor=#ffff00000000