Skip to content

isaacchiang/dotfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

186 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

                                                                    ___           ___
                                         ___           ___         /\_ \         /\_ \ (R)
sssssssssssssamuelolololololololol      /\_ \         /\_ \     ___\//\ \     ___\//\ \
  ____    __      ___ ___   __  __    __\//\ \     ___\//\ \   / __`\\ \ \   / __`\\ \ \
 /',__\ /'__`\  /' __` __`\/\ \/\ \ /'__`\\ \ \   / __`\\ \ \ /\ \L\ \\_\ \_/\ \L\ \\_\ \_
/\__, `\\ \L\.\_/\ \/\ \/\ \ \ \_\ \\  __/ \_\ \_/\ \L\ \\_\ \\ \____//\____\ \____//\____\
\/\____/ \__/.\_\ \_\ \_\ \_\ \____/ \____\/\____\ \____//\____\/___/ \/____/\/___/ \/____/
 \/___/ \/__/\/_/\/_/\/_/\/_/\/___/ \/____/\/____/\/___/ \/____/ by samuelololol@gmail.com

#HOW TO INSTALL

  1. Clone the source file to ur home directory from github:

     # git clone git://github.com/samuelololol/dotfiles.git
    
  2. Select dotfiles, delete(or backup) old ones and softlink to ~/dotfiles

     # rm ~/.gntrc     && ln -s dotfiles/.gntrc     ~/.gntrc  
     # rm ~/.screenrc  && ln -s dotfiles/.screenrc  ~/.screenrc  
     # rm ~/.tmux.conf && ln -s dotfiles/.tmux.conf ~/.tmux.conf  
     # rm ~/.vimrc     && ln -s dotfiles/.vimrc     ~/.vimrc  
     # rm ~/.vim -rf   && ln -s dotfiles/.vim       ~/.vim  
    
     zsh
     # rm ~/.zshrc     && ln -s dotfiles/.zshrc     ~/.zshrc
     # rm ~/.zsh -rf   && ln -s dotfiles/.zsh       ~/.zsh
    
  3. Update the sources in dotfiles

     # cd dotfiles  
     # git pull
     # ./commands/submod_sync.sh
    

#NOTICE

LanguageTool installation

  • Requirements:

    (gentoo)

    = dev-java/sun-jdk-1.604
    dev-java/ant
    dev-vcs/cvs

  • Use the following commands

      # cd ~/dotfiles  
      # ./commands/build_languagetool.sh
    

ydict installation

  • Requirement:

    python

  • Use the following commands

      # cd ~/dotfiles
      # ./commands/update_ydict.sh 
    

zsh plugin: oh-my-zsh

Theme: https://github.com/robbyrussell/oh-my-zsh/wiki/themes 

#INFO

Installed ViM Plugins

  • auto-pairs:

    Insert or delete brackets, parens, quotes in pair.

  • crefvim

    C reference support for ViM(Howto is described in my blog)

  • doxygentoolkit

    Simplify Doxygen documentation in C, C++, Python.

  • LanguageTool

    LanguageTool : Grammar checker for English, French, German (etc.) in Vim
    (require java-jdk support)
    Project Homepage: http://www.languagetool.org/
    Project CVS:

               cvs -z3 \   
               -d:pserver:anonymous@languagetool.cvs.sourceforge.net:/cvsroot/languagetool \   
               co -P JLanguageTool   
    
  • matchit

    Extended % matching for HTML, LaTeX, and many other languages

  • neocomplcache

    Ultimate auto-completion system for Vim

  • neocomplcache-snippets-complete

    neocomplcache complete snippets source

  • nerdtree:

    A tree explorer plugin for navigating the filesystem

  • surround:

    Delete/change/add parentheses/quotes/XML-tags/much more with ease

  • sudo

    Allows one to edit a file with prevledges from an unprivledged session.

  • tagbar

    Vim plugin that displays tags in a window, ordered by class etc.

  • valgrind

    Navigate in the output of the memory checker valgrind

  • EasyMotion

    Vim motions on speed!

  • vim-pathogen

    pathogen.vim: manage your runtimepath

FORKED PLUGIN

(with tuning)

  • taglist-local

    Source code browser (supports C/C++, java, perl, python, tcl, sql, php, etc) (Switch the Taglist Position to right and save locally as the support for ViM)

      edit: 
          embedded taglist in vim folder
    
  • trinity-local

    Build the trinity of srcexpl, taglist, NERD_tree to be a good IDE. (replace the Taglist function with Tagbar, switch the position of NERDTree and Taglist/Tagbar and adjust the Taglist/Tagbar window width)

      edit: 
          replace taglist with tagbar
          disable local searching
    
  • srcexpl-local

    A Source code Explorer which works like the context window of "Source Insight". (Disable the direct preview of one tag result)

      edit:
          disable local searching
          disable the preview declaration
    

Vim Personal Features

  • Cscope/ctags meta files generating command

      :CSCTgenC cscope  "generating cscope.out and processing the add into vim
      :CSCTgenC ctags   "generation ctags for taglist/tagbar
      :CSCTgenC clean   "remove cscope/ctags files
    
  • Switch Window

      gw/gW
    
  • Move tab to next as an window

      gmt/gmT
    
  • Key-binding

      NERDTree:           <F2>
      Taglist:            <F3>
      Tagbar:             <F4>
      Update file:        <F5> (update and go the bottom of the file <C-\><C-R>)
      Scroll bind/unbind: <F6>
      Set paste/nopaste:  <F7>
      Update NERDTree list: <Leader><r>
      Open/Close QuickFix:  <Leader><q>
      Yahoo Dictionary: <C-K> (cursor on the word, or virtual mode selected)
    

Screen Personal Features

  • Key-binding

      window-kill    <F9>
      window-create  <F10>
      prev-window    <F11>
      next-window    <F12>
    

tmux Personal Features

  • Key-binding

      prefix key       <C-a>
      kill-pane        <F9>
      new-window       <F10>
      previous-window  <F11>
      next-window      <F12>
    
      split pane            <C-a>s
      split pane vertically <C-a>v
    
      copy mode  <C-[>
      select     v
      copy(yank) y
      paste      <C-]>
    

About

my dot-files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 99.3%
  • Other 0.7%