"===========================" " " " Keyboard Configuration: " " " " Maintainer: Prurigro " " License: MIT " " " "===========================" " " Note: " *The default key is: \ " " Reference: (view plugin documentation for the full list of commands each offers) " q | (N) -> toggle display of the quickfix list " l | (N) -> toggle display of the location list " cs'" | (N) -> change surrounding '' to "" (any delimiters work) " cs" | (N) -> change surrounding "" to the tag: " cst" | (N) -> change any surrounding tag to "" " ds" | (N) -> delete surrounding "" " " Mappings: " (mouse) " | (A) -> scroll right " | (A) -> scroll left " | (A) -> unbind this from vim so xorg can paste " " (tabs) " | (A) -> open a new tab " | (A) -> go to the next open tab " | (A) -> go to the previous open tab " " (toggles) " | (N) -> toggle folds " | (A) -> toggle line numbers " | (A) -> toggle row/column highlighting " | (A) -> toggle line wrapping " | (A) -> toggle all folds " | (A) -> toggle spell check " | (A) -> toggle syntax checking " | (A) -> toggle the gundo undo history sidebar " | (A) -> toggle the tagbar sidebar " | (A) -> toggle the error list " `` | (N) -> toggle the filer explorer sidebar " " (gvim toggles) " | (A) -> toggle the menu " | (A) -> toggle the toolbar " | (A) -> toggle the scrollbar " " (completion) " ,, | (A) -> enter after emme 'word' (ie: html:5) " \\ | (N) -> show spelling suggestions popup for word " \| | (N) -> add word to a local list of correct spellings " | (I) -> (neocomp) autocomplete using common string " | (I) -> (neocomp) autocomplete the common string " | (I) -> (neocomp) close the suggestion popup " | (I) -> (neocomp) undo the most recent completion " " (formatting) " | (V) -> deletes currently selected text " | (N) -> deletes the character behind the cursor " | (N) -> format document and return to current line " | (N) -> remove whitespace " | (N) -> convert tabs into spaces " \ | (N) -> remove search highlighting " | (V) -> indent all the lines currently selected " | (N) -> indent the current line " | (V) -> unindent all the lines currently selected " | (N) -> unindent the current line " " (movement) " = | (N) -> move to the first character on the next line " | (N) -> move to the beginning of the document " | (N) -> move to the end of the document " | (N) -> move to the end of the line " | (N) -> move to the beginning of the non-whitespace " " (selection) " | (V) -> select all " | (N) -> select all " a | (V) -> select all " a | (N) -> select all " | (V) -> toggle selection of all text above the cursor " | (N) -> select all text above the cursor " | (V) -> toggle selection of all text below the cursor " | (N) -> select all text below the cursor " | (V) -> toggle selection of all text to the right of the cursor " | (N) -> select all text to the right of the cursor " | (V) -> toggle selection of all non-whitespace to the left " | (N) -> select all non-whitespace to the left " " (vimdiff) " > | (N) -> update differences " >> | (N) -> next difference " << | (N) -> previous difference " >< | (N) -> replace diff in current pane with other pane " <> | (N) -> replace diff in other pane with current pane " " (paste) " y | (N) -> copies the character " p | (V) -> paste and replace the currently selected text " P | (V) -> paste and replace the currently selected text " p | (N) -> view the paste buffers and register contents " d | (V) -> delete the currently selected text " x | (V) -> delete the currently selected text " x | (N) -> delete the char(s) under and the cursor " X | (V) -> delete the currently selected lines " X | (N) -> delete the char(s) before the cursor " D | (V) -> delete the currently selected lines " D | (N) -> delete chars under and after the cursor on the line " dw | (N) -> delete chars under and after the cursor in the word " dd | (N) -> delete lines under and after the one below " " Aliases: " :wsudo -and- :sudow | (C) -> :SudoWrite (write the file as root using sudo) " :esudo -and- :sudoe | (C) -> :SudoRead (read a file as root using sudo) " "MAPPINGS: GENERAL KEYBINDINGS AND REBINDINGS {{{ "MOUSE:{ "hold shift to enable middle-click paste noremap noremap! "hold ctrl to scroll left/right instead of up/down noremap 3zl noremap 3zh inoremap 3zl inoremap 3zh "} "TABS:{ "move to the next and previous tabs nnoremap ':tabnew' nnoremap ':tabnext' nnoremap ':tabprev' "} "TOGGLES:{ "toggle folded code at foldpoints nnoremap za "unmap F1 from help then map it to toggle the display of line numbers nnoremap ':set number!' vnoremap ':set number!v' inoremap ':set number!' "toggle the cursor line and column nnoremap ':set cursorline! cursorcolumn!' vnoremap ':set cursorline! cursorcolumn!v' inoremap ':set cursorline! cursorcolumn!' "toggle line wrapping (and bottom bar if using the gui) nnoremap ':set wrap! go'.'-+'[&wrap]."=b\r" vnoremap ':set wrap! go'.'-+'[&wrap]."=b\rv" inoremap ':set wrap! go'.'-+'[&wrap]."=b\r" "toggle all folds nnoremap zi vnoremap ziv inoremap zi "toggle spellcheck nnoremap ':set spell!' vnoremap ':set spell!v' inoremap ':set spell!' "toggle syntax checking nnoremap ':SyntasticToggleMode' vnoremap ':SyntasticToggleModev' inoremap ':SyntasticToggleMode' "bindings to trigger the gundo undo history nnoremap ':GundoToggle' vnoremap ':GundoTogglev' inoremap ':GundoToggle' "bindings to trigger the tagbar list of tags nnoremap ':TagbarToggle' vnoremap ':TagbarTogglev' inoremap ':TagbarToggle' "bindings to trigger the tagbar list of errors nmap