Git Product home page Git Product logo

vimrc's Introduction

Vim Configuration

This is my personal vim configuration.

I personally don't like to work with IDEs and that's reflected in how minimal this configuration is.

Installation

Clone this repository to ~/.vim and create a symbolic link between the included vimrc file and ~/.vimrc.

On Linux/OS X:

git clone https://github.com/livcarman/vimrc.git ~/.vim
ln -s ~/.vim/vimrc ~/.vimrc

On Windows 10 (using PowerShell):

git clone https://github.com/livcarman/vimrc.git $HOME\.vim
cmd /c mklink /h $HOME\_vimrc $HOME\.vim\vimrc

The plugins are managed by vim-plug. Run :PlugInstall inside vim to install them. You can update them at any time with :PlugUpdate.

Font Installation

This configuration will attempt to set Hack as vim's font, falling back to the system's default fonts if Hack is not available. You should use a version of Hack that's been patched for Powerline, available here.

Hack is not a hard dependency -- this is purely cosmetic.

Windows Compatibility

Things more or less just work on Windows, but getting color schemes to work properly is a bit of a nightmare. I highly suggest that you use Git Bash to run vim, which is part of Git for Windows.

Colors will display properly in Git Bash, but will not in PowerShell, cmder, the standard command prompt, and all the other usual suspects..

Custom Commands & Keybindings

Keybinding Description
W Save the current buffer with sudo.
jk Equivalent to <Esc>
:ToggleWhitespace Turn trailing whitespace highlighting on/off.
:StripWhitespace Delete all trailing whitepsace in the current buffer.

vimrc's People

Contributors

livcarman avatar

Watchers

 avatar  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.