From 4a10e4153e06e9d67af81e9f7dd87cd8e4bbf05e Mon Sep 17 00:00:00 2001 From: pryazha Date: Tue, 1 Jul 2025 08:38:02 +0500 Subject: yeah --- .config/.emacs | 14 +++++++++++++- .config/.emacs~ | 24 ++++++++++++++++++++++++ .config/.tmux.conf | 3 --- .config/.vimrc | 43 ++++++++++++++++++++++++++++--------------- 4 files changed, 65 insertions(+), 19 deletions(-) create mode 100644 .config/.emacs~ (limited to '.config') diff --git a/.config/.emacs b/.config/.emacs index bf680b1..8b1b58c 100644 --- a/.config/.emacs +++ b/.config/.emacs @@ -2,7 +2,6 @@ (menu-bar-mode 0) (tool-bar-mode 0) (scroll-bar-mode 0) -(ido-mode) ;; visual (setq inhibit-startup-screen t) @@ -11,3 +10,16 @@ ;; 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~ new file mode 100644 index 0000000..9dc1b32 --- /dev/null +++ b/.config/.emacs~ @@ -0,0 +1,24 @@ +;; 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/.tmux.conf b/.config/.tmux.conf index aa03783..77f32f1 100644 --- a/.config/.tmux.conf +++ b/.config/.tmux.conf @@ -2,8 +2,5 @@ set-option -g prefix M-a unbind-key C-b bind-key M-a send-prefix -set -g default-terminal "screen-256color" - set -g @plugin 'tmux-plugins/tpm' - run '~/.tmux/plugins/tpm/tpm' diff --git a/.config/.vimrc b/.config/.vimrc index 0d8bc46..73356ae 100644 --- a/.config/.vimrc +++ b/.config/.vimrc @@ -1,31 +1,44 @@ -"Visual +"visual syntax on let g:netrw_banner=0 +set number +set relativenumber +set termguicolors +set background=dark +colorscheme quiet +hi normal guifg=#dcd7d7 guibg=#242829 +hi constant guifg=#dcade6 +hi character guifg=#dcade6 +hi number guifg=#dcade6 +hi boolean guifg=#dcade6 +hi float guifg=#dcade6 +hi visual guifg=#dcade6 guibg=#242829 +hi incsearch guifg=#dcade6 guibg=#242829 +hi MatchParen guifg=#dcade6 guibg=#242829 -"Formatting -set textwidth=80 +"formatting +"set textwidth=80 set nowrap -set cindent -set cinoptions=:0,l1,t0,g0,(0 +autocmd BufRead,BufNewFile *.c { + set cindent + set cinoptions=:0,l1,t0,g0,(0 +} -"Functional +"functional set clipboard+=unnamedplus set nohls +set is -"Bindings +"bindings let mapleader="," map e :Ex -map ve :vswincmd lEx -map t :vertical rightbelow terminal +map v :Vex +map s :Sex map q :q set makeprg=./build.sh -map m :make!:vertical rightbelow copen:wincmd = +map m :make!:cope map n :cnext - +map n :cfirst map g :grep!-rn.'' - -"Comments -map cm I/*A*/0 -map cd ^dwA0 -- cgit v1.2.3-70-g09d2