This commit is contained in:
Christian Nieves
2022-07-26 16:02:08 -05:00
parent 942f81a7d6
commit abbc6734d0
1017 changed files with 135 additions and 69147 deletions

View File

@ -242,6 +242,8 @@ function! plug#begin(...)
let home = s:path(s:plug_fnamemodify(s:plug_expand(a:1), ':p')) let home = s:path(s:plug_fnamemodify(s:plug_expand(a:1), ':p'))
elseif exists('g:plug_home') elseif exists('g:plug_home')
let home = s:path(g:plug_home) let home = s:path(g:plug_home)
elseif has('nvim')
let home = stdpath('data') . '/plugged'
elseif !empty(&rtp) elseif !empty(&rtp)
let home = s:path(split(&rtp, ',')[0]) . '/plugged' let home = s:path(split(&rtp, ',')[0]) . '/plugged'
else else
@ -350,7 +352,7 @@ function! plug#end()
endif endif
let lod = { 'ft': {}, 'map': {}, 'cmd': {} } let lod = { 'ft': {}, 'map': {}, 'cmd': {} }
if exists('g:did_load_filetypes') if get(g:, 'did_load_filetypes', 0)
filetype off filetype off
endif endif
for name in g:plugs_order for name in g:plugs_order
@ -405,7 +407,7 @@ function! plug#end()
for [map, names] in items(lod.map) for [map, names] in items(lod.map)
for [mode, map_prefix, key_prefix] in for [mode, map_prefix, key_prefix] in
\ [['i', '<C-O>', ''], ['n', '', ''], ['v', '', 'gv'], ['o', '', '']] \ [['i', '<C-\><C-O>', ''], ['n', '', ''], ['v', '', 'gv'], ['o', '', '']]
execute printf( execute printf(
\ '%snoremap <silent> %s %s:<C-U>call <SID>lod_map(%s, %s, %s, "%s")<CR>', \ '%snoremap <silent> %s %s:<C-U>call <SID>lod_map(%s, %s, %s, "%s")<CR>',
\ mode, map, map_prefix, string(map), string(names), mode != 'i', key_prefix) \ mode, map, map_prefix, string(map), string(names), mode != 'i', key_prefix)
@ -2619,26 +2621,34 @@ function! s:preview_commit()
let sha = matchstr(getline('.'), '^ \X*\zs[0-9a-f]\{7,9}') let sha = matchstr(getline('.'), '^ \X*\zs[0-9a-f]\{7,9}')
if empty(sha) if empty(sha)
let name = matchstr(getline('.'), '^- \zs[^:]*\ze:$')
if empty(name)
return return
endif endif
let title = 'HEAD@{1}..'
let command = 'git diff --no-color HEAD@{1}'
else
let title = sha
let command = 'git show --no-color --pretty=medium '.sha
let name = s:find_name(line('.')) let name = s:find_name(line('.'))
endif
if empty(name) || !has_key(g:plugs, name) || !isdirectory(g:plugs[name].dir) if empty(name) || !has_key(g:plugs, name) || !isdirectory(g:plugs[name].dir)
return return
endif endif
if exists('g:plug_pwindow') && !s:is_preview_window_open() if exists('g:plug_pwindow') && !s:is_preview_window_open()
execute g:plug_pwindow execute g:plug_pwindow
execute 'e' sha execute 'e' title
else else
execute 'pedit' sha execute 'pedit' title
wincmd P wincmd P
endif endif
setlocal previewwindow filetype=git buftype=nofile nobuflisted modifiable setlocal previewwindow filetype=git buftype=nofile bufhidden=wipe nobuflisted modifiable
let batchfile = '' let batchfile = ''
try try
let [sh, shellcmdflag, shrd] = s:chsh(1) let [sh, shellcmdflag, shrd] = s:chsh(1)
let cmd = 'cd '.plug#shellescape(g:plugs[name].dir).' && git show --no-color --pretty=medium '.sha let cmd = 'cd '.plug#shellescape(g:plugs[name].dir).' && '.command
if s:is_win if s:is_win
let [batchfile, cmd] = s:batchfile(cmd) let [batchfile, cmd] = s:batchfile(cmd)
endif endif
@ -2764,9 +2774,9 @@ function! s:snapshot(force, ...) abort
1 1
let anchor = line('$') - 3 let anchor = line('$') - 3
let names = sort(keys(filter(copy(g:plugs), let names = sort(keys(filter(copy(g:plugs),
\'has_key(v:val, "uri") && !has_key(v:val, "commit") && isdirectory(v:val.dir)'))) \'has_key(v:val, "uri") && isdirectory(v:val.dir)')))
for name in reverse(names) for name in reverse(names)
let sha = s:git_revision(g:plugs[name].dir) let sha = has_key(g:plugs[name], 'commit') ? g:plugs[name].commit : s:git_revision(g:plugs[name].dir)
if !empty(sha) if !empty(sha)
call append(anchor, printf("silent! let g:plugs['%s'].commit = '%s'", name, sha)) call append(anchor, printf("silent! let g:plugs['%s'].commit = '%s'", name, sha))
redraw redraw

Submodule vim/.vim/plugged/MatchTagAlways added at 352eb479a4

Submodule vim/.vim/plugged/asyncrun.vim added at aa8a99e87e

Submodule vim/.vim/plugged/c-syntax.vim added at e0f36366b8

Submodule vim/.vim/plugged/cloudformation-syntax.vim added at 20a5098e34

Submodule vim/.vim/plugged/cmp-buffer added at 62fc67a2b0

Submodule vim/.vim/plugged/cmp-nvim-lsp added at affe808a5c

Submodule vim/.vim/plugged/cmp-nvim-lua added at d276254e71

Submodule vim/.vim/plugged/cmp-path added at 447c87cdd6

Submodule vim/.vim/plugged/cmp-vsnip added at 0abfa1860f

Submodule vim/.vim/plugged/ejs-syntax added at 0e704c523d

Submodule vim/.vim/plugged/emmet-vim added at def5d57a1a

Submodule vim/.vim/plugged/focuspoint-vim added at 72b6634d23

Submodule vim/.vim/plugged/fzf.vim added at c311c0a95f

Submodule vim/.vim/plugged/gounit-vim added at 69ba1afa31

Submodule vim/.vim/plugged/gv.vim added at 1507838ee6

Submodule vim/.vim/plugged/java-syntax.vim added at eb7b01237d

Submodule vim/.vim/plugged/kotlin-vim added at 1261f851e5

Submodule vim/.vim/plugged/linediff.vim added at c7710dbc59

Submodule vim/.vim/plugged/lspkind.nvim added at 57e5b5dfbe

Submodule vim/.vim/plugged/md-img-paste.vim added at 01d747cdde

Submodule vim/.vim/plugged/nerdcommenter added at 6d30ebcd42

Submodule vim/.vim/plugged/nerdtree added at fc85a6f07c

Submodule vim/.vim/plugged/nofrils added at bad6e49084

Submodule vim/.vim/plugged/nord-vim added at bc0f057162

Submodule vim/.vim/plugged/nvim-cmp added at 706371f130

Submodule vim/.vim/plugged/nvim-gdb added at 4408d2c106

Submodule vim/.vim/plugged/nvim-lspconfig added at ba25b747a3

Submodule vim/.vim/plugged/nvim-treesitter added at 42891dccf8

Submodule vim/.vim/plugged/nvim-web-devicons added at 2d02a56189

Submodule vim/.vim/plugged/omnisharp-vim added at 7e88f137ad

Submodule vim/.vim/plugged/onedark.vim added at 1fe54f212f

Submodule vim/.vim/plugged/onehalf added at 141c775ace

Submodule vim/.vim/plugged/papercolor-theme added at 9051480ad9

Submodule vim/.vim/plugged/php.vim added at 930aec5c70

Submodule vim/.vim/plugged/plenary.nvim added at 986ad71ae9

Submodule vim/.vim/plugged/purify added at a6a5c600db

Submodule vim/.vim/plugged/shades-of-teal added at 5bf84996df

Submodule vim/.vim/plugged/telescope-codesearch.nvim added at 9455a5f2a9

Submodule vim/.vim/plugged/telescope.nvim added at b5833a682c

Submodule vim/.vim/plugged/tender.vim added at 7746453a04

Submodule vim/.vim/plugged/trouble.nvim added at da61737d86

Submodule vim/.vim/plugged/ultisnips added at 1edcb40ce7

Submodule vim/.vim/plugged/vim-airline added at ebb89a0846

Submodule vim/.vim/plugged/vim-airline-themes added at 55bad92d24

Submodule vim/.vim/plugged/vim-android added at b8b684f60a

Submodule vim/.vim/plugged/vim-ansible-yaml added at a6f92d17ff

Submodule vim/.vim/plugged/vim-atom-dark added at 44feadcbeb

Submodule vim/.vim/plugged/vim-autoflake added at 5d0a5b437a

Submodule vim/.vim/plugged/vim-better-whitespace added at 1b22dc57a2

Submodule vim/.vim/plugged/vim-case-convert added at 0a75eb4cf7

Submodule vim/.vim/plugged/vim-colors-solarized added at 528a59f26d

Submodule vim/.vim/plugged/vim-colorscheme-primary added at cd6d5422a3

Submodule vim/.vim/plugged/vim-cpp-enhanced-highlight added at 4b7314a497

Submodule vim/.vim/plugged/vim-easy-align added at 12dd631697

Submodule vim/.vim/plugged/vim-easymotion added at b3cfab2a63

Submodule vim/.vim/plugged/vim-exchange added at 784d63083a

Submodule vim/.vim/plugged/vim-fugitive added at 9a13fc87c4

Submodule vim/.vim/plugged/vim-git added at 5143bea9ed

Submodule vim/.vim/plugged/vim-gitgutter added at ded11946c0

Submodule vim/.vim/plugged/vim-go added at 7ec0a19a78

Submodule vim/.vim/plugged/vim-graphql added at 4bf5d33bda

Submodule vim/.vim/plugged/vim-helm added at 86a63d007f

Submodule vim/.vim/plugged/vim-hybrid-material added at ad031275c6

Submodule vim/.vim/plugged/vim-indent-guides added at 765084d38b

Submodule vim/.vim/plugged/vim-javascript added at d6e137563c

Submodule vim/.vim/plugged/vim-json added at 3727f08941

Submodule vim/.vim/plugged/vim-markdown added at 3a96439612

Submodule vim/.vim/plugged/vim-material-theme added at c28195998d

Submodule vim/.vim/plugged/vim-monochrome added at c4f18812bb

Submodule vim/.vim/plugged/vim-monokai-tasty added at 13a0d38fea

Submodule vim/.vim/plugged/vim-nerdtree-syntax-highlight added at 5178ee4d7f

Submodule vim/.vim/plugged/vim-nuuid added at 6abc11a794

Submodule vim/.vim/plugged/vim-obsession added at 7d39576149

Submodule vim/.vim/plugged/vim-quantum added at 78c435ba22

Submodule vim/.vim/plugged/vim-ripgrep added at 80c9dc96b3

Submodule vim/.vim/plugged/vim-scratchpad added at d1f7875608

Submodule vim/.vim/plugged/vim-snippets added at c5d977c492

Submodule vim/.vim/plugged/vim-stylus added at 0514757a47

Submodule vim/.vim/plugged/vim-surround added at bf3480dc9a

Submodule vim/.vim/plugged/vim-syntax-extra added at 5906eeab33

Submodule vim/.vim/plugged/vim-table-mode added at f47287df37

Submodule vim/.vim/plugged/vim-titlecase added at 630089d75a

Submodule vim/.vim/plugged/vim-tmux added at cfe76281ef

Submodule vim/.vim/plugged/vim-tmux-focus-events added at b1330e04ff

Submodule vim/.vim/plugged/vim-tmux-navigator added at 9ca5bfe5bd

Submodule vim/.vim/plugged/vim-tmux-syntax added at 1b6a6a5beb

Submodule vim/.vim/plugged/vim-uncrustify added at 9cce24fd70

Submodule vim/.vim/plugged/vim-velocity added at a494e9ebbb

Submodule vim/.vim/plugged/vim-vsnip added at 8f199ef690

Submodule vim/.vim/plugged/vim-windowswap added at 15db3f697a

Submodule vim/.vim/plugged/vim-yaml added at dce19542d5

Submodule vim/.vim/plugged/vimux added at 89604a4464

1
vim/.vim/plugged/vtl Submodule

Submodule vim/.vim/plugged/vtl added at 1f75c4069a

Submodule vim/.vim/plugged/xterm-color-table.vim added at 9754e857e5

View File

@ -1,6 +1,7 @@
export PATH=$PATH:$HOME/bin export PATH=$PATH:$HOME/bin
export PATH=$PATH:$HOME/scripts export PATH=$PATH:$HOME/scripts
export MOCWORD_DATA=$HOME/mocword/mocword.sqlite export MOCWORD_DATA=$HOME/mocword/mocword.sqlite
export BASH_PROFILE_SOURCED=true
export PATH=$PATH:. export PATH=$PATH:.
export GOPATH=$HOME/go export GOPATH=$HOME/go
@ -21,10 +22,6 @@ export EDITOR='nvim'
HISTCONTROL=ignoreboth HISTCONTROL=ignoreboth
source ~/.aliases.sh
# source ~/.funcs.sh
source ~/.bash-powerline.sh
export DEVKITPRO=/opt/devkitpro export DEVKITPRO=/opt/devkitpro
export DEVKITARM=${DEVKITPRO}/devkitARM export DEVKITARM=${DEVKITPRO}/devkitARM
@ -39,3 +36,4 @@ export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
source ~/.bash_profile.local source ~/.bash_profile.local
source ~/.aliases.sh

View File

@ -2,15 +2,13 @@
# Google Specific # Google Specific
# --------------- # ---------------
# For running crow against a remote X server # For running crow against a remote X server
xhost + # xhost +
export PATH=$PATH:/google/src/head/depot/google3/experimental/users/cnieves/util export PATH=$PATH:/google/src/head/depot/google3/experimental/users/cnieves/util
export XAUTHORITY=~/.Xauthority export XAUTHORITY=~/.Xauthority
export GOROOT=/usr/lib/google-golang export GOROOT=/usr/lib/google-golang
export PATH=$GOROOT/bin:$PATH export PATH=$GOROOT/bin:$PATH
export JAVA_HOME=$(readlink -ne /usr/local/buildtools/java/jdk) export JAVA_HOME=$(readlink -ne /usr/local/buildtools/java/jdk)
source /etc/bash_completion.d/hgd
function gcert() { function gcert() {
if [[ -n $TMUX ]]; then if [[ -n $TMUX ]]; then
eval $(tmux show-environment -s) eval $(tmux show-environment -s)
@ -30,8 +28,11 @@ if [[ ! -z "$TMUX" ]]; then
precmd_functions+=(tmux_title) precmd_functions+=(tmux_title)
fi fi
prodcertstatus &> /dev/null &&
/google/data/ro/users/di/diamondm/engfortunes/fortune.sh FORTUNES=/google/data/ro/users/di/diamondm/engfortunes/fortune.sh
if [ -f "$FORTUNES" ]; then
prodcertstatus &> /dev/null && $FORTUNES
fi
# Install fzf-query # Install fzf-query
export PATH="${PATH}:/google/bin/releases/editor-devtools" export PATH="${PATH}:/google/bin/releases/editor-devtools"

View File

@ -1,8 +0,0 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_size = 2
indent_style = space

View File

@ -1,10 +0,0 @@
# Plugin owners
plugins/archlinux/ @ratijas
plugins/aws/ @maksyms
plugins/genpass/ @atoponce
plugins/git-lfs/ @hellovietduc
plugins/gitfast/ @felipec
plugins/sdk/ @rgoldberg
plugins/universalarchive/ @Konfekt
plugins/wp-cli/ @joshmedeski
plugins/zoxide/ @ajeetdsouza

View File

@ -1,2 +0,0 @@
github: [robbyrussell, mcornella, larson-carter]
open_collective: ohmyzsh

Some files were not shown because too many files have changed in this diff Show More