diff --git a/.config/emacs/init.org b/.config/emacs/init.org index 955ef07..f00670b 100644 --- a/.config/emacs/init.org +++ b/.config/emacs/init.org @@ -241,6 +241,8 @@ Save the chosen theme after picking a new one Setup other stuff #+begin_src emacs-lisp +(setq ring-bell-function 'ignore) + (add-hook 'text-mode-hook (lambda () (setq fill-column 100) (turn-on-auto-fill))) (setq-default display-line-numbers 'relative) @@ -300,7 +302,8 @@ Setup other stuff ** Text #+begin_src emacs-lisp -(set-face-attribute 'default nil :family "Fira Code Nerd Font Mono" :height 110) +;; (set-face-attribute 'default nil :family "Fira Code Nerd Font Mono" :height 110) +(set-face-attribute 'default nil :family "Fira Code" :height 110) ;; (set-face-attribute 'variable-pitch nil :family "Source Code Pro" :height 120) (setq-default c-basic-offset 4) ;; This is annoying (setq-default indent-tabs-mode nil) @@ -1490,7 +1493,7 @@ println!("Hello world"); (define-key global-map (kbd "M-s") #'save-buffer) (add-hook 'evil-insert-state-exit-hook #'joe/save-if-file) -(add-hook 'after-change-functions #'joe/save-if-file-ignore-args) +;; (add-hook 'after-change-functions #'joe/save-if-file-ignore-args) ;; (define-key global-map (kbd "C-x C-s) #'save-buffer) (define-key global-map (kbd "") #'joe/save-then-recompile) (define-key global-map (kbd "") #'compile) diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables index 3836a14..d1e543f 100644 --- a/.config/fish/fish_variables +++ b/.config/fish/fish_variables @@ -1,19 +1,12 @@ # This file contains fish universal variable definitions. # VERSION: 3.0 +SETUVAR --export CARGO_HOME:/home/joe/\x2elocal/share/bin/cargo/ SETUVAR EDITOR:hx -SETUVAR --export GHCUP_USE_XDG_DIRS:true -SETUVAR --export --path GOPATH:/home/joe/\x2elocal/share/go/ SETUVAR --export LC_COLLATE:C -SETUVAR --export NNN_FIFO:/tmp/nnn\x2efifo -SETUVAR --export OPAMROOT:/home/joe/\x2elocal/share/opam/ -SETUVAR --export VISUAL:hx SETUVAR XDG_CACHE_HOME:/home/joe/\x2ecache SETUVAR XDG_CONFIG_HOME:/home/joe/\x2econfig SETUVAR XDG_DATA_HOME:/home/joe/\x2elocal/share SETUVAR __fish_initialized:3400 -SETUVAR _fisher_jorgebucaran_2F_fisher_files:/home/joe/\x2econfig/fish/functions/fisher\x2efish\x1e/home/joe/\x2econfig/fish/completions/fisher\x2efish -SETUVAR _fisher_plugins:jorgebucaran/fisher\x1esei40kr/fish\x2dranger\x2dcd -SETUVAR _fisher_sei40kr_2F_fish_2D_ranger_2D_cd_files:/home/joe/\x2econfig/fish/functions/ranger\x2dcd\x2efish SETUVAR fish_color_autosuggestion:969896 SETUVAR fish_color_cancel:\x2dr SETUVAR fish_color_command:b294bb @@ -43,4 +36,4 @@ SETUVAR fish_pager_color_description:B3A06D\x1eyellow SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan SETUVAR fish_pager_color_selected_background:\x2dr -SETUVAR fish_user_paths:/home/joe/\x2elocal/share/go/bin\x1e/home/joe/\x2elocal/share/cargo/bin\x1e/home/joe/\x2elocal/share/JetBrains/Toolbox/scripts\x1e/home/joe/\x2elocal/bin/jetbrains\x1e/home/joe/\x2elocal/share/JetBrains/Toolbox/script\x1e/home/joe/\x2elocal/share/solana/install/active_release/bin\x1e/home/joe/\x2edotnet/tools\x1e/home/joe/\x2elocal/bin +SETUVAR fish_user_paths:/home/joe/\x2elocal/share/bin/cargo/bin\x1e/home/joe/\x2elocal/share/solana/install/active_release/bin\x1e/home/joe/\x2elocal/bin diff --git a/.config/fish/functions/listpaths.fish b/.config/fish/functions/listpaths.fish new file mode 100644 index 0000000..af53050 --- /dev/null +++ b/.config/fish/functions/listpaths.fish @@ -0,0 +1,5 @@ +function listpaths + for p in $PATH + echo $p + end +end