Giter VIP home page Giter VIP logo

eddie-vim's Introduction

My own Vim configurations and plugins which I used. Here is my current screenshot of vim.

Primary Vim relative settings are in plugin/settings/Vimrc.vim file, and isolate other plugins' settings in plugin/settings directory.

Usage

Install:

  1. BACKUP your .vim directory and .vimrc first.(IMPORTANT!)

  2. cd ~ to change directory to your home directory.

  3. copy files to your home directory:

     git clone git://github.com/kaochenlong/eddie-vim.git
    
  4. cd to eddie-vim directory and execute the update.sh to get latest version modules:

     cd eddie-vim
     ./update.sh
    
  5. make a symbolic link .vim to eddie-vim that you just cloned, or just rename it to .vim also be fine:

     ln -s eddie-vim .vim
    
  6. link the vimrc to

     ln -s .vim/vimrc .vimrc
    
  7. if you're still not familiar with the movement in vim by HJKL, I've made a easier version:

     ln -s .vim/easy-vimrc .vimrc
    
  8. if you use GUI version VIM, such as MacVim or GVim, you can also link to .gvimrc:

     ln -s eddie-vim/gvimrc .gvimrc
    
  9. if you use Powerline under Ubuntu or something which can not show the correct icons/fonts on the bottom, you can check this link, it looks pretty nice.

  10. you may need to install ack first if you use ack.vim.

Update:

just change directory to ~/.vim and execute ./update.sh script, it should do all the updates automatically.

Features:

  1. Resize splited windows automatically, so that you get a bigger editing room if you're working with a smaller screen. (stole from Gary Bernhardt)

  2. Toggle between working mode and presentation mode by <leader>z, but only work in GUI version Vim. You can check here to see how it looks like. (stole from Mike Skalnik)

  3. some usually used key mappings in normal mode:

    a. hit <ctrl>w p will launch a quick window to match keywords from your current working directory, not only file name, but also path name. and <ctrl>w u will match from your MRU(Mostly Recent Used) files, which is also frequently used.

    b. hit <leader> twice to toggle comment on and off.

    c. <tab> and <shift><tab> to increase and decrease the syntax identation.

    d. <F5> to run Ruby and Python scripts, and compile CoffeeScript to Javascript(You have to install CoffeeScript first, of course).

    e. <F7> to switch to previous tab, and <F8> to the next tab.

    f. <leader>v to open .vimrc in a new tab.

    g. <leader>0 to edit or create README.md in current working directory.

FAQ

if you can not found ctags command, just find your ctags path and replace my settings in plugin/settings/Ctags.vim file:

let Tlist_Ctags_Cmd = '/your/path/to/ctags'

and Exuberant Ctags is recommended.

Contact

any question or comment, feel free to let me know :)

Eddie Kao ([email protected])

eddie-vim's People

Contributors

kaochenlong avatar

Stargazers

 avatar

Watchers

 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.