All Projects → joom → vim-starter

joom / vim-starter

Licence: other
Quick starter kit for Vim beginners.

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to vim-starter

Space Vim
🍀 Lean & mean spacemacs-ish Vim distribution
Stars: ✭ 2,785 (+4251.56%)
Mutual labels:  vim-beginners

vim-starter

Quick starter kit for Vim beginners, including features from modern editors that you might miss when you switch to Vim.

Installation

After you backup your ~/.vimrc file and ~/.vim/ folder (this is not important if you haven't used Vim before), you can install this by running this bash line, press enter if you see any error messages:

echo "runtime vimrc" > ~/.vimrc && mkdir ~/.vim && cd ~/.vim && git clone https://github.com/joom/vim-starter.git . && git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim && vim +PluginInstall

You're all set! Enjoy!

Shortcuts

<Leader> is defined as the \ key by default. C-x means Control + x and M-x means Meta-x. (alt or option in modern keyboards) S-x means Shift-x.

  • <Leader>y: Copy to system clipboard
  • <Leader>d: Cut to system clipboard
  • <Leader>p: Paste below, from system clipboard
  • <Leader>P: Paste above, from system clipboard
  • <F5><F5>: Toggle paste mode. (Not important if you're using the shortcuts above.)
  • <F5>: Reload Vim settings
  • <Leader>n: New empty tab.
  • <Space>x: Remove search highlight.
  • <Leader>]: Open/Close NERDTree
  • <Leader>[ : Navigate between split views
  • <Tab>: Buffer list (Normal Mode)
  • C-p: Fuzzy finder
  • <Leader>` : Swap the positions of the open splits
  • <Space>w: Next sub-word in a camel cased word
  • <Space>b: Previous sub-word in a camel cased word
  • <Space>e: End of sub-word in a camel cased word
  • C-n: Add the next occurrence of the selection to the multiple cursor selection

Other functions should work as expected. You can define key mappings for your own usage by editing the file ~/.vim/vimrc, and you are certainly encouraged to do so. That's how you can get the most out of Vim.

If you're looking for a quick tutorial to learn Vim, "Learn Vim Progressively" is a great one.

If copying and pasting with the system clipboard are not working properly, check this page.

Screenshots

Screenshot 1

Screenshot 2

Screenshot 3

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].