use tag for ag if available, update nvim config to be a little smarter with the coc plugin, and update alacritty size

This commit is contained in:
Tony Blyler 2021-05-17 13:58:09 -04:00
parent fe55e8d595
commit 2ee9018e7a
5 changed files with 34 additions and 24 deletions

View file

@ -150,7 +150,7 @@ font:
#style: Bold Italic
# Point size
size: 11.0
size: 7.0
# Offset is the extra space around each character. `offset.y` can be thought
# of as modifying the line spacing, and `offset.x` as modifying the letter

View file

@ -11,4 +11,4 @@
"coc-xml": ">=1.14.1",
"coc-yaml": ">=1.3.1"
}
}
}

View file

@ -19,27 +19,27 @@ call plug#begin($HOME.'/.nvim/plugged')
Plug 'morhetz/gruvbox' " color scheme
Plug 'airblade/vim-gitgutter' " show file changes for git VCS
Plug 'bronson/vim-trailing-whitespace' " per the name, remove trailing whitespace
Plug 'easymotion/vim-easymotion' " easy code navigation with <Leader><Leader>
Plug 'editorconfig/editorconfig-vim' " EditorConfig support
Plug 'fatih/vim-go', { 'do': ':exec GoPostUpdate()' } " THE Go plugin
Plug 'junegunn/fzf', { 'do': { -> fzf#install } } " fast file name search
Plug 'majutsushi/tagbar' " class & variable lister
Plug 'mg979/vim-visual-multi', { 'branch': 'master' } " multi cursor support
Plug 'mhinz/vim-signify' " show file changes for pretty much any VCS
Plug 'mileszs/ack.vim' " easy code searching
Plug 'moll/vim-bbye' " Bdelete a buffer without removing the split
Plug 'neoclide/coc.nvim', {'branch': 'release'} " ezpz LSP support
Plug 'scrooloose/nerdcommenter' " perform quick comments with <Leader>
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } " shows a directory view
Plug 'sheerun/vim-polyglot' " highlighting & indent for languages
Plug 'tpope/vim-fugitive' " awesome git support
Plug 'tpope/vim-sensible' " some obviously sane default config changes
Plug 'tpope/vim-surround' " easy surrounding modifier
Plug 'vim-airline/vim-airline' " nice lightweight status line
Plug 'vim-airline/vim-airline-themes' " themes for vim-airline
Plug 'w0rp/ale' " async linting engine
Plug 'airblade/vim-gitgutter' " show file changes for git VCS
Plug 'bronson/vim-trailing-whitespace' " per the name, remove trailing whitespace
Plug 'easymotion/vim-easymotion' " easy code navigation with <Leader><Leader>
Plug 'editorconfig/editorconfig-vim' " EditorConfig support
Plug 'fatih/vim-go', { 'do': ':exec GoPostUpdate()' } " THE Go plugin
Plug 'junegunn/fzf', { 'do': { -> fzf#install } } " fast file name search
Plug 'majutsushi/tagbar' " class & variable lister
Plug 'mg979/vim-visual-multi', { 'branch': 'master' } " multi cursor support
Plug 'mhinz/vim-signify' " show file changes for pretty much any VCS
Plug 'mileszs/ack.vim' " easy code searching
Plug 'moll/vim-bbye' " Bdelete a buffer without removing the split
Plug 'neoclide/coc.nvim', {'branch': 'release', 'do': { -> coc#util#install() }} " ezpz LSP support
Plug 'scrooloose/nerdcommenter' " perform quick comments with <Leader>
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } " shows a directory view
Plug 'sheerun/vim-polyglot' " highlighting & indent for languages
Plug 'tpope/vim-fugitive' " awesome git support
Plug 'tpope/vim-sensible' " some obviously sane default config changes
Plug 'tpope/vim-surround' " easy surrounding modifier
Plug 'vim-airline/vim-airline' " nice lightweight status line
Plug 'vim-airline/vim-airline-themes' " themes for vim-airline
Plug 'w0rp/ale' " async linting engine
call plug#end()

View file

@ -65,7 +65,7 @@
},
"clock": {
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "{:%H:%M %m/%d/%y}"
"format": "{:%m/%d/%y %H:%M}"
},
"cpu": {
"format": "{usage}% ",

View file

@ -7,6 +7,10 @@ if [ -d "${HOME}/bin" ]; then
export PATH="${HOME}/bin:${PATH}"
fi
if [ -d "${HOME}/.local/bin" ]; then
export PATH="${HOME}/.local/bin:$PATH"
fi
if command -v go &> /dev/null; then
GOPATH="$(go env GOPATH)"
if [ -d "${GOPATH}" ]; then
@ -15,6 +19,12 @@ if command -v go &> /dev/null; then
fi
fi
if (( $+commands[tag] )); then
export TAG_SEARCH_PROG=ag # replace with rg for ripgrep
tag() { command tag "$@"; source ${TAG_ALIAS_FILE:-/tmp/tag_aliases} 2>/dev/null }
alias ag=tag # replace with rg for ripgrep
fi
# oh-my-zsh {
export ZSH="${HOME}/.oh-my-zsh"