New laptop setup
Helpful Apps you need to download (for any stack):
- Package manager - homebrew
- Get an IDE (VSCode)
- Git
- Iterm2 (oh my zsh —using zsh command line)
- Node (install nvm)
- Docker (optional)
- Rectangle (free window manager for MacOs - purchased “Magnet” from AppStore)
- TMUX (terminal multiplexing)
Python development:
- Python3 installation (using brew — sometimes comes with python3 installed)
- Pyenv (to install python versions — also installs pip)
Learning opportunities
- Bash (different types of shell)
- Alfred
- Vim
Setup VSCode
- Plugins/Extensions
- LiveShare
- GitLens (more power to Git - tried/optional)
- Prettier (Optional formatting - formats on save)
- Cascade icons from Microsoft (style component)
- REST client (said it was like Postman)
- Python language extension
- Vim plugin (optional)
Difference between shell (bash and zsh)
- Zsh - (Z shell) is an extension over bash that has many extensions and introduced in 1990
- Bash - Bourne-again shell - released in 1989
- Major difference is customizability(plugins/autocompletion/tab controls/POSIX complaint/floating-point support etc..) in zsh
- Zsh has more features than standard bash
- Another popular shell available is fish
Vim tutorial
- Install vim 8/9 or neovim
- Plugin manager: https://github.com/junegunn/vim-plug
- Recommended plugins:
```
call plug#begin()
Plug 'airblade/vim-gitgutter' " git integration
Plug 'preservim/nerdtree' " file browser PRIME
Plug 'junegunn/fzf.vim' " search PRIME
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } " search PRIME
Plug 'MattesGroeger/vim-bookmarks' " bookmark per line
Plug 'tpope/vim-fugitive' " git integration
Plug 'tabnine/YouCompleteMe' " AI completion
Plug 'pseewald/vim-anyfold' " fold code
Plug 'neoclide/coc.nvim', {'branch': 'release'} " LSP
Plug '/apollo/env/envImprovement/vim/amazon/brazil-config' " amazon LSP for bb
Plug 'puremourning/vimspector' " general debugger !?
Plug 'skywind3000/asyncrun.vim' " TODO
Plug 'vim-airline/vim-airline' " status bar
Plug 'vim-airline/vim-airline-themes' " status bar
Plug 'vim-test/vim-test' " run test easily in vim
Plug 'tpope/vim-commentary' " comment easily
Plug 'BlakeWilliams/vim-pry' " ruby debugger
Plug 'vim-ruby/vim-ruby' " ruby integration - not expert
Plug 'vim-autoformat/vim-autoformat' " formatter?
Plug 'preservim/tagbar' " outliner?
call plug#end()
```
(Insert mode things to know)
- Navigate using h(left), j(down), k(up), l(right)
- Delete using x or dd (for entire line)
- U for undo
Comments
Post a Comment