GithubHelp home page GithubHelp logo

vim-config's Introduction

Installation

$ brew install vim
$ git clone https://github.com/oliverxchen/vim-config.git ~/vim-config
$ cd ~/vim-config
$ ./setup_vim.sh

Markdown preview installation

$ brew install grip

Usage

  • Slime: open a new pane in terminal along with vim, start a named screen session (eg screen -S vim_out), back in vim select text and <Ctrl-cc> will send text to the screen session. If you don't select text, the whole paragraph will be sent.
  • CtrlP: <Ctrl-p> for a fuzzy file finder.
  • NERDTree: to open a folder explorer, :NERDTree within vim.
  • Markdown preview: When editing a markdown file, <Ctrl-m>. Preview will appear in Chrome. <Ctrl-m> to refresh.
  • There will be an error on startup of vim 8 if you don't follow these steps:
    • Find out what python version vim is using: :pythonx import sys; print(sys.path)
    • Note that path. As of this writing it was: /opt/homebrew/opt/[email protected]/.
    • In a terminal, pip install pynvim to that python version (which is not the global python version):
    PATH="/opt/homebrew/opt/[email protected]/bin:$PATH" pip3 install pynvim

vim-config's People

Contributors

j1z0 avatar oliverxchen avatar v-oliver-chen avatar hstarmans 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.