Giter Site home page Giter Site logo

workflow's Introduction

Workflow configuration

Configuration for Tmux, Zsh, Vim, Powerline and plugins for working with javascript, typescript and angular.

*** UPDATE ***

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/

Debian prerequisite packages

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)

Nodejs

Refer to nodejs website

NPM prerequisite packages

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

Max user watches reached

If vim complains about this, add the following to /etc/sysctl.conf

fs.inotify.max_user_watches = 524288

Reload with

sysctl -p

TTF version of font

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

When pulling or cloning, include the submodules:

git clone --recurse-submodules https://github.com/mtbspace/workflow.git ~/workflow

If they are still missing, try:

git submodule update --init

Link to config files:

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

Add plugins to vim

Launch vim and run

:PluginInstall

Compile 'You Complete Me' vim plugin

cd ~/workflow/vim/.installed_plugins/YouCompleteMe
./install.py

Problems with python version mismatch? See ycm-core/YouCompleteMe#2136

JavaScript and TypeScript support

cd ~/workflow/vim/.installed_plugins/YouCompleteMe/third_party/ycmd
sudo npm install -g --prefix third_party/tsserver typescript

Revert shell by switching the shell back to bash

chsh (use /bin/bash)

Or in konsole settings

workflow's People

Contributors

mtbspace avatar

Stargazers

Robert avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.