Skip to content

Instantly share code, notes, and snippets.

Commonly used vim commands

For basic vim commands, run vimtutor in your terminal. It is recommended to go over this before you read further. Below are more advanced commands

In normal mode

Commands Shortcuts
toggle NerdTree \
toggle NerdTree and jump to the current file `

Overview

all tmux commands are prefix by <ctrl>a. After pressing <ctrl>a, you have to let go before applying any command below

Commands Shortcuts
enter tmux mode esc
quit tmux mode q
create new window c
go to window number use the number, 0, 1, 2...
@maiduchuy
maiduchuy / client.log
Created July 5, 2017 12:47
Client Log
[2017-07-05T19:42:44] DEBUG: starting process
[2017-07-05T19:42:44] INFO: starting client
[2017-07-05T19:42:44] INFO: command: /Applications/Synergy.app/Contents/MacOS/synergyc -f --no-tray --debug DEBUG1 --name ASDF --enable-drag-drop 192.168.1.140:24800
[2017-07-05T19:42:44] INFO: config file: /var/folders/n9/dq2x4_zs0d394t9t2m09xfjm0000gn/T/Synergy.L17088
[2017-07-05T19:42:44] INFO: log level: DEBUG1
2017-07-05 19:42:44.734 synergyc[17091:3413282] starting cocoa loop
[2017-07-05T19:42:44] INFO: drag and drop enabled
[2017-07-05T19:42:44] DEBUG1: starting client
[2017-07-05T19:42:44] DEBUG1: thread 0x00000002 entry
[2017-07-05T19:42:44] DEBUG1: registered event type shapeChanged as 4
@maiduchuy
maiduchuy / server.log
Created July 5, 2017 12:46
Server Log
[2017-07-05T19:42:35] DEBUG: starting process
[2017-07-05T19:42:35] INFO: starting server
[2017-07-05T19:42:35] INFO: command: /usr/bin/synergys -f --no-tray --debug DEBUG1 --name asdf-ubuntu -c /tmp/Synergy.Ti6673 --address 192.168.1.140:24800 --serial-key 7B76313B70726F3B687579206D61693B313B687579717579656E717579656E40676D61696C2E636F6D3B3B303B307D
[2017-07-05T19:42:35] INFO: config file: /tmp/Synergy.wZ6673
[2017-07-05T19:42:35] INFO: log level: DEBUG1
[2017-07-05T19:42:35] DEBUG: opening configuration "/tmp/Synergy.Ti6673"
[2017-07-05T19:42:35] DEBUG: configuration read successfully
[2017-07-05T19:42:35] DEBUG1: starting server
[2017-07-05T19:42:35] DEBUG1: thread 0x00000002 entry
[2017-07-05T19:42:35] DEBUG: XOpenDisplay(":0")