My path to Linux exploration

Source: Internet
Author: User
Tags git clone

The path to LINUX exploration

The path to LINUX discovery table of Contents
    • 1 Preface
    • 2 configuration
      • 2.1 Vim
      • 2.2 Emacs
      • 2.3 Input Method Configuration
      • 2.4 Bash
      • 2.5 Ag and Percol
      • 2.6 git
      • 2.7 GitHub
      • 2.8 Tmux
      • 2.9 Misc (Miscellaneous)
    • 3 later words
1Objective
    • Open source, share, communicate, cooperate
    • 工欲善其事, its prerequisite
    • Free use of other people's things, you will also spontaneously share their own, this is the basis of mutual assistance and motivation.
    • Finally determined to come to the Linux world, as described in the UNIX programming Arts:
      The open source community has a rigorous suite of tools that work together to become a powerful system for leveraging tools to automate everything possible
    • Now that you're here, you'll have to use the tools on Linux to really improve your daily work efficiency (using Ubuntu 14.04LTS).
2Configuration2.1Vim
    • Before coming to Linux has been basically familiar with the operation of Vim (win on the Gvim,linux or like Gvim, the interface beautiful point).
    • Lazy to explore their own, directly on the amix of cattle man configuration.
    • Familiar with the configuration of Amix, directly read through his configuration file, I think this is the quickest way.
2.2Emacs
  • The benefit of learning Emacs is not repeated, online a lot of articles. In particular, you will find that keyboard shortcuts are basically consistent with the shell, and that everyday work can be easily done with Emacs.
  • No contact with Emacs and interested in the recommendation read this article: A year to become a master of Emacs
  • I also read this article (and of course many other articles) and learned a lot about Emacs. To Linux before, has been on win on the back and forth for more than a year (but always feel win on the use of the wrong), has mastered the method of using Emacs, learned elisp, read the article recommended writing GNU Emacs Extensions, understand the basic configuration.
  • Recommend a few books (in fact, it is also recommended by the great gods on the internet, basically e-text)
    Emacs Pocket Referencegnu Emacs 23.3 Lisp Reference Manual (Free software Foundation,) GNU Emacs manualwriting GNU Ema CS Extensions
  • Refer to the configuration of Three Forks on GitHub:
    • Configuration of the Redguardtoo
    • Configuration of the Purcell
    • Configuration of the Spacemacs
  • My Emacs configuration has not yet been tested for ' git clone ' and can be used for reference only
    • The basic ' git clone ' configuration is Purcell, then, refer to the other two configurations and make some changes:
      • Added El-get, package installation tool (some installation packages are not found on Elpa)
      • Added support for evil-*, the main reference to Redguardtoo article recommendations, (Specific can be onlookers on my github) include:
        Evil-leader:add leader Key.evil-surround.evil-nerd-commenter:comment.evil-matchit:match Praredit.evil-visualstar.evil-escape:escape other state to normal state.evil-snipe:enable 2-char Find.evil-tutor:evi L Tutor.
      • Added full support for the Python development environment (development to use), refer to this article configuring Emacs as a python IDE
        Jedi:performed as Python backend.ein:communicate with Ipython Notebook.pep8 and Pylint:style Format.pylookup:doc s Earch.
      • Other of
      • Get rid of some initialization configuration (not available temporarily)
      • Add my own shortcuts to use the habit
    • Of course, this process is not smooth sailing, to constantly try, debug, conflict resolution
2.3Input Method Configuration
    • With the use of Ubuntu IBUs Input method, Chinese input with the Google-pinyin (total feel not good, very general), heard that there is Sogou input method (not tried).
    • A problem with headaches
      • In the GUI environment of Emacs can not pop the Chinese input box, input not Chinese, online search a lot of useless (temporarily first put on hold, not so much time, have free again toss),
      • However, Emacs can be entered in Chinese under terminal (this article is written in Chinese terminal below)
      • In addition, Gvim can be entered in Chinese, alas, do not understand (expert to point advice)
2.4Bash
  • A year ago has been dragonfly water like playing Linux, but also played a bit of a foundation.
  • Read the following books (the key is to continue to practice)
    Brother Bird's Linux private dish (long time ago) Shell Inroducition, (Chinese version) Linux authoritative guide Unix Power Tools ...
  • Some of my. BASHRC configuration, pure personal preference.
    function LPL() {ls-al | Percol--query=$1}function LG(){Local Lspath=$1Local Grepword=$2LS $Lspath-alf | Grep-i $Grepword}function CG() {Cat $1|grep $2}function BK(){# backup given file or directory# Add. BK to the end.Cp-r $1$(basename$1/). BK}# src for sourcealias src=source# pushd and popd aliasalias PSD=' pushd 'alias pod=' popd '# CDsalias CD1=' CD. /'alias CD2=' CD. /.. /'alias CD3=' CD. /.. /.. /'# add $HOME to the current directory search pathCdpath=:$HOME:/media/ExportCdpath# Emacsalias em=' Emacsclient 'alias EMT=' Emacsclient-t 'alias EMC=' Emacsclient-c '
  • Some other trivial configuration, purely for the sake of ~ lazy ~, mainly in the online east to find the west.
2.5Ag and Percol
    • AG, highly recommended, very useful tool, my other article ' Python excellent article index ', which is extracted from bookmarks by AG and Emacs with Emacs and Vim plug-ins, really useful.
    • Percol, is recommended in the Redguardtoo article, can do dynamic filtering. (It is recommended that you want to play Emacs carefully to read his article several times, anyway, I have seen it more than 10 times)
2.6Git
    • This needless to say, coder must, read a book, Pro git, specific or to rely on practice.
    • In addition to managing code, you can manage a lot of everyday work, and my blog post is managed with Git.
2.7GitHub
    • Internet times must, storage project source code, not much to say.
    • My github has just been set up, and now it's just a few small projects, practiced hand, content is not rich enough, will be constantly updated.
2.8Tmux
    • A handy shell session management tool and remote login tool.
2.9Misc (Miscellaneous)
    • Linux has a lot of tools and instructions to learn, such as Awk,grep,chmod, ..., the most estimated number of these three instructions.
      Man, info, [command]-H (--help)
    • Built a ~/scrach/folder, usually those things that are readily available directly to the inside of the lost, and then the fun to organize out
    • Built some ~/.* files, like ~/.linux-command, and wrote a script.
      stcmd.sh Echo $1 >> ~/.linux-command
    • A good command will be thrown in, you can make a memo, and then clean up
    • Built a. SH publish environment, manage my own scripts, repeat trivial, can automate things in. sh
3After words
    • Originally Blog Park Blog is directly support HTML, so you can use Emacs Org-mode to write a blog, and then automatically generated HTML, convenient many Ah, just do not support JS code, so also have to manually delete (PS: This article is written with Org-mode).
    • It's not easy to explore Linux, and sometimes it's hard to get caught up in, but it's okay to be immune to e-text.
    • If we can use Linux to speed up productivity, then you can save time to accompany family, accompany friends, experience life, why not.
    • The process of exploration itself is full of fun.
    • Finally, the phrase: share, communicate.
    • (Thank you for reading, ALPA version, there are errors and omissions in the place to welcome correction, subsequent updates)

date:2015-07-02t21:10+0800

Author: Walker knows

ORG version 7.9.3f with Emacs version 24

Validate XHTML 1.0

My path to Linux exploration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.