mbp changes

This commit is contained in:
2022-11-08 13:10:59 -05:00
parent a80f48d86f
commit fb31b7b917
3 changed files with 13 additions and 1 deletions

View File

@@ -7,3 +7,5 @@
sort = version:refname sort = version:refname
[init] [init]
defaultBranch = master defaultBranch = master
[pull]
rebase = false

View File

@@ -120,6 +120,7 @@ tnoremap <Esc> <C-\><C-n>
nnoremap <Leader>ee :NvimTreeFindFileToggle<cr> nnoremap <Leader>ee :NvimTreeFindFileToggle<cr>
nnoremap <Leader>h <cmd>lua require("harpoon.mark").add_file()<cr> nnoremap <Leader>h <cmd>lua require("harpoon.mark").add_file()<cr>
nnoremap <Leader>/ :Commentary<cr> nnoremap <Leader>/ :Commentary<cr>
vnoremap <Leader>/ :Commentary<cr>
vnoremap J :m '>+1<CR>gv=gv vnoremap J :m '>+1<CR>gv=gv
vnoremap K :m '<-2<CR>gv=gv vnoremap K :m '<-2<CR>gv=gv
@@ -205,6 +206,14 @@ require('lspconfig')['gopls'].setup{
on_attach = on_attach, on_attach = on_attach,
capabilities = capabilities, capabilities = capabilities,
} }
require('lspconfig')['pyright'].setup{
on_attach = on_attach,
capabilities = capabilities,
}
require('lspconfig')['tsserver'].setup{
on_attach = on_attach,
capabilities = capabilities,
}
EOF EOF
lua <<EOF lua <<EOF
@@ -284,5 +293,4 @@ lua <<EOF
EOF EOF
lua << EOF lua << EOF
require'lspconfig'.pyright.setup{}
EOF EOF

View File

@@ -2,6 +2,7 @@ export EDITOR=nvim
# If you come from bash you might have to change your $PATH. # If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:/opt/local/bin:$PATH export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:/opt/local/bin:$PATH
ulimit -n 65536 200000
# eksctl # eksctl
fpath=($fpath ~/.zsh/completion) fpath=($fpath ~/.zsh/completion)
@@ -38,3 +39,4 @@ for conf in "$HOME/.config/zsh/config.d/"*.zsh; do
source "${conf}" source "${conf}"
done done
unset conf unset conf
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"