From c91a6fe1534348568a04b10ac89470ed7b5bad00 Mon Sep 17 00:00:00 2001 From: pryazha Date: Sat, 5 Jul 2025 22:10:08 +0500 Subject: emacs config --- .config/.emacs | 17 ++++------------- .config/.emacs~ | 24 ------------------------ .config/.vimrc | 3 ++- README.md | 3 +-- 4 files changed, 7 insertions(+), 40 deletions(-) delete mode 100644 .config/.emacs~ diff --git a/.config/.emacs b/.config/.emacs index 8b1b58c..7cbf3ea 100644 --- a/.config/.emacs +++ b/.config/.emacs @@ -3,23 +3,14 @@ (tool-bar-mode 0) (scroll-bar-mode 0) +;; functional +(set-default 'ring-bell-function 'ignore) + ;; visual (setq inhibit-startup-screen t) (set-default 'truncate-lines t) (add-to-list 'default-frame-alist '(font . "Iosevka-14")) +(load-theme 'wombat t) ;; keymaps (keymap-global-set "C-c c" 'compile) - -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(custom-enabled-themes '(wheatgrass))) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - ) diff --git a/.config/.emacs~ b/.config/.emacs~ deleted file mode 100644 index 9dc1b32..0000000 --- a/.config/.emacs~ +++ /dev/null @@ -1,24 +0,0 @@ -;; modes -(menu-bar-mode 0) -(tool-bar-mode 0) -(scroll-bar-mode 0) - -;; visual -(setq inhibit-startup-screen t) -(set-default 'truncate-lines t) -(add-to-list 'default-frame-alist '(font . "Iosevka-14")) - -;; keymaps -(keymap-global-set "C-c c" 'compile) -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(custom-enabled-themes '(wheatgrass))) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - ) diff --git a/.config/.vimrc b/.config/.vimrc index 73356ae..a321704 100644 --- a/.config/.vimrc +++ b/.config/.vimrc @@ -40,5 +40,6 @@ map q :q set makeprg=./build.sh map m :make!:cope map n :cnext -map n :cfirst +map f :cfirst +map o :copen map g :grep!-rn.'' diff --git a/README.md b/README.md index 6111a37..e3835fe 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,9 @@ ## My configuration files. TODO(pryazha): - make a script to create symbolic links (maybe?) -Also there is repos for [dwm](https://git.suckles.org/dwm)/st/slstatus +Also there is repos for [dwm](https://git.suckles.org/dwm) Some of the progs I use: - lagrange (for gemini protocol) -- librewolf - libreoffice - zathura -- cgit v1.2.3-70-g09d2