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 ++- 3 files changed, 6 insertions(+), 38 deletions(-) delete mode 100644 .config/.emacs~ (limited to '.config') 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.'' -- cgit v1.2.3-70-g09d2