Skip to content

Commit f92b9e1

Browse files
committed
Upgrade plugins and brew installer command
1 parent cd7b0aa commit f92b9e1

File tree

7 files changed

+24
-5
lines changed

7 files changed

+24
-5
lines changed

fish/config.fish

+4-1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ function brm
130130
brew deps $argv | xargs brew remove --ignore-dependencies | brew remove $argv | brew missing | cut -d: -f2 | sort | uniq | xargs brew install
131131
end
132132

133+
set -x HOMEBREW_NO_AUTO_UPDATE 1
134+
133135
#--------------
134136
#====> MAC
135137
#--------------
@@ -316,7 +318,8 @@ function tc ; tree -C ; end
316318

317319
# add asdf to $PATH
318320
# status --is-interactive; and source /usr/local/opt/asdf/asdf.fish
319-
test -d /usr/local/opt/asdf/ ;and source /usr/local/opt/asdf/asdf.fish
321+
# test -d /usr/local/opt/asdf/ ;and source /usr/local/opt/asdf/asdf.fish
322+
test -d /usr/local/opt/asdf/ ;and source /usr/local/opt/asdf/libexec/asdf.fish
320323

321324
# direnv config
322325
test -x /usr/local/bin/direnv ;and eval (direnv hook fish)

gitconfig

+7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
[user]
22
name = Pedro G. Galaviz
33
4+
signingkey = 8A2AD35B2A837574
5+
6+
[commit]
7+
gpgsign = true
48

59
[core]
610
pager = delta
@@ -24,3 +28,6 @@
2428

2529
[interactive]
2630
diffFilter = delta --color-only
31+
32+
[init]
33+
defaultBranch = main

nvim/autocmds.vim

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ augroup filetype_detect
2525
autocmd BufNewFile,BufRead .tern-project setf json
2626
autocmd BufNewFile,BufRead *.md,*markdown setf markdown
2727
autocmd BufNewFile,BufRead *.yml setf yaml
28-
autocmd BufNewFile,BufRead *.eex,*.leex setf eelixir
28+
autocmd BufNewFile,BufRead *.ex,*.exs setf elixir
29+
autocmd BufNewFile,BufRead mix.lock setf elixir
30+
autocmd BufNewFile,BufRead *.eex,*.leex,*.heex setf eelixir
2931
autocmd BufNewFile,BufRead *.vue setf vue
3032
autocmd BufNewFile,BufRead *.toml setf toml
3133
autocmd BufNewFile,BufRead *.styl setf stylus

nvim/plugin/deoplete.vim

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
let g:deoplete#enable_at_startup = 1
44
let g:deoplete#tag#cache_limit_size = 800000
55

6+
call deoplete#custom#option('num_processes', 4)
7+
68
call deoplete#custom#option({
79
\ 'auto_complete_delay': 0,
810
\ 'smart_case': v:true,

nvim/plugins.vim

+4-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Plug 'vim-erlang/vim-erlang-omnicomplete', {'for': 'erlang'}
4040
Plug 'vim-erlang/vim-erlang-compiler', {'for': 'erlang'}
4141

4242
" Elixir
43-
Plug 'elixir-editors/vim-elixir', {'for': 'elixir'} " Elixir language highlighting
43+
Plug 'elixir-editors/vim-elixir', {'for': 'elixir'} " Elixir language highlighting
4444
Plug 'slashmili/alchemist.vim', {'for': 'elixir'} " Elixir Integration
4545
Plug 'mhinz/vim-mix-format', {'for': 'elixir'} " Elixir formatter
4646

@@ -130,6 +130,9 @@ Plug 'Shougo/context_filetype.vim' " Find nested filetypes for example javascri
130130
Plug 'Shougo/neoinclude.vim' " Include completion framework
131131
Plug 'Shougo/neco-syntax' " Syntax source
132132

133+
" Copilot
134+
Plug 'github/copilot.vim'
135+
133136
" Language Server Protocol (LSP)
134137
Plug 'autozimu/LanguageClient-neovim', { 'branch': 'next', 'do': 'bash install.sh' }
135138

scripts/osx.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ else
1313
echo_item "Homebrew is not installed and is required for configuration!" yellow
1414
if get_boolean_response "Do you want to install Homebrew?"; then
1515
echo_item "Installing Homebrew, this can take some time..." yellow
16-
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
16+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
1717
echo_item "Done!" green
1818
else
1919
echo_item "Skipping Homebrew installation..." red

tmux/tmux.conf

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Remap prefix
22
unbind C-b
33
set -g prefix C-Space
4+
bind C-Space send-prefix
45

56
# OSX specific
67
# This need to be run to use MacOS clipboard system
78
# First you need to run 'brew install reattach-to-user-namespace'
8-
if-shell 'test "$(uname)" = "Darwin"' 'set-option -g default-command "reattach-to-user-namespace -l fish"'
9+
# if-shell 'test "$(uname)" = "Darwin"' 'set-option -g default-command "reattach-to-user-namespace -l fish"'
910

1011
###############
1112
### OPTIONS ###
@@ -43,6 +44,7 @@ set -g automatic-rename on
4344
set -gw window-status-activity-style none
4445

4546
# Enable vi keys.
47+
set -g status-keys vi
4648
setw -g mode-keys vi
4749

4850
################

0 commit comments

Comments
 (0)