Fixing Home, End, Page Up, and Page Down in Leopard’s Terminal Commodore says Easy fix for vim here, add the following to your /.vimrc: ” key remaps for OSX to make vim play nice with the external keyboard ” home/end remapped as ctrl+a/e respectively in terminal.app here map map. Commodore says bah, it ate some stuff.
Vim Page Down Mac Pro
- Move down (page down or whatever) and move to the end line; y'k will yank/copy all the lines from start to end; d'k will cut/delete all the lines from start to end; I have some annoying long functions at the top of my file and I don’t want to waste my time scrolling or jumping to lines.
- I found that using multiple ahk mappings, like the script I used to use along with vimahk was tricky. OneNote Shortcuts. From Microsoft OneNote keyboard shortcuts. Ctrl Page Down - next page Ctrl Page Up - previous page. Ctrl Alt n - create new page below current in tab bar Ctrl M - open new OneNote window. Ctrl Alt 1 - make Heading 1,2 etc.
- Many Vim windows for the same file. Let’s say we’re editing a Python script, and there are two different functions in it: f1 and f2 we’d like to edit at the same time. Vim makes this easy: Press Ctrl + w (cmd + w in a Mac).Press v (for vertical) or h (for horizontal). This will create a vertical splice, or a horizontal one.
- As an emacs user majority of the time, I got used to pressing C-x C-s for saving files, and frequently makes this mistake in vim, and turns on the ^X mode. However, unlike in linux, where I can quit the ^X mode by pressing esc (or in fact any key), the vim on my mac hangs when I am working in X11. Vim behaves correctly in terminal.app though.
Safari User Guide
Here are shortcuts you can use, in addition to those that appear in Safari menus. To turn off or change keyboard shortcuts, see Create keyboard shortcuts for apps.
Scroll
Action | Shortcut or gesture |
---|---|
Scroll up, down, left, or right | Press the arrow keys. |
Scroll in larger increments | Press Option while you press an arrow key. |
Scroll down a screen | Page Down Space bar |
Scroll up a screen | Page Up Shift–Space bar |
Scroll to the top-left or bottom-left corner of the page | Command–Up Arrow Command–Down Arrow |
Current webpage
Action | Shortcut or gesture |
---|---|
Search the current webpage | Command-F |
Highlight the next field or pop-up menu on a webpage | Tab Tab also highlights buttons and other controls if “Use keyboard navigation to move focus between controls” is selected in the Shortcuts pane of the Keyboard pane of System Preferences. |
Highlight the next field, pop-up menu, or clickable item (such as a link) on a webpage | Option-Tab Option-Tab also highlights buttons and other controls if “Use keyboard navigation to move focus between controls” is selected in the Shortcuts pane of the Keyboard pane of System Preferences. To swap the behavior of Tab and Option-Tab, turn on “Press Tab to highlight each item on a webpage” in the Advanced pane of Safari preferences. |
While typing in the Smart Search field, restore the current webpage address | Esc |
Select the Smart Search field | Command-L |
Print the current webpage | Command-P |
Copy the selected item | Command-C |
Paste the most recently copied item | Command-V |
Tabs
Action | Shortcut or gesture |
---|---|
Show tab overview | Shift-Command- |
Open a page in a new tab | Command-click a link Command-click a bookmark Command-Return after typing in the Smart Search field. |
Open a page in a new tab, and make that tab the active tab | Shift-Command-click a link Shift-Command-click a bookmark Shift-Command-Return after typing in the Smart Search field. |
Go to the next tab | Control-Tab or Shift-Command-] |
Go to the previous tab | Control-Shift-Tab or Shift-Command -[ |
Select one of your first nine tabs | Command-1 to Command-9 |
Close the active tab | Command-W |
Close all tabs except for one | Option-click the Close button on the tab you want to leave open |
Reopen the last tab you closed | Shift-Command-T |
Preferences
Vim Page Down Mac Mail
Action | Shortcut or gesture |
---|---|
Go to your homepage | Shift-Command-H |
Change Safari preferences | Command-, |
History
Action | Shortcut or gesture |
---|---|
Go back to the previous webpage | Command-[ |
Go forward to the next webpage | Command-] |
See a list of your recently visited pages by name | Hold down the Back or Forward button until the list appears |
See a list of your recently visited pages by web address (URL) | Press Option and hold down the Back or Forward button until the list appears |
Zoom
Action | Shortcut or gesture |
---|---|
Exit full-screen view | Esc |
Zoom website content | Press Command-Plus Sign (+) or Command-Minus Sign (-) |
Zoom website text | Press Option while you choose View > Make Text Bigger or View > Make Text Smaller |
Downloads
Action | Shortcut or gesture |
---|---|
Download a linked file | Option-click a link to the file |
Open a downloaded file | Double-click the file in the downloads list |
Window
Action | Shortcut or gesture |
---|---|
Switch to another Safari window | Command-` (above the Tab key) |
Reopen the last window you closed | Shift-Command-T |
Reading List
Action | Shortcut or gesture |
---|---|
Show or Hide the Reading List sidebar | Control-Command-2 |
Add the current page | Shift-Command-D |
Add a linked page | Shift-click a link to the page |
Remove a page | Control-click the page summary in the sidebar, then choose Remove Item. You can also swipe left over the page summary, then click Remove. Or, swipe all the way to the left until the page summary disappears. |
Open Reader | Shift-Command-R |
Close Reader | Esc |
Bookmarks
Action | Shortcut or gesture |
---|---|
Add a bookmark to the Favorites bar | Click the Smart Search field to show the page’s full address and its icon, then drag the icon to the Favorites bar |
Open all bookmarks from a folder in the Favorites bar | Command-click the folder in the Favorites bar |
Move a bookmark on the Favorites bar | Drag the bookmark left or right |
Remove a bookmark from the Favorites bar | Drag the bookmark off the top of the bar |
Bookmarks sidebar and bookmarks view
Vim Move Line Down Mac
Action | Shortcut or gesture |
---|---|
Show or Hide the Bookmarks sidebar | Control-Command-1 |
Select bookmarks and folders in the sidebar | Command-click each bookmark and folder Shift-click to extend the selection |
Select the next bookmark or folder | Up Arrow or Down Arrow |
Open the selected bookmark | Space bar |
Open the selected folder | Space bar or Right Arrow |
Close the selected folder | Space bar or Left Arrow |
Change the name or address of a bookmark | Select the bookmark, then press Return You can also force click the bookmark |
Cancel editing a bookmark name in the sidebar | Esc |
Finish editing a bookmark name | Return |
Create a folder containing the selected bookmarks and folders in bookmarks view | Option-click the New Folder button near the top-right corner |
Delete a bookmark | Control-click the bookmark, then choose Delete |
Vim Page Down Mac Os
As an emacs user majority of the time, I got used to pressing C-x C-s for saving files, and frequently makes this mistake in vim, and turns on the ^X mode. However, unlike in linux, where I can quit the ^X mode by pressing esc (or in fact any key), the vim on my mac hangs when I am working in X11. Vim behaves correctly in terminal.app though. Does anyone have an idea on what is causing this? And any solutions?
Cheers!
Lianheng
Powerbook G4 12', Mac OS X (10.4.6), Dell PC Windows XP
Posted on Nov 19, 2007 3:17 AM