add vimb sxhkd
This commit is contained in:
parent
67c5391904
commit
0e0db81238
|
@ -0,0 +1,99 @@
|
|||
" randomuser's vimrc
|
||||
|
||||
" sacred nnoremaps {{{
|
||||
nnoremap ; :
|
||||
nnoremap : ;
|
||||
" }}}
|
||||
" misc settings {{{
|
||||
let mapleader=" "
|
||||
set nocompatible wildmenu path+=**
|
||||
syntax enable
|
||||
filetype plugin on
|
||||
if has('nvim')
|
||||
nmap <Leader>s ;source ~/.config/nvim/init.vim<CR>
|
||||
else
|
||||
nmap <Leader>s ;source ~/.vimrc<CR>
|
||||
endif
|
||||
" }}}
|
||||
" displays {{{
|
||||
set number
|
||||
set numberwidth=3
|
||||
set statusline=%#PmenuSel#%y%m\ %.20f%<%=b%02n:l%03l:c%03c
|
||||
" }}}
|
||||
" netrw {{{
|
||||
let g:netrw_banner=0
|
||||
let g:netrw_liststyle=3
|
||||
let g:netrw_winsize=15
|
||||
let g:netrw_browse_split=1
|
||||
nmap <Leader>oe :Vexplore<CR>
|
||||
" }}}
|
||||
" file opening {{{
|
||||
nmap <Leader>ob ;edit ~/.bashrc<CR>
|
||||
if has('nvim')
|
||||
nmap <Leader>ov ;edit ~/.config/nvim/init.vim<CR>
|
||||
else
|
||||
nmap <Leader>ov ;edit ~/.vimrc<CR>
|
||||
endif
|
||||
nmap <Leader>ow ;edit ~/.config/vimb/config<CR>
|
||||
nmap <Leader>os ;edit ~/.config/vimb/style.css<CR>
|
||||
nmap <Leader>oz ;edit ~/.config/zathura/zathurarc<CR>
|
||||
nmap <Leader>ot ;edit ~/.config/bspwm/bspwmrc<CR>
|
||||
nmap <Leader>ok ;edit ~/.config/sxhkd/sxhkdrc<CR>
|
||||
|
||||
" helpfiles
|
||||
nmap <Leader>he ;help
|
||||
" }}}
|
||||
" file execution {{{
|
||||
" makefiles {{{
|
||||
nmap <Leader>mm ;!make<CR>
|
||||
nmap <Leader>mc ;!make clean<CR>
|
||||
nmap <Leader>mf ;!make "%"<CR>
|
||||
nmap <Leader>mi ;!make install<CR>
|
||||
" }}}
|
||||
" shell script {{{
|
||||
nmap <Leader>ss ;!sh "%"<CR>
|
||||
nmap <Leader>sb ;!bash "%"<CR>
|
||||
nmap <Leader>sz ;!zsh "%"<CR>
|
||||
" }}}
|
||||
" }}}
|
||||
" tab & fold settings {{{
|
||||
|
||||
" hacky exemption thing
|
||||
" make sure to not populate this too much
|
||||
let exemptions = ["gophermap", "Makefile"]
|
||||
let tmp = 0
|
||||
for exemption in exemptions
|
||||
" does this match the current file name
|
||||
if expand("%:t") != exemption
|
||||
let tmp = tmp + 1
|
||||
endif
|
||||
endfor
|
||||
" does the file match?
|
||||
if tmp != 0
|
||||
set expandtab
|
||||
set tabstop=2
|
||||
set shiftwidth=2
|
||||
retab
|
||||
endif
|
||||
set list
|
||||
set listchars=eol:`,tab:>-,trail:~,extends:<,precedes:>
|
||||
set foldmethod=marker
|
||||
" }}}
|
||||
" buffers & tabs {{{
|
||||
nmap <Leader>bn ;bn<CR>
|
||||
nmap <Leader>bp ;bp<CR>
|
||||
nmap <Leader>bc ;clo<CR>
|
||||
|
||||
nmap <Leader>tn ;tabnext<CR>
|
||||
nmap <Leader>tp ;tabprev<CR>
|
||||
nmap <Leader>t1 ;tabfirst<CR>
|
||||
nmap <Leader>tc ;tabc<CR>
|
||||
nmap <Leader>tt ;tabnew<CR>
|
||||
" }}}
|
||||
" information {{{
|
||||
nmap <Leader>iw ;!curl -s http://wttr.in/?0qT<CR>
|
||||
nmap <Leader>id ;!date<CR>
|
||||
|
||||
nmap <Leader>se ;setlocal spell spelllang=en_us<CR>
|
||||
nmap <Leader>sd ;setlocal nospell<CR>
|
||||
" }}}
|
|
@ -0,0 +1,16 @@
|
|||
Lexile
|
||||
Macaluso
|
||||
Mazzoni
|
||||
ELA
|
||||
Pixar
|
||||
HDMI
|
||||
repos
|
||||
hax0ring
|
||||
vimrc
|
||||
SSN
|
||||
da
|
||||
api
|
||||
urm
|
||||
flappy
|
||||
hundered
|
||||
chromebook
|
Binary file not shown.
|
@ -0,0 +1,33 @@
|
|||
# rndusr's sxhkdrc
|
||||
|
||||
# program launching + sxhkd reload
|
||||
|
||||
super + Return
|
||||
st
|
||||
|
||||
super + d
|
||||
dmenu_run
|
||||
|
||||
super + r
|
||||
pkill -USR1 -x sxhkd
|
||||
bspc wm -r
|
||||
|
||||
super + w
|
||||
wall
|
||||
|
||||
# bspwm
|
||||
|
||||
super + q
|
||||
bspc node -c
|
||||
|
||||
super + e
|
||||
bspc quit 0
|
||||
|
||||
super + {_,shift + }{h,j,k,l}
|
||||
bspc node -{f,s} {west,south,north,east}
|
||||
|
||||
super + {_,shift + } {1-9,0}
|
||||
bspc {desktop -f,node -d} '^{1-9,10}'
|
||||
|
||||
super + {t,f,s}
|
||||
bspc node -t {tiled,floating,fullscreen}
|
|
@ -0,0 +1,71 @@
|
|||
# general settings
|
||||
set cookie-accept=never
|
||||
set header=DNT=1,User-Agent
|
||||
set hint-keys=asdfhjkl
|
||||
set hint-keys-same-length=true
|
||||
set html5-database=false
|
||||
set html5-local-storage=false
|
||||
set offline-cache=false
|
||||
set prevent-newwindow=true
|
||||
set plugins=false
|
||||
set media-playback-requires-user-gesture=true
|
||||
set geolocation=never
|
||||
set hardware-acceleration-policy=always
|
||||
set scripts=false
|
||||
set webinspector=true
|
||||
set xss-auditor=true
|
||||
set strict-ssl=off
|
||||
set incsearch=true
|
||||
set javascript-can-access-clipboard=false
|
||||
set javascript-can-open-windows-automatically=false
|
||||
set stylesheet=true
|
||||
set input-autohide=true
|
||||
|
||||
# keybinds
|
||||
nnoremap : ;
|
||||
nnoremap ; :
|
||||
|
||||
nmap je ;set scripts=on<CR>
|
||||
nmap jd ;set scripts=off<CR>
|
||||
nmap jt ;set scripts!<CR>
|
||||
|
||||
nmap se ;source ~/.config/vimb/school
|
||||
nmap sd ;source ~/.config/vimb/config
|
||||
|
||||
# browser themeing
|
||||
set status-css=color: #ccbc8e; background-color: #161510; font: Fantasque Sans Mono; font-size: 14px;
|
||||
set status-ssl-css=color: #727a18; background-color: #161510; font: Fantasque Sans Mono; font-size: 14px;
|
||||
set status-ssl-invalid-css=color: #8e8463; background-color: #161510; font: Fantasque Sans Mono; font-size: 14px;
|
||||
|
||||
set input-css=color: #ccbc8e; background-color: #161510; font: Fantasque Sans Mono; font-size: 14px;
|
||||
set input-error-css=color: #8e8463; background-color: #161510; font: Fantasque Sans Mono; font-size: 14px;
|
||||
|
||||
set completion-css=color: #ccbc8e; background-color: #161510; font: Fantasque Sans Mono; font-size: 14px;
|
||||
set completion-selected-css=color: #161510; background-color: #ccbc8e; font: Fantasque Sans Mono; font-size: 14px;
|
||||
set completion-hover-css=color: #161510; background-color: #ccbc8e; font: Fantasque Sans Mono; font-size: 14px;
|
||||
|
||||
# webpage css and stuff (monospace, monospace everywhere!)
|
||||
set dark-mode=true
|
||||
set default-font=Fantasque Sans Mono
|
||||
set font-size=14
|
||||
|
||||
set monospace-font=Fantasque Sans Mono
|
||||
set monospace-font-size=14
|
||||
|
||||
set sans-serif-font=Fantasque Sans Mono
|
||||
set serif-font=Fantasque Sans Mono
|
||||
|
||||
# autocommands
|
||||
aug tilde
|
||||
au LoadCommitted http{s,}://tildegit.org/*,http{s,}://tilde.zone/* set html5-database=true|set html5-local-storage=true|set scripts=true|set cookie-accept=always
|
||||
aug end
|
||||
aug site
|
||||
au LoadCommitted http{s,}://{www.,}vultr.com/*,http{s,}://{www.,}namecheap.com/* set html5-database=true|set html5-local-storage=false|set scripts=true|set cookie-accept=always
|
||||
aug end
|
||||
|
||||
# automatic gemini/gopher -> http handling
|
||||
# be forewarned: veyr hacky
|
||||
|
||||
aug underground
|
||||
au LoadStarting {gemini,gopher}://* :shellcmd! urlhandle $VIMB_URI
|
||||
aug end
|
|
@ -0,0 +1,13 @@
|
|||
# general settings
|
||||
set cookie-accept=always
|
||||
set html5-database=true
|
||||
set html5-local-storage=true
|
||||
set plugins=true
|
||||
set geolocation=ask
|
||||
set scripts=true
|
||||
set javascript-can-access-clipboard=true
|
||||
|
||||
# browser themeing
|
||||
set status-css=color: #ccbc8e; background-color: #cc3214; font: Fantasque Sans Mono; font-size: 14px;
|
||||
set status-ssl-css=color: #727a18; background-color: #cc3214; font: Fantasque Sans Mono; font-size: 14px;
|
||||
set status-ssl-invalid-css=color: #8e8463; background-color: #cc3214; font: Fantasque Sans Mono; font-size: 14px;
|
|
@ -0,0 +1,12 @@
|
|||
set adjust-open "best-fit"
|
||||
set pages-per-row 1
|
||||
|
||||
set scroll-page-aware "true"
|
||||
set zoom-min 10
|
||||
|
||||
set font "Fantasque Sans Mono 11"
|
||||
|
||||
set recolor "true"
|
||||
set recolor-reverse-video "true"
|
||||
set recolor-lightcolor "#161510"
|
||||
set recolor-darkcolor "#ccbc8e"
|
Loading…
Reference in New Issue