GithubHelp home page GithubHelp logo

renato2099 / .home Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lucasbraun/.home

0.0 2.0 0.0 900 KB

My settings for zsh, dot files and so on ...

Shell 44.58% Python 10.31% Makefile 0.74% Ruby 14.98% Perl 20.18% PHP 0.05% Vim Script 9.16%

.home's Introduction

This is my home dir, settings for zsh, dot files and so on …

Installation

Installation is very simple, you just have to clone this repository to your home dir:

git clone git://github.com/lucasbraun/.home.git $HOME/.home

cd into the newly created directory Clone to necessary submodules:

cd $HOME/.home && git submodule update --init

cd into the newly created directory and run make install:

cd $HOME/.home && make install

.home will then create symlinks in your home dir to adjust $PATH as well as preferences for different tools.

In order to install all, plugins, open vim and enter
:PluginInstall

This will usually work for OS X – for other systems (and may be even OS X) you might want to make sure that YCM is compiled. For instance, for Ubuntu, you need to execute the following commands:

cd $HOME/.vim/bundle/YouCompleteMe
./install.py --clang-completer

Should this fail because the script was unable to find the python libraries, checkout the following post for help:
http://stackoverflow.com/questions/37277976/vim-youcomplete-me-unable-to-find-an-appropriate-python-library

Another problem could be that you do not have installed proper python command. For this, install the package vim-gnome-py2 or a similar one.

After the installation completed, run :PluginInstall again.

Additional details for YCM can be found on:
https://github.com/Valloric/YouCompleteMe

Auto-Completion for Haskell

If you want to use auto-completion for Haskel, make sure you have ghc-mod, codex, hasktags, and hoogle installed, if not do:
stack install ghc-mod codex hasktags hoogle

Also make sure, ghc-mod is on your path. On Ubuntu, for example, this means to add the following lines to your .bashrc and .bash_profile if not already there:
export PATH=$PATH:$HOME/.local/bin

To make the Haskel-Plugin work, execute:
cd $HOME/.vim/bundle/vimproc/
make

To use the Plugin you can run, commands like the following within VIM:
:GhcModCheck
:GhcModLint

For more information about these helper functions go to:
https://github.com/eagletmt/ghcmod-vim

If you have a cabal project, you can execute
codex update
This will create a set of tags (codex.tags) that are later used by VIM to not only show auto completion, but even types

Latex Support

As built now, you can also use VIM for latex files. You can commands like
\ll -- for building
zo -- for opening a toggled section
zc -- for closing a toggled section
vipgq -- for auto alignment
z= -- for error correction

In order to make GVIM work together well with a pdf viewer, install Okular and add the following line to its Editor Options (Custom Text Editor):
gvim --servername GVIM --remote +%l %f

From now on you can use “\ls” to jump from GVIM to Okular and “Shift + Mouse” for vice-versa.

.home's People

Contributors

lucasbraun avatar renato2099 avatar

Watchers

 avatar  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.