"===========================" " " " Keyboard Configuration: " " " "===========================" " " Reference: (view plugin documentation for the full list of commands each offers) " , | (A) -> follows an emme term to expand it (ie: 'html:5') " | (N) -> toggle hexhighlight's hexcode to colours in :gui " cs'" | (N) -> replace surrounding '' with "" (other delims work) " cs" | (N) -> replace surrounding "" with tags " cst" | (N) -> replace any tag (ie: ) with quotes " ds | (N) -> removes delimiters " | (N) -> mark for multiple cursors, or select the next match " " Mappings: " | (A) -> go to the next open tab "

| (A) -> go to the previous open tab " | (V) -> indent a block in visual mode " | (V) -> unindent a block in visual mod " | (N) -> toggle the nerdtree sidebar " | (N) -> toggle the tagbar sidebar " | (A) -> toggle row/column highlighting " | (A) -> toggle line numbers " | (N) -> toggle line wrapping " | (A) -> toggle visible trailing whitespace " | (A) -> toggle collapsed/folded rows " | (N) -> format document and return to current line " | (N) -> format document and return to current line " " (git-fugitive) " G | (N) -> Git : view the menu " gc | (N) -> Gcommit : make a commit " gd | (N) -> Gdiff * : show differences since the last commit " ge | (N) -> Gedit : edit the git metadata " gl | (N) -> Glog : view the commit and differences log " gs | (N) -> Gstatus : view status info about the git repo " " (neocomplcache) " | (I) -> write the part common to all suggestions " | (I) -> cancle the match dialog (during suggestion) " | (N) -> undo the most recent match selection " " GVim Mappings: " | (A) -> toggle the menu " | (A) -> toggle the toolbar " | (A) -> toggle the scrollbar " " Aliases: " :mc | (N) -> :MultipleCursorsFind (multiple cursors via regex) " :wsudo | (N) -> :SudoWrite (write the file as root using sudo) " :rsudo | (N) -> :SudoRead (read a file as root using sudo) " " Notes: " *by the default key is: \ " "===========" " Mappings: " "===========" "tab and untabbing selected blocks vmap >gv vmap n ':tabn' nnoremap p ':tabp' "toggle the nerd tree sidebar nnoremap ':NERDTree' "toggle the tagbar sidebar nnoremap ':TagbarToggle' "toggle the cursor line and column nnoremap ':set cursorline! cursorcolumn!' "toggle the display of line numbers nnoremap ':set number!' "toggle line wrapping (and bottom bar if using the gui) if !has("gui_running") nnoremap ':set wrap!' else nnoremap ':set wrap! go'.'-+'[&wrap]."=b\r" endif "toggle the display of whitespace nnoremap ':set list!' "toggle folded code at foldpoints inoremap za nnoremap za onoremap za vnoremap zf "format document then return to current line nnoremap mzgg=G`z "remove trailing white space nnoremap ':FixWhitespace' "various git fugitive functions nnoremap G ':Git' nnoremap gc ':Gcommit' nnoremap gd ':Gdiff *' nnoremap ge ':Gedit' nnoremap gl ':Glog' nnoremap gs ':Gstatus' "neocomplcache suggestions: cancel, autocomplete, scroll up and scroll down inoremap pumvisible() ? neocomplcache#complete_common_string() : "\" inoremap pumvisible() ? neocomplcache#close_popup() : "\" inoremap neocomplcache#undo_completion() "compatibility hack for proper keyboard config in screen/tmux if $TERM =~ '^screen-256color' nmap OH imap OH nmap OF imap OF endif "================" " GVim Mappings: " "================" "map toggles for the menu, toolbar and scrollbar noremap ":if &go=~#'m'set go-=melseset go+=mendif" noremap ":if &go=~#'T'set go-=Telseset go+=Tendif" noremap ":if &go=~#'r'set go-=relseset go+=rendif" "enable middle-click paste while holding shift map map! "==========" " Aliases: " "==========" cabbrev mc MultipleCursorsFind cabbrev wsudo SudoWrite cabbrev rsudo SudoRead