#set vi mode
set -o vi
-
# ibus
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
# Enivormentals
export PATH=$HOME/Scripts:$HOME/Scripts/dmenu:$HOME/Scripts/statusbar:$HOME/Scripts/acpi:$PATH
+export NINEIT_USERNAME=pinosaur
export XDG_CONFIG_HOME=$HOME/.config
export EDITOR="vim"
# aliaseseses
alias ls='ls --color=auto'
-alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
+alias dotfiles='git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
alias suckless-clean='make clean && rm -rf config.h && git reset --hard home/master'
alias musicdl="youtube-dl -f bestaudio"
alias mpv="mpv --no-input-default-bindings"
source fzfutil
-export NINEIT_USERNAME=pinosaur
-
-
# startup stuff
-
ufetch-arch
export LF_ICONS="\
" (_)_/ |_|_| |_| |_|_| \___|
"
+" basics
syntax on
set number
set relativenumber
set expandtab
set formatoptions-=cro "disables auto comments
+" spell check
setlocal spell
set spelllang=en_us
set spellcapcheck=
+" conceal
set conceallevel=2
+" Bindings
+let mapleader = ' '
+
+" map <leader>e :Ex<cr>
+" map <leader>v :Vex<cr>
+map <leader>l :bn<cr>
+map <leader>h :bp<cr>
+map <leader>d :bd<cr>
+
" colors
hi Conceal ctermbg=Black
hi SpellBad ctermfg=Red ctermbg=Black cterm=underline
-" Bindings
-nnoremap <C-[> <C-t>
-
-" Some macros
+" Netrw
+" let g:netrw_liststyle = 3
+" let g:netrw_banner = 0
+" let g:netrw_winsize = 25
+" let g:netrw_browse_split = 4
" vim plug
" this blob auto installs vim plug if it isnt already
Plug 'jiangmiao/auto-pairs'
Plug 'PietroPate/vim-tex-conceal'
Plug 'vim-airline/vim-airline'
+Plug 'tpope/vim-commentary'
+Plug 'ptzz/lf.vim'
" Plug 'ctrlpvim/ctrlp.vim'
" Plug 'neoclide/coc.nvim', {'branch': 'release'}
" Plug 'habamax/vim-godot'
-Plug 'tpope/vim-commentary'
call plug#end()
\}
" VimAirline
-"let g:airline#extensions#tabline#enabled = 1
+let g:airline#extensions#tabline#enabled = 1
+let g:airline#extensions#tabline#buffer_min_count = 2
let g:airline_powerline_fonts=1
" Ctrlp
let g:ctrlp_cmd='CtrlPTag'
+
+" Lf
+" let g:lf_replace_netrw = 1 " weird behavior rn
cat <<EOF
- ${nc}${USER}${ic}@${nc}${hostname}${reset}
-${c0} .-----. ${lc}OS: ${ic}${os}${reset}
-${c0} .\` _ \`. ${lc}KERNEL: ${ic}${kernel}${reset}
-${c0} \`. (${c1}_) ${c0}\`. ${lc}HOST: ${ic}${host}${reset}
-${c0} \`${c1}. / ${lc}UPTIME: ${ic}${uptime}${reset}
-${c1} .\` .\` ${lc}PACKAGES: ${ic}${packages}${reset}
-${c1} / .\` ${lc}${uitype}: ${ic}${ui}${reset}
-${c1} \____.-\` ${lc}TERM: ${ic}${term}${reset}
+ ${nc}${USER}${ic}@${nc}${hostname}${reset}
+${c0} .-----. ${lc}OS: ${ic}${os}${reset}
+${c0} .\` _ \`. ${lc}KERNEL: ${ic}${kernel}${reset}
+${c0} \`. (${c1}_) ${c0}\`. ${lc}HOST: ${ic}${host}${reset}
+${c0} \`${c1}. / ${lc}UPTIME: ${ic}${uptime}${reset}
+${c1} .\` .\` ${lc}PACKAGES: ${ic}${packages}${reset}
+${c1} / .\` ${lc}${uitype}: ${ic}${ui}${reset}
+${c1} \____.-\` ${lc}TERM: ${ic}${term}${reset}
EOF
# user is already defined
hostname="$(hostname)"
-os='Arch Linux'
+os='Manjaro Linux'
host="$(cat /sys/devices/virtual/dmi/id/product_name) $(cat /sys/devices/virtual/dmi/id/product_family)"
kernel="$(uname -sr)"
uptime="$(uptime -p | sed 's/up //')"