more vim stuff
This commit is contained in:
parent
e681427688
commit
3734a71e6f
4 changed files with 18 additions and 5 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
vim/.netrwhist
|
|
@ -1,4 +0,0 @@
|
||||||
let g:netrw_dirhistmax =10
|
|
||||||
let g:netrw_dirhist_cnt =2
|
|
||||||
let g:netrw_dirhist_1='/home/spotlight/.vim'
|
|
||||||
let g:netrw_dirhist_2='/home/spotlight'
|
|
6
vimrc
6
vimrc
|
@ -4,5 +4,11 @@ syntax on
|
||||||
set number
|
set number
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
|
" two-spaced tabs
|
||||||
|
set tabstop=2
|
||||||
|
set softtabstop=0 noexpandtab
|
||||||
|
set shiftwidth=4
|
||||||
|
set tabstop=4 softtabstop=0 expandtab shiftwidth=2 smarttab
|
||||||
|
|
||||||
" vim-airline
|
" vim-airline
|
||||||
let g:airline_powerline_fonts = 1
|
let g:airline_powerline_fonts = 1
|
||||||
|
|
12
zshrc
12
zshrc
|
@ -54,7 +54,7 @@ export PATH="${HOME}/bin:${HOME}/bin/android-sdk/platform-tools:${PATH}"
|
||||||
source ${HOME}/bin/google-cloud-sdk/completion.zsh.inc
|
source ${HOME}/bin/google-cloud-sdk/completion.zsh.inc
|
||||||
source ${HOME}/bin/google-cloud-sdk/path.zsh.inc
|
source ${HOME}/bin/google-cloud-sdk/path.zsh.inc
|
||||||
|
|
||||||
export EDITOR=nano
|
export EDITOR=vim
|
||||||
|
|
||||||
# Go
|
# Go
|
||||||
export GOPATH=${HOME}/go
|
export GOPATH=${HOME}/go
|
||||||
|
@ -83,3 +83,13 @@ fi
|
||||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" ]]
|
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" ]]
|
||||||
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
|
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
|
||||||
export PATH="$PATH:$HOME/.rvm/bin"
|
export PATH="$PATH:$HOME/.rvm/bin"
|
||||||
|
|
||||||
|
|
||||||
|
# Adapted from https://github.com/isaacmorneau/dotfiles/blob/882f11172a2c0fd1aa7020d627d2978e5d60f6b0/.bashrc#L125-L130
|
||||||
|
function mvsane () {
|
||||||
|
for F in "$@"
|
||||||
|
do
|
||||||
|
mv "$F" $(echo "$F" | sed -r 's/[ ]+/_/g;s/[^a-zA-Z0-9_.-]//g;s/[_-]{2,}/-/g;')
|
||||||
|
done
|
||||||
|
}
|
||||||
|
. "/Users/spot/bin/acme.sh.env"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue