![]() ![]() Open MacVim inside the terminal = mvim -v.Git commands, open in buffer = :Gcommit, :Gstatus, :Gdiff, :Gblame.Git commands, open in background temporarily = :Git, use % to pass in current file.Create new file in NERD Tree = m, then press a.Remove trailing whitespace = :StripWhitespace.Search current directory =, select "." to go up a directory, to refresh.Live multiline cursors = Create vertical visual selection, then press.Multiple cursors = when on a word to start a cursor at the next matching word ( to go back, to skip).Search for current word in project = \vv.Replace surrounding character = cs (example, change double to single quotes: cs"').Wrap line = put cursor on line, type yss then what you want to wrap (works with HTML tags).Jonathan Filip for the Lucius color scheme.Tim Pope for Pathogen and many other great Vim treats.Those scripts should be installed in your ~/Scripts/ directory. The html transformation commands at the bottom of the vimrc file require scripts you can find in my Scripts repository. vim-fugitive – Git wrapper, adds current branch to Airline status bar.vim-less – Syntax highlighting for Less, requires vim-css3-syntax.vim-css3-syntax – CSS3
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |