~jamesp/dotfiles

f0d83d3c1314c379cd7354f0df5295017f1e0eab — James Pearson 8 days ago 4f4c769 master
Push the months of hard work waiting to be synced
2 files changed, 15 insertions(+), 3 deletions(-)

M .bashrc
M .vimrc
M .bashrc => .bashrc +13 -1
@@ 14,6 14,10 @@ if [ -d "$HOME/bin" ] ; then
fi
# source: https://unix.stackexchange.com/questions/215716/how-is-home-bin-added-to-my-path

# set MANPATH so it includes user's private manpage share
    MANPATH="/usr/local/man:/usr/local/share/man:/usr/share/man:$HOME/.local/share/man"
# source: https://unix.stackexchange.com/questions/90759/where-should-i-install-manual-pages-in-user-directory

# Settings for every instance of bash loaded
# ls aliases
alias ls='ls --color=auto'


@@ 26,6 30,7 @@ alias l='ls -CF' # I need an alternative to lf as it's a file manager and people
                 # use l in this way anyway, so here it is!
alias ..='cd ..'
alias cd..='cd ..'
alias md='mkdir'
# Others
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'


@@ 47,7 52,14 @@ export VISUAL=nvim # Mutt requires it, or else it'll try to compose messages wit
set -o vi

# grab metadata with yt-dlp
alias yt-dlpa='yt-dlp --write-info-json --write-description --write-thumbnail'
alias yt-dlpi='yt-dlp --write-info-json --write-description --write-thumbnail'
alias yt-dlpic='yt-dlpi --write-comments'
alias yt-dlpa='yt-dlp --write-description --write-thumbnail'
alias yt-dlpac='yt-dlpa --write-comments'

# dfgit for dotfiles
alias dfgit='git --git-dir=$HOME/.dfgit --work-tree=$HOME'
alias edfgit='git --git-dir=$HOME/.edfgit --work-tree=$HOME'

# local variables
export wwwsrc=~/src/www

M .vimrc => .vimrc +2 -2
@@ 42,7 42,7 @@ set scrolloff=3
set sidescroll=3
set ruler
set cc=80
set nowrap
"set nowrap
set ignorecase
set smartcase
set splitbelow


@@ 64,7 64,7 @@ nnoremap <silent> <F5> :let _s=@/<Bar>:%s/\s\+$//e<Bar>:let @/=_s<Bar>:nohl<CR> 
nnoremap Y y$
nnoremap cc :center<cr>
inoremap <C-c> <ESC>
set listchars=tab:▸\ ,eol:¬,space:.
"set listchars=tab:▸\ ,eol:¬,space:.
nnoremap <leader>l :set list!<CR>
nnoremap <C-p> :FZF<cr>