GithubHelp home page GithubHelp logo

iivvoo / vim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vscodevim/vim

0.0 2.0 0.0 1.48 MB

Vim for Visual Studio Code

Home Page: http://aka.ms/vscodevim

License: MIT License

TypeScript 99.18% JavaScript 0.82%

vim's Introduction

Build Status Slack Status

Vim

VSCodeVim is a Visual Studio Code extension that provides Vim keybindings within Visual Studio Code.

Please report missing or buggy features on GitHub.

We've added a lot of functionality, but everyone uses Vim in their own special way, so let us know if we're missing your favorite obscure command. ๐Ÿ˜‰

We're super friendly people if you want to drop by and talk to us on our Slack channel!

Screenshot

Features We Support

  • All basic modes
  • Most typical commands, including command combinations like c3w, daw, 2dd, etc. (Check the roadmap for details.)
  • Command remapping (jj to esc)
  • Repeating actions with .
  • Incremental search with / and ? that works like Vim (doesn't just open the search box!)
  • Correct undo/redo state
  • Marks

Roadmap

See our Github Milestone page for an idea of what we plan to implement next.

Install

  1. Within Visual Studio Code, open the command palette (Ctrl-Shift-P / Cmd-Shift-P)
  2. Select Install Extension and search for 'vim' or run ext install vim

F.A.Q.

j, k and others don't repeat when I hold them down.

On OSX, the fix is to run this in the terminal. Be mindful as this is a global setting:

defaults write -g ApplePressAndHoldEnabled -bool false

How can I bind jj to <esc>?

  1. Add the following to settings.json (open the Command Pallete and search for "User Settings"):

       "vim.insertModeKeyBindings": [
            {
                "before": ["j", "j"],
                "after": ["<esc>"]
            }
       ]
    
  2. If you want to press jj in modes which are not Insert Mode and still have it trigger <esc>, do the following as well:

       "vim.otherModesKeyBindings": [
            {
                "before": ["j", "j"],
                "after": ["<esc>"]
            }
       ]
    

Be sure to restart VSCode after making these changes.

#### How can I enable `ctrl-c` as an alternative to `<esc>`?

Put the following in your `settings.json`:

```    "vim.useCtrlKeys": true```

and restart VSCode.

## Contributing

This project is maintained by a group of awesome [contributors](https://github.com/VSCodeVim/Vim/graphs/contributors) and contributions are extremely welcome :heart:. If you are having trouble thinking of how you can help, check out our [roadmap](ROADMAP.md).

For a quick tutorial on how to get started, see our [contributing guide](/.github/CONTRIBUTING.md).

## License

MIT, please see [License](LICENSE) for more information.

vim's People

Contributors

adriaanp avatar aminroosta avatar arussellk avatar ascandella avatar darrenweston avatar dpbackes avatar edthedev avatar frarees avatar frederickfogerty avatar geksilla avatar guillermooo avatar infogulch avatar johnfn avatar josephliccini avatar jpoon avatar khisakuni avatar kimitake avatar lindenk avatar liushuping avatar markrendle avatar paxxi avatar pjvds avatar positron avatar rebornix avatar roblourens avatar sharpoverride avatar snowiow avatar srepollock avatar tienshiao avatar waffle-iron 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.