Add brewfile
This commit is contained in:
parent
c9227f44b0
commit
a0e88b9a52
2 changed files with 146 additions and 28 deletions
|
|
@ -58,6 +58,7 @@ Plug 'darfink/vim-plist'
|
|||
Plug 'vim-ruby/vim-ruby'
|
||||
Plug 'kchmck/vim-coffee-script'
|
||||
Plug 'jceb/vim-orgmode'
|
||||
Plug 'bfontaine/Brewfile.vim'
|
||||
" For vim-orgmode
|
||||
Plug 'tpope/vim-speeddating'
|
||||
call plug#end()
|
||||
|
|
@ -110,7 +111,7 @@ command! -bang -nargs=* Rg call fzf#vim#grep('rg --column --line-number --no-hea
|
|||
noremap <Leader>/ :Rg<CR>
|
||||
"noremap <Space>/ :Rg<CR>
|
||||
|
||||
function s:get_buffer_git_root(...)
|
||||
function! s:get_buffer_git_root(...)
|
||||
let root = fugitive#repo().tree(expand('%:p:h'))
|
||||
if empty(root)
|
||||
return s:warn('Not in git repo')
|
||||
|
|
@ -155,12 +156,35 @@ noremap <Leader>fed :e ~/.config/nvim/init.vim<CR>
|
|||
|
||||
" TODO quickfix for ripgrep results
|
||||
" TODO quickfix for autolint and rake stuff
|
||||
"autocmd QuickFixCmdPost * botright cwindow 6
|
||||
" quickfix things like '-'
|
||||
"nmap <Leader>cwc :cclose<CR>
|
||||
"nmap <Leader>cwo :botright copen 5<CR><C-w>p
|
||||
"nmap <Leader>cn :cnext<CR>
|
||||
"nmap <Leader>cp :cprevious<CR>
|
||||
"nmap - :cnext<CR>
|
||||
"nmap _ :cprev<CR>
|
||||
"nmap <C--> :colder<CR>
|
||||
"nmap <C-_> :cnewer<CR>
|
||||
" neomake uses the location window rather than quickfix window
|
||||
noremap - :lnext<CR>
|
||||
noremap _ :lprev<CR>
|
||||
" See ToggleLocationList below
|
||||
|
||||
" Only lint when leaving insert or changing text in command mode
|
||||
call neomake#configure#automake({
|
||||
\ 'InsertLeave': {'delay': 0},
|
||||
\ 'TextChanged': {},
|
||||
\ }, 500)
|
||||
let g:neomake_ruby_rubocop_maker = {
|
||||
\ 'args': ['exec', 'rubocop', '--format', 'emacs', '--force-exclusion', '--display-cop-names'],
|
||||
\ 'exe': 'bundle',
|
||||
\ 'errorformat': '%f:%l:%c: %t: %m,%E%f:%l: %m',
|
||||
\ 'postprocess': function('neomake#makers#ft#ruby#RubocopEntryProcess'),
|
||||
\ 'output_stream': 'stdout',
|
||||
\ }
|
||||
let g:neomake_ruby_rubocop_rails_maker = {
|
||||
\ }
|
||||
|
||||
let g:deoplete#enable_at_startup = 1
|
||||
|
||||
|
|
@ -186,9 +210,41 @@ nmap <C-p> :Denite neoyank<CR>
|
|||
"vmap <Leader>y :'<,'>! cat \| tee ~/.local/share/nvim/yank.txt<CR>
|
||||
"nmap <Leader>p o<Esc>:.!cat ~/.local/share/nvim/yank.txt<CR>
|
||||
|
||||
" ^n Show number and fold columns in windows {{{2
|
||||
if has("eval")
|
||||
function! <SID>FoldNumbers()
|
||||
|
||||
function! GetBufferList()
|
||||
redir =>buflist
|
||||
silent! ls!
|
||||
redir END
|
||||
return buflist
|
||||
endfunction
|
||||
|
||||
function! ToggleLocationList()
|
||||
let buflist = GetBufferList()
|
||||
" Close if it's open
|
||||
for bufnum in map(filter(split(buflist, '\n'), 'v:val =~ "Location List"'), 'str2nr(matchstr(v:val, "\\d\\+"))')
|
||||
if bufwinnr(bufnum) != -1
|
||||
exec('lclose')
|
||||
return
|
||||
endif
|
||||
endfor
|
||||
" Don't open if it's empty
|
||||
if len(getloclist(0)) == 0
|
||||
echohl ErrorMsg
|
||||
echo "Location List is Empty."
|
||||
return
|
||||
endif
|
||||
" Open it
|
||||
let winnr = winnr()
|
||||
exec('lopen')
|
||||
" Go back to window
|
||||
if winnr() != winnr
|
||||
wincmd p
|
||||
endif
|
||||
endfunction
|
||||
noremap <Leader>- :call ToggleLocationList()<CR>
|
||||
|
||||
" ^n Show number and fold columns in windows
|
||||
function! <SID>FoldNumbers()
|
||||
" If we're in a wide window, enable line numbers.
|
||||
"if winwidth(0) >= 76 " 72 + 4, or should I use tw?
|
||||
" Add folds, or cycle through number schemes
|
||||
|
|
@ -209,10 +265,9 @@ if has("eval")
|
|||
" setlocal nonumber
|
||||
" setlocal foldcolumn=0
|
||||
"endif
|
||||
endfun
|
||||
"autocmd WinEnter,BufWinEnter,BufNew * :call <SID>FoldNumbers()
|
||||
noremap <silent> <C-n> :call <SID>FoldNumbers()<CR>
|
||||
endif
|
||||
endfun
|
||||
"autocmd WinEnter,BufWinEnter,BufNew * :call <SID>FoldNumbers()
|
||||
noremap <silent> <C-n> :call <SID>FoldNumbers()<CR>
|
||||
|
||||
" Case insensitivity for searching
|
||||
set ignorecase
|
||||
|
|
|
|||
63
Brewfile
Normal file
63
Brewfile
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
# Work fun
|
||||
tap "d12frosted/emacs-plus" ; brew "emacs-plus"
|
||||
cask "blue-jeans-launcher"
|
||||
cask "docker" # docker docker
|
||||
cask "hipchat" # Work chat
|
||||
cask "slack" # Work/fun chat
|
||||
cask "tunnelblick" # Work vpn
|
||||
cask "virtualbox" # vms
|
||||
cask "vagrant" # all the vms
|
||||
brew "git" # Newer than what brew installs
|
||||
brew "gnupg" # Crypto, not currency
|
||||
brew "pinentry-mac" # gpg card pin entry
|
||||
brew "htop" # L33t
|
||||
brew "hub" # git, for github
|
||||
brew "ncdu" # Find big files
|
||||
brew "neovim" # Edit stuff
|
||||
brew "ripgrep" # Faster grep/ack/ag
|
||||
brew "socat" # Better netcat
|
||||
brew "tmux" # Terminal thingy
|
||||
brew "reattach-to-user-namespace" # For tmux
|
||||
brew "unrar" # Rar happens
|
||||
brew "unzip" # Zip happens
|
||||
brew "nmap" # Port scanner
|
||||
brew "p0f" # Passive scanner
|
||||
cask "minikube" # k8s in a box
|
||||
|
||||
# Mac fun
|
||||
cask "aerial" # Screensaver
|
||||
cask "alfred" # Launcher
|
||||
tap "crisidev/chunkwm" ; brew "chunkwm" # Window manager
|
||||
tap "koekeishiya/formulae" ; brew "khd" # Keyboard shortcuts
|
||||
cask "cathode" # Silly terminal
|
||||
cask "ubersicht" # UI bar
|
||||
cask "font-hack" # I don't think I use this any more
|
||||
cask "font-liberation-mono-for-powerline" # For neovim
|
||||
|
||||
# Game fun
|
||||
cask "angband" # Morgoth
|
||||
cask "brogue" # Less goth
|
||||
cask "steam" # Meta game
|
||||
|
||||
# Life fun
|
||||
cask "1password" # Family accounts
|
||||
cask "adobe-creative-cloud" # Family pictures
|
||||
brew "ddrescue" # Photo recover
|
||||
brew "exiftool" # Photo munge
|
||||
brew "imagemagick" # manipulation
|
||||
cask "arq" # Family backups
|
||||
cask "discord" # Friend chat
|
||||
cask "dropbox" # File sync
|
||||
cask "onedrive" # File sync
|
||||
cask "little-snitch" # Personal egress filtering
|
||||
cask "vlc" # Music videos
|
||||
brew "youtube-dl" # Music videos
|
||||
cask "zerotier-one" # Personal network
|
||||
# cask microsoft-office # Not 365 apparently
|
||||
|
||||
# Browsers
|
||||
cask "brave" # For bt
|
||||
cask "firefox" # Personal browsing
|
||||
cask "firefoxnightly" # Work browsing
|
||||
cask "multifirefox" # Profile manager
|
||||
cask "google-chrome" # Flash/music
|
||||
Loading…
Add table
Add a link
Reference in a new issue