Compare commits

..

No commits in common. "ceb81d3211aced898bb33c0ed2205fd720efe2bd" and "453270c802e964ffdcc3abfbd62e7696b2df3934" have entirely different histories.

3 changed files with 1 additions and 29 deletions

9
.zshrc
View File

@ -21,10 +21,6 @@ alias ytmpvhd='mpv --hwdec=auto --ytdl-format="bestvideo[height<=?1080]+bestaudi
alias gitlog='git log --graph --all --oneline' alias gitlog='git log --graph --all --oneline'
alias rdoc='cargo doc --open' alias rdoc='cargo doc --open'
alias cdicloud='cd ~/Library/Mobile\ Documents/com\~apple\~CloudDocs'
alias cdans='cd ~/dev/infra/ansible'
alias tailscale="/Applications/Tailscale.app/Contents/MacOS/Tailscale"
PS1='%F{green}%n@%m%f %1/ %F{red}%#%f ' PS1='%F{green}%n@%m%f %1/ %F{red}%#%f '
export PATH="/opt/homebrew/opt/python@3.10/bin:$HOME/lab/scripts:$PATH" export PATH="/opt/homebrew/opt/python@3.10/bin:$HOME/lab/scripts:$PATH"
@ -32,8 +28,3 @@ export PATH="/opt/homebrew/opt/python@3.10/bin:$HOME/lab/scripts:$PATH"
autoload -Uz compinit autoload -Uz compinit
compinit compinit
_comp_options+=(globdots) _comp_options+=(globdots)
source /Users/andy/.docker/init-zsh.sh || true # Added by Docker Desktop
source "$(brew --prefix)/share/google-cloud-sdk/path.zsh.inc"
source "$(brew --prefix)/share/google-cloud-sdk/completion.zsh.inc"

View File

@ -11,8 +11,7 @@ set expandtab
so ~/.vim/plugins.vim so ~/.vim/plugins.vim
let mapleader = "," " map leader to comma map <C-n> :NERDTreeToggle<CR>
set laststatus=2 set laststatus=2
set noshowmode set noshowmode
set showmatch set showmatch
@ -52,29 +51,13 @@ inoremap { {}<left>
inoremap {<CR> {<CR>}<ESC>O inoremap {<CR> {<CR>}<ESC>O
inoremap {;<CR> {<CR>};<ESC>O inoremap {;<CR> {<CR>};<ESC>O
nnoremap <leader>n :NERDTreeFocus<CR>
nnoremap <C-n> :NERDTree<CR>
nnoremap <C-t> :NERDTreeToggle<CR>
nnoremap <C-f> :NERDTreeFind<CR>
set number set number
syntax on syntax on
let g:NERDTreeDirArrowExpandable = '▸' let g:NERDTreeDirArrowExpandable = '▸'
let g:NERDTreeDirArrowCollapsible = '▾' let g:NERDTreeDirArrowCollapsible = '▾'
" Start NERDTree when Vim is started without file arguments.
autocmd StdinReadPre * let s:std_in=1 autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
" Exit Vim if NERDTree is the only window remaining in the only tab.
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0

View File

@ -5,8 +5,6 @@ call vundle#begin()
Plugin 'scrooloose/nerdtree' Plugin 'scrooloose/nerdtree'
Plugin 'itchyny/lightline.vim' Plugin 'itchyny/lightline.vim'
Plugin 'airblade/vim-gitgutter' Plugin 'airblade/vim-gitgutter'
Plugin 'tpope/vim-fugitive'
Plugin 'scrooloose/syntastic'
call vundle#end() call vundle#end()