install
- brew install neovim
- brew install lazygit
- brew install fzf
- brew install the_silver_searcher
- install nodejs >= 14.0 and install yarn: npm install yarn -g
- Clone this repo, copy all file at folder
dotfile
to$HOME/.config/nvim/
- Open
init.vim
at$HOME/.config/nvim/init.vim
, install Plugin by command::PlugInstall
- Install coc by yarn, go to
$HOME/.vim/plugged/coc.nvim
and type at command:yarn install
for install package of coc-settings - Install coc-setting dependency
- Open:
$HOME/.config/nvim/init.vim
by nvim and run bellow command::CocInstall coc-json coc-tsserver coc-go
- Open
init.vim
, changelet g:coc_config_home = '/Users/nquanq/.config/nvim'
=> your init.vim path
- Install
goimports
for auto format go source and import on thefly
-
Open terminal and run:
go install golang.org/x/tools/cmd/goimports@latest
go get golang.org/x/tools/gopls@latest
-
OR open
init.vim
and run:GoInstallBinaries
-
open .bashrc OR .zshrc, put export bellow :
export PATH="$PATH:$HOME/go/bin"
-
Error if present at vim open file
[coc.nvim]: dyld[11689]: Library not loaded: '/opt/homebrew/opt/icu4c/lib/libicudata.70.dylib'
Referenced from: '/opt/homebrew/Cellar/boost/1.79.0_1/lib/libboost_regex-mt.dylib'
Reason: tried: '/opt/homebrew/opt/icu4c/lib/libicudata.70.dylib' (no such file), '/usr/local/lib/libicudata.70.dylib' (no such file), '/usr/lib/libicudata.70.dylib' (no such file), '/opt/homebrew/Cellar/icu4c/71.1/lib/libicudata.70.dylib' (no such fil
e), '/usr/local/lib/libicudata.70.dylib' (no such file), '/usr/lib/libicudata.70.dylib' (no such file)
Watchman: /opt/homebrew/bin/watchman --no-pretty get-sockname returned with exit code=null, signal=SIGABRT, stderr= dyld[11689]: Library not loaded: '/opt/homebrew/opt/icu4c/lib/libicudata.70.dylib'
Referenced from: '/opt/homebrew/Cellar/boost/1.79.0_1/lib/libboost_regex-mt.dylib'
Reason: tried: '/opt/homebrew/opt/icu4c/lib/libicudata.70.dylib' (no such file), '/usr/local/lib/libicudata.70.dylib' (no such file), '/usr/lib/libicudata.70.dylib' (no such file), '/opt/homebrew/Cellar/icu4c/71.1/lib/libicudata.70.dylib' (no such fil
e), '/usr/local/lib/libicudata.70.dylib' (no such file), '/usr/lib/libicudata.70.dylib' (no such file)
Uncaught exception: /opt/homebrew/bin/watchman --no-pretty get-sockname returned with exit code=null, signal=SIGABRT, stderr= dyld[11689]: Library not loaded: '/opt/homebrew/opt/icu4c/lib/libicudata.70.dylib'
Referenced from: '/opt/homebrew/Cellar/boost/1.79.0_1/lib/libboost_regex-mt.dylib'
Reason: tried: '/opt/homebrew/opt/icu4c/lib/libicudata.70.dylib' (no such file), '/usr/local/lib/libicudata.70.dylib' (no such file), '/usr/lib/libicudata.70.dylib' (no such file), '/opt/homebrew/Cellar/icu4c/71.1/lib/libicudata.70.dylib' (no such fil
e), '/usr/local/lib/libicudata.70.dylib' (no such file), '/usr/lib/libicudata.70.dylib' (no such file)
How to resolved: add to .bashrc OR .zshrc as bellow
export PATH="/opt/homebrew/opt/icu4c/bin:$PATH"
export PATH="/opt/homebrew/opt/icu4c/sbin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/icu4c/lib"
export CPPFLAGS="-I/opt/homebrew/opt/icu4c/include"
export PKG_CONFIG_PATH="/opt/homebrew/opt/icu4c/lib/pkgconfig"
- Install tig explorer
- brew install autoconf automake libtool
- clone repor install tig
https://jonas.github.io/tig/INSTALL.html
: - brew install tig
- brew install pkg-config
- make configure
- ./configure
- make
- make install
Error:
INSTALL install: chmod 755 /usr/local/bin: Operation not permitted
src/tig -> /usr/local/bin
install: /usr/local/bin/tig: Permission denied
make: [install] Error 71
Resolved: sudo make install
-
Install language server for ruby development
- gem install solargraph
- Plug 'neoclide/coc-solargraph'
- Plug 'vim-ruby/vim-ruby'
- :CocInstall coc-solargraph
-
NestJs config
- :CocInstall coc-tsserver coc-eslint coc-json coc-prettier coc-css
- Vue development
- :CocInstall @yaegassy/coc-volar-tools
- :CocInstall @yaegassy/coc-volar
- :CocInstall [email protected]