Skip to content

A ready to use minimal Vim (Sublime Text -like) .vimrc configuration

Notifications You must be signed in to change notification settings

tybor/vim-sublime

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vim sublime

A ready to use minimal Vim (Sublime Text -like) .vimrc configuration

( Play Video )

Features included and Shortcuts

vim-sublime includes Vundle package manager and some external plugins.

The shortcuts should work in vim (terminal with 256 colors) on Linux, Mac OS X and Windows (I'm joking, I don't know).

Everywhere

  • ctrl + p - Open other files in the folder
  • ctrl + f - Find text in the document
  • ctrl + z - Cancel
  • ctrl + y - Redo
  • F1 - Snippets

Selection - after (esc + v) or (+ v)

  • ctrl + c - Copy
  • ctrl + x - Cut
  • ctrl + p - Paste
  • ctrl + m - Comment / Decomment
  • ctrl + w + <tag> - <tag>Wrap text</tag>
  • ⇥ Tab - Indent text
  • ⇥ Tab + - Indent text

Tabs

  • ctrl + t - New tab
  • ctrl + k - Close tab
  • ctrl + b - Previous tab
  • ctrl + n - Next tab

Installation

Install Vundle

git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle

Install vim-sublime .vimrc

curl https://raw.github.com/grigio/vim-sublime/master/vimrc > $HOME/.vimrc

Then open vim and run

:BundleInstall

(Don't worry about the 'Monokai' error), quit and enter in vim again to apply the changes

You can also add machine specific config to ~/.local.vim

Author

Luigi Maselli - http://grigio.org

If You use Macvim see also subvim, another Sublime Text for VIM project

About

A ready to use minimal Vim (Sublime Text -like) .vimrc configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published