Skip to content

strycore/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Various config files for my Linux boxes

Installation

Run ./install.sh

To install vim plugins, run:

vim-plug-init
vim-plug-update

Requirements

A few packages are required for a fully working installation, get them with:

sudo apt-get install build-essential cmake python-dev

This setup uses some node tools, the recommended way of installing node.js is through nvm. The zhrc file will assume that the latest version of node is installed and aliased to 'default'. Using nvm instead of a system wide install of node allows to install any version on any distribution without having to add software repositories and, more importantly, allows to install global node packages without requiring root access (and therefore without running global node scripts as root):

# Download and install nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
# Source nvm script to avoid restarting a shell
. ~/.nvm/nvm.sh
# Install latest version of node (v8.4.0 as of this writing)
nvm install v8.4.0
# Alias this version of node to default
nvm alias default v8.4.0

Installing python dependencies is done with pip. It is recommended not to install pip with your distribution's package manager to keep a fresh version of the program. One easy way to install the latest version of pip is with easy_install:

# easy_install is not installed on a base Ubuntu system
sudo apt-get install python-setuptools
# install pip
sudo easy_install pip

This config ships with YouCompleteMe plugin which requires cmake to be installed on your system. YouCompleteMe should be compiled automatically by vim-plug. If that fails, you can compile it manually:

sudo apt-get install cmake
cd ~/.vim/plugged/YouCompleteMe
./install.sh --clang-completer

Additional programs are required for syntax checking:

  • flake8, validates python code:

    sudo pip install flake8
    
  • eslint, validates ecmascript code:

    npm install -g eslint
    
  • rstcheck, validate RestructuredText files:

    sudo pip install rstcheck
    

Depending on the project being worked on, some additional software have to be installed:

npm install -g gulp
npm install -g bower
sudo pip install virtualenvwrapper
sudo apt-get install silversearcher-ag
sudo apt-get install exubrant-ctags

Tilix configuration

Tilix's configuration is saved in dconf, to save the config:

dconf dump /com/gexperts/Tilix/ > tilix.dconf

and to restore:

dconf load /com/gexperts/Tilix/ < tilix.dconf

About

My collection of configuration files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •