Code Monkey home page Code Monkey logo

belovim's Introduction

belovim

vimrc

v2.1.1

Prerequisites

Dependencies

  • python (MacOSX)
  • ack-grep
  • exeburant-ctags
  • libjson-xs-perl
  • vim-gtk (Fedora)

Configuring

Easier Install

Using Installer
  • belovim includes a files called install.sh just run to install all dependencies.
Manual install
  • Clone the repository and make a symbolic link of belovim folder and vimrc file to your home folder:
$ ln -s belovim/ $HOME/.vim
$ ln -s $HOME/vimrc $HOME/.vimrc
  • Installing all modules with:
$ vim +NeoBundleInstall +qall

Customs key mappings

Follow the leader!

  Leader key             => <Space>

Managing open files

  <leader> + y          => Copy to system clipboard
  <leader> + p          => Paste the system clipboard
  <leader> n            => Open a new tab
  <leader> .            => Move to next tab
  <leader> ,            => Move to previous tab
  <leader> q            => Close current tab
  <leader> l            => Alternates between the last buffer
  <leader> + w          => Quickly save file (:w)
  <leader> + x          => Quickly save and exit (:wq!)

Searching

  :Ack {pattern}        => Search for a pattern inside project
  <leader> + h          => Hide search highlights (hlsearch!)
  <leader> + /          => Clear search highlights

Editing

  :Tab /{pattern}       => Align the selected text with the chose character

Utils

  <leader> + nt          => Open/Close NERDTree
  <leader> + b           => Open/Close Tagbar (functions panel)
  <leader> + be          => Open/Close Buffer Explorer

Functions

  F5     => StripTrailingWhitespaces: Remove trailing spaces in the entire text.
  F4     => DelBlank: Delete double blank lines.
  F7     => Wipeout: Destroy all buffers that are not open in any tabs or windows.
  F12    => Remove numbers and formatters
  :w!!   => Save file with sudo privileges

belovim's People

Contributors

gigi418 avatar

Watchers

Robson Ramos Barreto 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.