Configuration for Tmux, Zsh, Vim, Powerline and plugins for working with javascript, typescript and angular.
YouCompleteMe needs a later version of vim than what is available in debian buster. Install vim by building from source, with python 3 support
See https://blog.siddharthkannan.in/vim/2019/08/31/compiling-vim-with-python/
git
tmux
zsh - set as default shell with chsh (use /usr/bin/zsh)
vim-nox
powerline-gitstatus (also install powerline and fonts-powerline)
build-essential
cmake
xfonts-terminus (personal choice)
Refer to nodejs website
Install globally
sudo npm install eslint eslint-plugin-import eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-standard -g
sudo npm install typescript -g
sudo npm install @angular/cli -g
If vim complains about this, add the following to /etc/sysctl.conf
fs.inotify.max_user_watches = 524288
Reload with
sysctl -p
Might be needed if xfonts-terminus not working correctly: https://files.ax86.net/terminus-ttf/files/4.47.0/terminus-ttf-4.47.0.zip
git clone --recurse-submodules https://github.com/mtbspace/workflow.git ~/workflow
If they are still missing, try:
git submodule update --init
ln -s -f ~/workflow/tmux/tmux.conf ~/.tmux.conf
ln -s -f ~/workflow/zsh/zshrc.sh ~/.zshrc
ln -s -f ~/workflow/vim/vimrc.vim ~/.vimrc
ln -s -f ~/workflow/powerline ~/.config
Launch vim and run
:PluginInstall
cd ~/workflow/vim/.installed_plugins/YouCompleteMe
./install.py
Problems with python version mismatch? See ycm-core/YouCompleteMe#2136
cd ~/workflow/vim/.installed_plugins/YouCompleteMe/third_party/ycmd
sudo npm install -g --prefix third_party/tsserver typescript
chsh (use /bin/bash)
Or in konsole settings