From 86ed3399a357ed6b5585eeac536c2f9aa823299c Mon Sep 17 00:00:00 2001 From: Stephen Jianu Date: Wed, 26 Jul 2023 18:00:26 -0500 Subject: [PATCH 1/1] Initial commit --- emacs/.emacs.d/init.el | 42 ++++++++++++++++++++++ tmux/.tmux.conf | 5 +++ vim/.vimrc | 27 ++++++++++++++ xresources/.Xresources | 80 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 154 insertions(+) create mode 100755 emacs/.emacs.d/init.el create mode 100644 tmux/.tmux.conf create mode 100644 vim/.vimrc create mode 100644 xresources/.Xresources diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el new file mode 100755 index 0000000..7af10bf --- /dev/null +++ b/emacs/.emacs.d/init.el @@ -0,0 +1,42 @@ +(setq inhibit-startup-message t) +(menu-bar-mode -1) +(tool-bar-mode -1) +(set-face-attribute 'default nil :height 200) + +;; Evil mode stuff +;; Set up package.el to work with MELPA +(require 'package) +(add-to-list 'package-archives + '("melpa" . "https://melpa.org/packages/")) +(package-initialize) +(package-refresh-contents) + +;; Download Evil +(unless (package-installed-p 'evil) + (package-install 'evil)) + +;; Enable Evil +(require 'evil) +(evil-mode 1) +(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. + '(package-selected-packages '(linum-relative evil))) +(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. + ) + +;; line numbers +(add-hook 'text-mode-hook 'display-line-numbers-mode) +(add-hook 'prog-mode-hook 'display-line-numbers-mode) +(unless (package-installed-p 'linum-relative) + (package-install 'linum-relative)) +(require 'linum-relative) +(setq linum-relative-backend 'display-line-numbers-mode) +(setq linum-relative-current-symbol "") +(linum-relative-on) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf new file mode 100644 index 0000000..0832b7b --- /dev/null +++ b/tmux/.tmux.conf @@ -0,0 +1,5 @@ +# Split panes with \ and - +bind \\ split-window -h -c "#{pane_current_path}" +bind - split-window -v -c "#{pane_current_path}" +unbind '"' +unbind % diff --git a/vim/.vimrc b/vim/.vimrc new file mode 100644 index 0000000..8e51ec2 --- /dev/null +++ b/vim/.vimrc @@ -0,0 +1,27 @@ +syntax on " turn on syntax highlighting +filetype plugin indent on " turn on auto indent +let base16colorspace=256 " make base16 colors work +set background=dark " dark colors +"colorscheme base16-snazzy " theme +"packadd! dracula +syntax enable +"colorscheme dracula +"hi Normal ctermbg=none " transparent background +set number " show line numbers +"execute pathogen#infect() +set laststatus=2 " always display status line +set relativenumber " relative line numbers +set ignorecase " case insensitive searching +set report=0 " always display yanked/deleted line count +"set complete-=i " don't search includes when autocompleting + +" tab stuff +set tabstop=4 " width of a tab character in columns +set shiftwidth=4 " amount of whitespace to insert/remove using the indentation commands in normal mode (e.g. >, <) +set expandtab " use spaces instead of tabs +set softtabstop=4 " amount of whitespace to be inserted, causes backspace to remove spaces + +set mouse=a + +" VCM +"autocmd FileType vim let b:vcm_tab_complete = 'vim' diff --git a/xresources/.Xresources b/xresources/.Xresources new file mode 100644 index 0000000..d08905a --- /dev/null +++ b/xresources/.Xresources @@ -0,0 +1,80 @@ +! URxvt*.background: black +! URxvt*.foreground: white +! URxvt*.transparent: true +! URxvt*.shading: 25 +!XTerm*font: -misc-fixed-bold-r-normal-*-17-*-*-*-*-*-iso8859-* +XTerm*renderFont: true +XTerm*faceName: Misc Fixed:style=Bold +XTerm*faceSize: 11 +!URxvt.keysym.C-Down: resize-font:smaller +!URxvt.keysym.C-Up: resize-font:bigger +!URxvt*.perl-ext-common: default,matcher,resize-font +!URxvt*.url-launcher: /usr/bin/firefox +!URxvt*.matcher.button: 1 +!URxvt*.scrollBar: false +!URxvt.secondaryWheel: 1 +!URxvt.secondaryScreen: 1 +!URxvt.secondaryScroll: 0 + +! Comet64-inspired color scheme by Stephen Jianu +! https://store.steampowered.com/app/1397290/Comet_64/ +! +! Heavily inspired/influenced by the Solarized theme by Ethan Schoonover +! https://github.com/altercation/solarized + +#define C64_base03 #1f292b +#define C64_base02 #2a3436 +#define C64_base01 #636e71 +#define C64_base00 #6f7b7d +#define C64_base0 #a99b81 +#define C64_base1 #b7a88e +#define C64_base2 #fff3d7 +#define C64_base3 #ffffe5 + +#define C64_yellow #676744 +#define C64_orange #a98181 +#define C64_red #674444 +#define C64_green #81a984 +#define C64_blue #8186a9 +#define C64_cyan #81a9a8 +#define C64_violet #a981a1 +#define C64_magenta #67445f + +*.background: C64_base03 +*.foreground: C64_base0 +*.fadeColor: C64_base03 +*.cursorColor: C64_base1 +*.pointerColorBackground: C64_base01 +*.pointerColorForeground: C64_base1 + +! black dark/light +*.color0: C64_base02 +*.color8: C64_base03 + +! red dark/light +*.color1: C64_red +*.color9: C64_orange + +! green dark/light +*.color2: C64_green +*.color10: C64_base01 + +! yellow dark/light +*.color3: C64_yellow +*.color11: C64_base00 + +! blue dark/light +*.color4: C64_blue +*.color12: C64_base0 + +! magenta dark/light +*.color5: C64_magenta +*.color13: C64_violet + +! cyan dark/light +*.color6: C64_cyan +*.color14: C64_base1 + +! white dark/light +*.color7: C64_base2 +*.color15: C64_base3 -- 2.39.5