From charlesreid1

No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
===Editing===
Common editing actions:
Common editing actions:
* Jumping to the top of the file, and entering insert mode
* Jumping AND entering insert mode
* Jumping to end of the file, and entering insert mode
** Jump to top of file, enter insert mode
** Jump to end of file, enter insert mode
** Jump N lines up/down, enter insert mode
 
* Inserting whitespace/lines  
* Inserting whitespace/lines  
** below where the cursor is
** below where the cursor is
Line 7: Line 12:
** something that works EVEN IN INSERT MODE, where we say, insert 5 lines above here, or insert 5 lines below here
** something that works EVEN IN INSERT MODE, where we say, insert 5 lines above here, or insert 5 lines below here
** Control Shift O/Control o
** Control Shift O/Control o
===Windows and Tabs===


Common window actions:
Common window actions:
* When editing a file: split the window (vertically) into two panes, switch to new pane, open the current directory in the new buffer, switch back to old buffer
* When editing a file: split the window (vertically) into two panes, switch to new pane, open the current directory in the new buffer, switch back to old buffer


Using [[Tmux]] and [[Vim]] together:
* Consistent and cross-platform workflow





Latest revision as of 17:59, 31 May 2017

Editing

Common editing actions:

  • Jumping AND entering insert mode
    • Jump to top of file, enter insert mode
    • Jump to end of file, enter insert mode
    • Jump N lines up/down, enter insert mode
  • Inserting whitespace/lines
    • below where the cursor is
    • above where the cursor is
    • something that works EVEN IN INSERT MODE, where we say, insert 5 lines above here, or insert 5 lines below here
    • Control Shift O/Control o

Windows and Tabs

Common window actions:

  • When editing a file: split the window (vertically) into two panes, switch to new pane, open the current directory in the new buffer, switch back to old buffer

Using Tmux and Vim together:

  • Consistent and cross-platform workflow