Vim/Common Actions: Difference between revisions
From charlesreid1
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
* 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 | ||
[[Tmux]] | |||
Revision as of 17:58, 31 May 2017
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
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