Engineering tools

Tools that I most using

iTerm2 and Oh-my-zsh

iterm: https://www.iterm2.com/

Oh-my-zsh: https://github.com/robbyrussell/oh-my-zsh

Theme: https://github.com/denysdovhan/spaceship-prompt

Octotree (Github tree plugin): https://github.com/ovity/octotree

Auto-complete plugin for oh-my-zsh: https://github.com/zsh-users/zsh-autosuggestions

~/.zshrc
alias git='LANG=en_GB git'
alias ll='ls -la'
plugins=(zsh-autosuggestions git kubectl)

NEOVIM

Installation

# Install vim
$ pip install neovim
# Install vim-plug
$ curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Install Plugin

$ mkdir ~/.config/nvim
$ nvim init.vim
cal plug#begin('~/.config/nvim/bundle')
Plug 'scrooloose/nerdtree'
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'tpope/vim-fugitive'
call plug#end()
syntax enable
set number
set cursorline
hi CursorLine term=bold cterm=bold guibg=Grey40
" vim airline config
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#branch#enabled = 1
let g:airline_powerline_fonts = 1
let g:airline_theme='luna'
" deoplete config
let g:deoplete#enable_at_startup = 1
" map the <tab> to autocomplete
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
" config python for vim
let g:python3_host_prog = '/Users/canhtran/anaconda3/bin/python'
" nerdtree
map <C-n> :NERDTreeToggle<CR>
# Inside vim
:PlugInstall