dw delete a word
d$ delete to end of line
D delete to end of line
w move to next word (start)
e move to next word (end)
5w move 5 words and place cursor at first
5e move 4 words and place cursor at end
0 move to start of line
d5w delete 5 words
5dd delete 5 lines
Ctrl+R redo
ce change to end of word
c5e change 5 words
c$ change to end of line
C change to end of line
ctrl+G location in the file
gg move to start of file
% find matching ()[]
:! execute external command
v start select (virtual mode)
V start select whole line (virtual mode)
ctrl+v select rectangle
:w f write selection to file f
Y or yy copy current line
y copy the selection
d delete the selection
:r f insert text from f to this file
:r !ls put the ls output to current line
o open line below cursor
y5w yank 5 words
:set is set incrimental search
:help help
: ctrl+D possible completions
fa move to first 'a' character
ta move to before first 'a' character
dfa delete until the first 'a' character
cc clear current line and enter insert mode
S clear current line and enter insert mode
ma bookmark 'a' for the position
'a go to bookmark 'a'
'. go to last modification
HML jump to top/middle/last line of the screen
J join current lines
~ toggle case
* find the word under cursor.
. repeat last changing.
--jump-target position target line on line num of screen.
Showing posts with label shortcuts. Show all posts
Showing posts with label shortcuts. Show all posts
Saturday, January 2, 2010
Monday, November 2, 2009
Shortcut keys
Chrome
- Ctrl+U - View source
- Ctrl+Shift+V – Paste current content from the clipboard without formatting
- Ctrl+L or Alt+D - Highlight URL
- Ctrl+Backspace - Fast delete
- Shift & wheel - Scrolls horizontally on the page
Windows 7
- Win+Left: Move windows to half left of the screen
- Win+Right: Move windows to half right of the screen
- Win+Up: Maximize the windows
- Win+P: Projector mode
Eclipse
- Ctrl+Shift+P: Find matched braces
- Alt+Shift+P: Select the outer block
- Ctrl+Shift+R: Open resource
- Alt+Shift+W: Open file in Navigator/Project Explorer/...
Total Commander
- CTRL+P: Copy current path to cmd line
- Ctrl+Shift+Ins: Copy file path to clipboard
Tuesday, October 20, 2009
Eclipse - how to select enclosed element
1. Place your mouse inside the element which is needed to select
2. Press Alt + Shift + Up to expand the selection
3. Press Alt + Shift + Down to collapse the selection
* The image below is wrong (Alt instead of Ctrl)
2. Press Alt + Shift + Up to expand the selection
3. Press Alt + Shift + Down to collapse the selection
* The image below is wrong (Alt instead of Ctrl)

Eclipse - how to find the match brace
1. Place mouse after the starting brace or after the ending brace
2. Press Ctrl + Shift + P to jump to the match brace
3. Press Ctrl + Shift + P again to jump back.
2. Press Ctrl + Shift + P to jump to the match brace
3. Press Ctrl + Shift + P again to jump back.

Monday, October 5, 2009
Eclipse shortcut keys
- How to view/modify shortcuts in eclipse (version 3.4.2): Windows --> Preferences --> General --> Keys
- Delete a line: Ctrl + D
- Active editor: F12
- Find and replace: Ctrl + F
- Incremental find: Ctrl + J
- Duplicate lines: Ctrl + Alt + Down
Subscribe to:
Posts (Atom)