To use this configuration correctly, you need to install this cli programms gcc, cmake, clang, python, pip, powerline, cpplint, php-cli, phpcs, nodejs, npm, jslint
Getting GCC
To make sure you do not have any problems using auto-complete for C/C++ you will need to install GCC and CMAKE, you will need to
provide some information inside the .emacs
files.
$ sudo apt-get install -y gcc
or
# yum install gcc
$ sudo apt-get install -y cmake
or
# yum install cmake
To get a good result of C/C++ mode you will need the to install CPPLINT. Its C/C++ linter
First you will need to install Python. Check it there Then install pip packagage manager here
You can now proceed to the installation of cpplint
$ sudo pip install --global cpplint
To use emacs flymake-php linter, you will need to install PHPCS. I'm currently using PSR-2 normes but you can change is it please to you.
If you want to install it manually, may you have a good luck, check it there ^_^
else juste do (I'm using PHP5.6 by the way)
$ sudo apt-get update && sudo apt-get install -y php5-cli
or
# yum install php5-cli
Then
$ sudo apt-get install -y php-codesniffer
or
# yum install php-codesniffer
To use flymake-jslint for NodeJS or Javascript linter you will need to install these package named in the subtitles before. Check your system requirement there
Then install jslint globally
$ sudo npm install --global jslint
Make sure you change you shell default font to powerline fonts. Get all of them here
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Nickael/emacs.dotfile/master/install.sh)"
sh -c "$(wget https://raw.githubusercontent.com/Nickael/emacs.dotfile/master/install.sh -O -)"
- You must not forget to add the c-headers path in the
.emacs
file - Change these line
shell (setq login "rakoto_n")
,shell (setq name "RAKOTONINDRINA Nickaël")
in.emacs.d/std_comment
as your heart content I'm using this for my school. - Other thing to do, got to line number 36 then change the domaine name to yours, mine is for my school so be it.