From 3940d0ee04a4714c7de2e8f224e334ce5489c361 Mon Sep 17 00:00:00 2001 From: suwa Date: Thu, 9 Apr 2020 18:53:32 -0700 Subject: [PATCH] xresources updt: purpl --- .Xresources | 47 +++++++++++++++++++++++++++ dotfiles/.Xresources | 47 +++++++++++++++++++++++++++ dotfiles/.vimrc | 75 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 169 insertions(+) create mode 100644 .Xresources create mode 100644 dotfiles/.Xresources create mode 100644 dotfiles/.vimrc diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..3303ebe --- /dev/null +++ b/.Xresources @@ -0,0 +1,47 @@ +! URxvt.font: xft:lemon:size=8 +! URxvt.boldFont: xft:lemon:size=8 +! URxvt.boldFont: xft:erusfont:size=7:style=bold +URxvt.font: xft:tewi2a:size=7 +URxvt.boldFont: xft:tewi2a:size=7 +URxvt.keysym.Control-l: command:\033c +*faceName: lemon +*faceSize: 8 +*allowBoldFonts: false + +! special +*foreground: #f7bfef +*background: #200715 +*cursorColor: #f7bfef + +! black +*color0: #200f2f +*color8: #1454b1 + +! red +*color1: #f55671 +*color9: #76298b + +! green +*color2: #c13ba0 +*color10: #776adc + +! yellow +*color3: #b57ae1 +*color11: #8373ff + +! blue +*color4: #5f819d +*color12: #6447b5 + +! magenta +*color5: #85678f +*color13: #b52665 + +! cyan +*color6: #5e8d87 +*color14: #77ced2 + +! white +*color7: #9ab0c7 +*color15: #c5c8c6 + diff --git a/dotfiles/.Xresources b/dotfiles/.Xresources new file mode 100644 index 0000000..3303ebe --- /dev/null +++ b/dotfiles/.Xresources @@ -0,0 +1,47 @@ +! URxvt.font: xft:lemon:size=8 +! URxvt.boldFont: xft:lemon:size=8 +! URxvt.boldFont: xft:erusfont:size=7:style=bold +URxvt.font: xft:tewi2a:size=7 +URxvt.boldFont: xft:tewi2a:size=7 +URxvt.keysym.Control-l: command:\033c +*faceName: lemon +*faceSize: 8 +*allowBoldFonts: false + +! special +*foreground: #f7bfef +*background: #200715 +*cursorColor: #f7bfef + +! black +*color0: #200f2f +*color8: #1454b1 + +! red +*color1: #f55671 +*color9: #76298b + +! green +*color2: #c13ba0 +*color10: #776adc + +! yellow +*color3: #b57ae1 +*color11: #8373ff + +! blue +*color4: #5f819d +*color12: #6447b5 + +! magenta +*color5: #85678f +*color13: #b52665 + +! cyan +*color6: #5e8d87 +*color14: #77ced2 + +! white +*color7: #9ab0c7 +*color15: #c5c8c6 + diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc new file mode 100644 index 0000000..086d5d8 --- /dev/null +++ b/dotfiles/.vimrc @@ -0,0 +1,75 @@ +set nocompatible " be iMproved, required +filetype off " required + +" set the runtime path to include Vundle and initialize +set rtp+=~/.vim/bundle/Vundle.vim +call vundle#begin() +" alternatively, pass a path where Vundle should install plugins +"call vundle#begin('~/some/path/here') + +" let Vundle manage Vundle, required +Plugin 'VundleVim/Vundle.vim' + +" The following are examples of different formats supported. +" Keep Plugin commands between vundle#begin/end. +" plugin on GitHub repo +Plugin 'tpope/vim-fugitive' +" plugin from http://vim-scripts.org/vim/scripts.html +" Plugin 'L9' +" Git plugin not hosted on GitHub +Plugin 'git://git.wincent.com/command-t.git' +" git repos on your local machine (i.e. when working on your own plugin) +" Plugin 'file:///home/gmarik/path/to/plugin' +" The sparkup vim script is in a subdirectory of this repo called vim. +" Pass the path to set the runtimepath properly. +Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} +" Install L9 and avoid a Naming conflict if you've already installed a +" different version somewhere else. +" Plugin 'ascenator/L9', {'name': 'newL9'} + +" nerdtree +Plugin 'scrooloose/nerdtree' +" airline +Plugin 'vim-airline/vim-airline' +Plugin 'vim-airline/vim-airline-themes' +" rustc +Plugin 'rust-lang/rust.vim' + +" All of your Plugins must be added before the following line +call vundle#end() " required +filetype plugin on " required +" To ignore plugin indent changes, instead use: +"filetype plugin on +" +" Brief help +" :PluginList - lists configured plugins +" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate +" :PluginSearch foo - searches for foo; append `!` to refresh local cache +" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal +" +" see :h vundle for more details or wiki for FAQ + +" non-Plugin stuff after this line + +" fuck rust's tabs, i do it my own way! +let g:rust_recommended_style = 0 + +" binary edit +augroup Binary + au! + au BufReadPre *.bin let &bin=1 + au BufReadPost *.bin if &bin | %!xxd + au BufReadPost *.bin set ft=xxd | endif + au BufWritePre *.bin if &bin | %!xxd -r + au BufWritePre *.bin endif + au BufWritePost *.bin if &bin | %!xxd + au BufWritePost *.bin set nomod | endif +augroup END + +" misc +:set foldmethod=syntax +:set tabstop=2 " set size of tabs to 2 +:set shiftwidth=0 " set the line-shifting width to tabstop, if val is 0. +:set number +:set nowrap +:colo term