![]() ![]() ![]() ![]() You can press m to move, delete, or create files. Press \ to open it at your project root, or Shift-\ to open it with the current file selected. nerdtree puts a directory tree on the left side of the screen.This config also has ,f mapped to the same function. ctrlp is a fuzzy file finder invoked by hitting Ctrl-P in normal mode and typing some part of the file name you'd like to open.vim-qargs ( stack overflow) is kind of like Cdo.Use cr followed 's' for snake_case, 'm' for MixedCase, 'c' for camelCase, or 'u' for UPPER_CASE (these work within the current word and don't take a motion). It converts between camelCase and snake_case.vim-blockle lets you change a do.end into a /g.test_server lets you use F9 thru F12 to run specs and report the output in vim.They can also be accessed with the leader key followed by the capital letters in the command, so :RAlphaBeta becomes ,rab. Others are :RAddParameter, :RInlineTemp, :RConvertPostConditional, :RExtractConstant, :RExtractLocalVariable, :RRenameLocalVariable, :RRenameInstanceVariable, :RExtractMethod. A favorite is :RExtractLet (aliased as ,rel) which takes a local variable in a spec and makes it into a let statement. vim-ruby-refactoring gives some IDE-like refactoring support to vim.vim-endwise automatically puts in ends for your if and do blocks.vim-rails lets gf and :Rextract work on partials, highlights Rails functions.Mind that this config has comma mapped as the leader key: Launch Academy VIM Tutorial (For this config) Below is a broad overview of the included plugins and what they do.Įach plugin is linked to its documentation page, when readng the docs keep in Plugins and configuration provide most of the functionality of the pivotal vimĬonfig. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |