# Web Keyboard Shortcuts

> Keyboard shortcuts for Bear on the web, with separate lists for macOS and Windows covering text styles, tables, todos, dates and note navigation.

Source: https://bear.app/faq/web-keyboard-shortcuts/

<h2 class="faq-tab-selection">
    <span class="faq-tab-selection-mac selected">macOS</span>
    <span class="faq-tab-selection-win">Windows</span>
</h2>

<div class="faq-tab faq-tab-mac selected">
    
### Editor
* `⌥⌘1` , `⌥⌘2`, … `⌥⌘6` -  Headings
* `⌥⌘S` - Line separator
* `⌘B` - Bold
* `⌘I` - Italic
* `⌘U` - Underline
* `⇧⌘U` - Strikethrough
* `⌘K` - Link
* `⌥⌘D` - Wiki Link
* `⌥⌘L` - Unordered list
* `⌥⇧⌘L` - Ordered list
* `⌥⇧⌘T` - Quote
* `⌥⌘C` - Inline code
* `^⌘C` - Code block
* `⇧⌘M` - Highlighter/Marker
* `⌥⇧⌘E` - Footnote
* `⇧⌘V` - Insert file

### Tables
* `⌥⌘T` - Create Table
* `⌥⇧⌘↑` - Add Row Above
* `⌥⇧⌘↓` - Add Row Below
* `⌥⇧⌘←` - Add Column Before
* `⌥⇧⌘→` - Add Column After
* `⌥⌘⌫` - Delete Row
* `⌥⇧⌘⌫` - Delete Column

### Todos
* `^⌘T` - Todo
* `⌘.` - Toggle Todo

### Structure
* `⌥⌘↑` - Move line up
* `⌥⌘↓` - Move line down

### Lists
* `⇥` - Shift the list element right
* `⇧⇥` - Shift the list element left
* `⇧⏎` - End the list

### Dates
* `⇧⌘7` - Long Form Date with time (11 Jul 2017, 10:43)
* `⇧⌘8` - Long Form Date (11 Jul 2017)
* `⇧⌘9` - Short Form Date (11/07/2017)
* `⇧⌘0` - Hours (11:43)

## Navigation
* `^⌥N` - Create a new note
* `↑ and ↓ keys` - Move the selection in the note and tags lists
* `← and → keys` - Move the selection between the sidebar,  the note list and the editor; open/close nested tags
* `↩︎` - Edit the selected note
* `⌘⌫` - Delete selected note
* `⇧⌘F` - Search inside the note list
* `⌥⇧⌘1` - Select _Notes_ in the sidebar
* `⌥⇧⌘2` - Select _Untagged_ in the sidebar
* `⌥⇧⌘3` - Select _ToDo_ in the sidebar
* `⌥⇧⌘4` - Select _Today_ in the sidebar
* `⌥⇧⌘5` - Select _Locked_ in the sidebar
* `⌥⇧⌘0` - Select _Trash_ in the sidebar
* `⌥⇧⌘9` - Select _Archive_ in the sidebar
* `⌘[` -  Navigate back in visualized notes history* 
* `⌘]` - Navigate forward in visualized notes history* 

## Views
* `^1` - Show editor only
* `^2` - Show note list and editor
* `^3` - Show sidebar, note list and editor

</div>
<div class="faq-tab faq-tab-win">
    
### Editor
* `Alt Ctrl 1` , `Alt Ctrl 2`, … `Alt Ctrl 6` -  Headings
* `Alt Ctrl S` - Line separator
* `Ctrl B` - Bold
* `Ctrl I` - Italic
* `Ctrl U` - Underline
* `⇧ Ctrl U` - Strikethrough
* `Ctrl K` - Link
* `Alt Ctrl D` - Wiki Link
* `Alt Ctrl L` - Unordered list
* `⇧ Ctrl L` - Ordered list
* `⇧ Alt Ctrl T` - Quote
* `Alt Ctrl C` - Inline code
* `⇧ Alt C` - Code block
* `⇧ Ctrl M` - Highlighter/Marker
* `⇧ Ctrl E` - Footnote
* `⇧ Ctrl V` - Insert file

### Tables
* `Alt Ctrl T` - Create Table
* `⇧ Alt Ctrl ↑` - Add Row Above
* `⇧ Alt Ctrl ↓` - Add Row Below
* `⇧ Alt Ctrl ←` - Add Column Before
* `⇧ Alt Ctrl →` - Add Column After
* `Alt Ctrl ⌫` - Delete Row
* `⇧ Alt Ctrl ⌫` - Delete Column

### Todos
* `⇧ Alt T` - Todo
* `Ctrl .` - Toggle Todo

### Structure
* `Alt Ctrl ↑` - Move line up
* `Alt Ctrl ↓` - Move line down

### Lists
* `⇥` - Shift the list element right
* `⇧⇥` - Shift the list element left
* `⇧⏎` - End the list

### Dates
* `⇧ Ctrl 7` - Long Form Date with time (11 Jul 2017, 10:43)
* `⇧ Ctrl 8` - Long Form Date (11 Jul 2017)
* `⇧ Ctrl 9` - Short Form Date (11/07/2017)
* `⇧ Ctrl 0` - Hours (11:43)

## Navigation
* `Alt Ctrl N` - Create a new note
* `↑ and ↓ keys` - Move the selection in the note and tags lists
* `← and → keys` - Move the selection between the sidebar,  the note list and the editor; open/close nested tags
* `↩︎` - Edit the selected note
* `Ctrl ⌫` - Delete selected note
* `⇧ Ctrl F` - Search inside the note list
* `⇧ Alt Ctrl 1` - Select _Notes_ in the sidebar
* `⇧ Alt Ctrl 2` - Select _Untagged_ in the sidebar
* `⇧ Alt Ctrl 3` - Select _ToDo_ in the sidebar
* `⇧ Alt Ctrl 4` - Select _Today_ in the sidebar
* `⇧ Alt Ctrl 5` - Select _Locked_ in the sidebar
* `⇧ Alt Ctrl 0` - Select _Trash_ in the sidebar
* `⇧ Alt Ctrl 9` - Select _Archive_ in the sidebar
* `Ctrl [` -  Navigate back in visualized notes history* 
* `Ctrl ]` - Navigate forward in visualized notes history* 

## Views
* `Alt 1` - Show editor only
* `Alt 2` - Show note list and editor
* `Alt 3` - Show sidebar, note list and editor
</div>

<script>
    $( document ).ready(function() {
    
        // Tabs
        var tab_click = function(e) {
        
            if ( $(this).hasClass('selected') ) { return; }
        
            if ( $(this).hasClass('faq-tab-selection-mac')) {
                
                $('.faq-tab-win').removeClass('selected');
                $('.faq-tab-selection-win').removeClass('selected');
                $('.faq-tab-selection-mac').addClass('selected');                
                $('.faq-tab-mac').addClass('selected');

            } else {

                $('.faq-tab-mac').removeClass('selected');
                $('.faq-tab-selection-mac').removeClass('selected');
                $('.faq-tab-selection-win').addClass('selected');                
                $('.faq-tab-win').addClass('selected');                
            }
        };      
        
        $('.faq-tab-selection span').click(tab_click);
        
        // URL Query
        var hash = window.location.hash.substring(1);

        if ( hash.toLowerCase() == "windows") {
            
            $('.faq-tab-selection-win').click();
        }
    });
</script>
