Skip to content

Commit

Permalink
Imported data files
Browse files Browse the repository at this point in the history
  • Loading branch information
gamecreature committed Jan 29, 2014
0 parents commit 67938c0
Show file tree
Hide file tree
Showing 86 changed files with 61,628 additions and 0 deletions.
21 changes: 21 additions & 0 deletions config/default.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"auto_reveal": false // When autoreveal is enabled it syncs the sidebar with the selected file
, "caret_blink_rate": 700
, "caret_width": 2
, "char_groups": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~?"
, "extra_line_spacing": 0
, "font": "Monospace"
, "font_size": 12
, "indent_size": 4
, "smart_tab": true
// , "line_seperator_pen": " #aaaaaa; 1.5; dashed" // we need to figure out a good format for this

, "show_caret_offset": true
, "theme": "Monokai"
, "undo_group_per_space": true
, "use_line_seperator": false
, "use_tab": true
, "whitespaces": "\n\t "
, "witespace_without_newline": "\t "
, "scroll_past_end": false
}
4 changes: 4 additions & 0 deletions config/default.osx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"font": "Monaco",
"font_size": 12
}
3 changes: 3 additions & 0 deletions config/default.win.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"font": "Courier New"
}
4 changes: 4 additions & 0 deletions config/default.x11.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"font": "monospace",
"font_size": 14
}
114 changes: 114 additions & 0 deletions keymaps/default.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
// This is an extended json format, supporting comments
// standard json doesn't support comments (which I think is plain stupid)
// If you can parse a json file, skipping comments shouldn't be a problem
[
{
// the default editor-key-bindings
// on Mac OS X Ctrl is automaticly swapped with Meta
// you can use Qt QKeySequence texts here, extended with the default key-names
"bindings": [

{ "keys": "move_to_next_char", "command": "goto_next_char" },
{ "keys": "move_to_previous_char", "command": "goto_prev_char" },
{ "keys": "move_to_next_word", "command": "goto_next_word" },
{ "keys": "move_to_previous_word", "command": "goto_prev_word" },
{ "keys": "move_to_start_of_line", "command": "goto_bol" },
{ "keys": "move_to_end_of_line", "command": "goto_eol" },
{ "keys": "move_to_next_line", "command": "goto_next_line" },
{ "keys": "move_to_previous_line", "command": "goto_prev_line" },
{ "keys": "move_to_start_of_document", "command": "goto_bof" },
{ "keys": "move_to_end_of_document", "command": "goto_eof" },
{ "keys": "move_to_next_page", "command": "goto_page_down" },
{ "keys": "move_to_previous_page", "command": "goto_page_up" },

// selection
{ "keys": "select_next_char", "command": "sel_next_char" },
{ "keys": "select_previous_char", "command": "sel_prev_char" },
{ "keys": "select_next_word", "command": "sel_next_word" },
{ "keys": "select_previous_word", "command": "sel_prev_word" },
{ "keys": "select_start_of_line", "command": "sel_to_bol" },
{ "keys": "select_end_of_line", "command": "sel_to_eol" },
{ "keys": "select_next_line", "command": "sel_to_next_line" },
{ "keys": "select_previous_line", "command": "sel_to_prev_Line" },
{ "keys": "select_start_of_document", "command": "sel_to_bof" },
{ "keys": "select_end_of_document", "command": "sel_to_eof" },
{ "keys": "select_next_page", "command": "sel_page_down" },
{ "keys": "select_previous_page", "command": "sel_page_up" },

{ "keys": "select_all", "command": "sel_all" },
// { "keys": "Ctrl+D", "command": "sel_word" }, // is superseeded by 'find_under_expand'
{ "keys": "Ctrl+L", "command": "sel_line" },
{ "keys": "Ctrl+Shift+L", "command": "sel_prev_line" },
{ "keys": "Meta+shift+Up", "command": "add_caret_prev_line" },
{ "keys": "Meta+shift+Down", "command": "add_caret_next_line" },
{ "keys": "Escape", "command": "sel_reset" },

// TODO: We need to build in support for alternative keymaps per platform
{ "keys": "Ctrl+Alt+Up", "command": "add_caret_prev_line" },
{ "keys": "Ctrl+Alt+Down", "command": "add_caret_next_line" },

// line entry
{ "keys": "Enter", "command": "ins_newline" },
{ "keys": "Return", "command": "ins_newline" },
{ "keys": "Shift+Enter", "command": "ins_newline" },
{ "keys": "Shift+Return", "command": "ins_newline" },

// deletion left
{ "keys": "Backspace", "command": "del_left" },
{ "keys": "Shift+Backspace", "command": "del_left" },
{ "keys": "Alt+Backspace", "command": "del_word_left" },
{ "keys": "Ctrl+Backspace", "command": "del_line_left" },

// deletion right
{ "keys": "Delete", "command": "del_right" },
{ "keys": "Shift+Delete", "command": "del_right" },
{ "keys": "Alt+Delete", "command": "del_word_right" },
{ "keys": "Ctrl+Delete", "command": "del_line_right" },

// tab entry
{ "keys": "Tab", "command": "tab" },
{ "keys": "Backtab", "command": "tab_back" },
{ "keys": "Shift+Tab", "command": "tab_back" },
{ "keys": "Shift+Backtab", "command": "tab_back" },
{ "keys": "Ctrl+]", "command": "indent" },
{ "keys": "Ctrl+[", "command": "outdent" },


// special entry
{ "keys": "Ctrl+Shift+D", "command": "duplicate" },
{ "keys": "Ctrl+/", "command": "toggle_comment" },
{ "keys": "Ctrl+Meta+/", "command": "toggle_block_comment" },

/// TODO: add a backtab action here
//set( QKeySequence( Qt::Key_BackTab ), new )

// undo / redo comamnqds
{ "keys": "undo", "command": "undo" },
{ "keys": "redo", "command": "redo" },
{ "keys": "Ctrl+U", "command": "soft_undo" },
{ "keys": "Ctrl+Shift+U", "command": "soft_redo" },

// clipboard operations
{ "keys": "copy", "command": "copy" },
{ "keys": "cut", "command": "cut" },
{ "keys": "paste", "command": "paste" },

// debug commands
{ "keys": "Ctrl+Shift+X,S", "command": "debug_dump_scopes" },
{ "keys": "Ctrl+Shift+X,R", "command": "debug_rebuild_scopes" },
{ "keys": "Ctrl+Shift+X,U", "command": "debug_dump_undo_stack" },

// find commands
{ "keys": "Ctrl+E", "command": "find_use_sel" },
{ "keys": "find_next", "command": "find_next_match" },
{ "keys": "find_previous", "command": "find_prev_match" },
{ "keys": "Meta+S", "command": "sel_next_match" },
{ "keys": "Meta+Shift+S", "command": "sel_prev_match" },
{ "keys": "Ctrl+Shift+Meta+A", "command": "sel_all_matches" },

{ "keys": "Ctrl+D", "command": "select_under_expand"},
{ "keys": "Alt+F3", "command":"select_all_under" }

]
}
]
21 changes: 21 additions & 0 deletions keymaps/default.osx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// This is an extended json format, supporting comments
// standard json doesn't support comments (which I think is plain stupid)
// If you can parse a json file, skipping comments shouldn't be a problem
[
{
// "context": [
// { "name": "env.os", "value": "osx" }
// ],

// the default editor-key-bindings
// on Mac OS X Ctrl is automaticly swapped with Meta
// you can use Qt QKeySequence texts here, extended with the default key-names
"bindings": [

{ "keys": "Meta+shift+Up", "command": "add_caret_prev_line" },
{ "keys": "Meta+shift+Down", "command": "add_caret_next_line" },
{ "keys": "Ctrl+Meta+G", "command": "select_all_under" }

]
}
]
20 changes: 20 additions & 0 deletions keymaps/default.win32.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// This is an extended json format, supporting comments
// standard json doesn't support comments (which I think is plain stupid)
// If you can parse a json file, skipping comments shouldn't be a problem
[
{
// "context": [
// { "name": "env.os", "value": "win32" }
// ],


// the default editor-key-bindings
// on Mac OS X Ctrl is automaticly swapped with Meta
// you can use Qt QKeySequence texts here, extended with the default key-names
"bindings": [

{ "keys": "Ctrl+Alt+Up", "command": "add_caret_prev_line" },
{ "keys": "Ctrl+Alt+Down", "command": "add_caret_next_line" }
]
}
]
Loading

0 comments on commit 67938c0

Please sign in to comment.