From 81d4ba678b1a39f8f6f1d1c2366ca7bc61eb197b Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Tue, 26 Jun 2012 14:49:53 +0200 Subject: .config/newsbeuter/urls --- .config/newsbeuter/urls | 1 + 1 file changed, 1 insertion(+) (limited to '.config') diff --git a/.config/newsbeuter/urls b/.config/newsbeuter/urls index 37bf399..eb440b6 100644 --- a/.config/newsbeuter/urls +++ b/.config/newsbeuter/urls @@ -42,6 +42,7 @@ http://feeds.feedburner.com/FalloutTutorials devel http://www.devarticles.com/rss.xml devel http://www.script-tutorials.com/feed/rss/ http://news.ycombinator.com/rss +https://www.djangoproject.com/rss/community/q-and-a/ #-----[ Linux and FLOSS ]--------------------------------------------- # http://www.reddit.com/r/commandline/.rss linux -- cgit v1.2.3-54-g00ecf From a5d935b7d1701789a454cd3d2cc3bebdf5eb3c83 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 27 Jun 2012 09:40:35 +0200 Subject: .config/newsbeuter/urls --- .config/newsbeuter/urls | 1 - 1 file changed, 1 deletion(-) (limited to '.config') diff --git a/.config/newsbeuter/urls b/.config/newsbeuter/urls index eb440b6..e06f216 100644 --- a/.config/newsbeuter/urls +++ b/.config/newsbeuter/urls @@ -135,7 +135,6 @@ http://feeds.feedburner.com/basiccomic #-----[ Misc ]-------------------------------------------------------- http://wallbase.cc/rss misc http://www.mailinator.com/rss.jsp?email=ryuslash misc -http://rss.slashdot.org/Slashdot/slashdot misc # http://www.reddit.com/r/unixporn/.rss misc -- cgit v1.2.3-54-g00ecf From 4330a560fdb26633f39cbd91d76127bc120c2fd8 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 1 Jul 2012 20:31:58 +0200 Subject: Remove some junk, move some other junk --- .config/fish/config.fish | 85 ------------------------------------------------ .config/htop/htoprc | 23 ------------- .xinitrc | 20 ------------ 3 files changed, 128 deletions(-) delete mode 100755 .config/fish/config.fish delete mode 100644 .config/htop/htoprc delete mode 100644 .xinitrc (limited to '.config') diff --git a/.config/fish/config.fish b/.config/fish/config.fish deleted file mode 100755 index 247daad..0000000 --- a/.config/fish/config.fish +++ /dev/null @@ -1,85 +0,0 @@ -#! /usr/bin/fish - -function fish_prompt -d "Write out the prompt" - set last_status $status - set current_directory (prompt_pwd) - set git_branch (git branch --contains HEAD 2>/dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/') - set pac_cnt (cat /var/cache/pacman/updates.cnt) - set aur_cnt (cat /var/cache/pacman/aur.cnt) - set cnormal (set_color white) - - echo -n $cnormal - - if test $pac_cnt -gt 0 -o $aur_cnt -gt 0 - printf '%s%d%s/%s%d%s:' (set_color cyan) $pac_cnt $cnormal (set_color cyan) $aur_cnt $cnormal - end - - printf '%s%s%s' (set_color magenta) (hostname|cut -d . -f 1) $cnormal - - if test -n "$current_directory" - printf ':%s%s%s' (set_color $fish_color_cwd) $current_directory $cnormal - end - - if test -n "$git_branch" - printf '@%s%s%s' (set_color yellow) $git_branch $cnormal - end - - if test $last_status -eq 0 - printf '%s%s' (set_color --bold green) - else - printf '%s%s' (set_color --bold red) - end - - printf '>%s ' (set_color normal) -end - -function cower - /usr/bin/cower --color=always --target=$HOME/var/aur $argv -end - -function grep - /bin/grep --color=always $argv -end - -function less - /bin/less -FXRS $argv -end - -function ls - /bin/ls -F --color=always $argv -end - -function mysql - /usr/bin/mysql --pager $argv -end - -function slrn - set -x NNTPSERVER 'news.gmane.org' - /usr/bin/slrn $argv -end - -function shutdown - dbus-send --system --print-reply \ - --dest="org.freedesktop.ConsoleKit" \ - /org/freedesktop/ConsoleKit/Manager \ - org.freedesktop.ConsoleKit.Manager.Stop -end - -function reboot - dbus-send --system --print-reply \ - --dest="org.freedesktop.ConsoleKit" \ - /org/freedesktop/ConsoleKit/Manager \ - org.freedesktop.ConsoleKit.Manager.Restart -end - -function engage - play -n -c1 synth whitenoise band -n 100 20 band -n 50 20 gain +25 fade h 1 864000 1 -end - -function lscompmod -d "List kernel modules used by hardware" - lspci -mvk | awk '/^Module/ {print $2}' | sort -u -end - -set -x PAGER 'less -FXRS' -set -x BROWSER firefox -set -x EDITOR 'emacs -nw' diff --git a/.config/htop/htoprc b/.config/htop/htoprc deleted file mode 100644 index 7b72477..0000000 --- a/.config/htop/htoprc +++ /dev/null @@ -1,23 +0,0 @@ -# Beware! This file is rewritten by htop when settings are changed in the interface. -# The parser is also very primitive, and not human-friendly. -fields=38 0 48 17 18 38 39 40 2 46 47 49 1 -sort_key=47 -sort_direction=1 -hide_threads=0 -hide_kernel_threads=1 -hide_userland_threads=0 -shadow_other_users=1 -show_thread_names=0 -highlight_base_name=1 -highlight_megabytes=1 -highlight_threads=1 -tree_view=1 -header_margin=1 -detailed_cpu_time=0 -cpu_count_from_zero=0 -color_scheme=0 -delay=15 -left_meters=AllCPUs Memory Swap -left_meter_modes=1 1 1 -right_meters=Tasks LoadAverage Uptime -right_meter_modes=2 2 2 diff --git a/.xinitrc b/.xinitrc deleted file mode 100644 index 73bb22f..0000000 --- a/.xinitrc +++ /dev/null @@ -1,20 +0,0 @@ -xmodmap ~/.Xmodmap - -xsetroot -solid "#000000" -numlockx & -emacs --daemon & - -pidof mpdscribble >& /dev/null -if [ $? -ne 0 ] -then - mpdscribble & -fi - -wm=$1 -test -n "$wm" || wm=herbstluftwm - -exec ck-launch-session $wm -# Local Variables: -# mode: shell-script -# eval: (git-auto-commit-mode 1) -# End: -- cgit v1.2.3-54-g00ecf From e8ce79673f91bbd405cebb9377c5553dfb03c708 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 1 Jul 2012 20:33:25 +0200 Subject: Remove unneeded gitignore --- .config/fish/.gitignore | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .config/fish/.gitignore (limited to '.config') diff --git a/.config/fish/.gitignore b/.config/fish/.gitignore deleted file mode 100644 index 606b774..0000000 --- a/.config/fish/.gitignore +++ /dev/null @@ -1 +0,0 @@ -fishd.cloud -- cgit v1.2.3-54-g00ecf From 65dee41a9237a67db713b2bc1bdbcc8a2cec6f67 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 1 Jul 2012 20:34:30 +0200 Subject: Remove some junk --- .config/.gitignore | 43 ----- .config/.keysnail.js | 482 --------------------------------------------------- 2 files changed, 525 deletions(-) delete mode 100644 .config/.gitignore delete mode 100644 .config/.keysnail.js (limited to '.config') diff --git a/.config/.gitignore b/.config/.gitignore deleted file mode 100644 index c65bc94..0000000 --- a/.config/.gitignore +++ /dev/null @@ -1,43 +0,0 @@ -*libreoffice/ -Empathy/ -GnuDiary/ -Trolltech.conf -anjuta/ -audacious/ -autostart/ -awesome/ -banshee-1/ -chromium/ -dconf/ -desktop-couch/ -emelfm2/ -enchant/ -fehlstart/ -glade-3.conf -gobby/ -google-chrome/ -gtk-2.0/ -gweled.conf -gwibber/ -leafpad/ -libiphone/ -mc/ -menus/ -nitrogen/ -pDev/ -pytyle/ -rox*.sourceforge.net/ -sakura/ -sonata/ -sound-juicer/ -swfdec-mozilla.conf -tint2/ -totem/ -transmission/ -twmn/ -tyrs/ -user-dirs.* -vlc/ -xm1/ -xmms2/ -zim/ diff --git a/.config/.keysnail.js b/.config/.keysnail.js deleted file mode 100644 index be79b60..0000000 --- a/.config/.keysnail.js +++ /dev/null @@ -1,482 +0,0 @@ -// ========================== KeySnail Init File =========================== // - -// You can preserve your code in this area when generating the init file using GUI. -// Put all your code except special key, set*key, hook, blacklist. -// ========================================================================= // -//{{%PRESERVE% -// Put your codes here -//}}%PRESERVE% -// ========================================================================= // - -// ========================= Special key settings ========================== // - -key.quitKey = "C-g"; -key.helpKey = ""; -key.escapeKey = "C-q"; -key.macroStartKey = ""; -key.macroEndKey = ""; -key.suspendKey = ""; -key.universalArgumentKey = "C-u"; -key.negativeArgument1Key = "C--"; -key.negativeArgument2Key = "C-M--"; -key.negativeArgument3Key = "M--"; - -// ================================= Hooks ================================= // - -hook.addToHook('KeyBoardQuit', function (aEvent) { - if (key.currentKeySequence.length) { - return; - } - command.closeFindBar(); - var marked = command.marked(aEvent); - if (util.isCaretEnabled()) { - if (marked) { - command.resetMark(aEvent); - } else { - if ("blur" in aEvent.target) { - aEvent.target.blur(); - } - gBrowser.focus(); - _content.focus(); - } - } else { - goDoCommand("cmd_selectNone"); - } - if (KeySnail.windowType === "navigator:browser" && !marked) { - key.generateKey(aEvent.originalTarget, KeyEvent.DOM_VK_ESCAPE, true); - } -}); - -// ============================= Key bindings ============================== // - -key.setGlobalKey('C-M-r', function (ev) { - userscript.reload(); -}, 'Reload the initialization file', true); - -key.setGlobalKey('M-x', function (ev, arg) { - ext.select(arg, ev); -}, 'List exts and execute selected one', true); - -key.setGlobalKey('M-:', function (ev) { - command.interpreter(); -}, 'Command interpreter', true); - -key.setGlobalKey(["", "b"], function (ev) { - key.listKeyBindings(); -}, 'List all keybindings', false); - -key.setGlobalKey('C-m', function (ev) { - key.generateKey(ev.originalTarget, KeyEvent.DOM_VK_RETURN, true); -}, 'Generate the return key code', false); - -key.setGlobalKey(["", "F"], function (ev) { - openHelpLink("firefox-help"); -}, 'Display Firefox help', false); - -key.setGlobalKey(["C-x", "l"], function (ev) { - command.focusToById("urlbar"); -}, 'Focus to the location bar', true); - -key.setGlobalKey(["C-x", "g"], function (ev) { - command.focusToById("searchbar"); -}, 'Focus to the search bar', true); - -key.setGlobalKey(["C-x", "t"], function (ev) { - command.focusElement(command.elementsRetrieverTextarea, 0); -}, 'Focus to the first textarea', true); - -key.setGlobalKey(["C-x", "s"], function (ev) { - command.focusElement(command.elementsRetrieverButton, 0); -}, 'Focus to the first button', true); - -key.setGlobalKey('M-w', function (ev) { - command.copyRegion(ev); -}, 'Copy selected text', true); - -key.setGlobalKey('C-s', function (ev) { - command.iSearchForwardKs(ev); -}, 'Emacs like incremental search forward', true); - -key.setGlobalKey('C-r', function (ev) { - command.iSearchBackwardKs(ev); -}, 'Emacs like incremental search backward', true); - -key.setGlobalKey(["C-x", "k"], function (ev) { - BrowserCloseTabOrWindow(); -}, 'Close tab / window', false); - -key.setGlobalKey(["C-x", "K"], function (ev) { - closeWindow(true); -}, 'Close the window', false); - -key.setGlobalKey(["C-c", "u"], function (ev) { - undoCloseTab(); -}, 'Undo closed tab', false); - -key.setGlobalKey(["C-x", "n"], function (ev) { - OpenBrowserWindow(); -}, 'Open new window', false); - -key.setGlobalKey('C-M-l', function (ev) { - getBrowser().mTabContainer.advanceSelectedTab(1, true); -}, 'Select next tab', false); - -key.setGlobalKey('C-M-h', function (ev) { - getBrowser().mTabContainer.advanceSelectedTab(-1, true); -}, 'Select previous tab', false); - -key.setGlobalKey(["C-x", "C-c"], function (ev) { - goQuitApplication(); -}, 'Exit Firefox', true); - -key.setGlobalKey(["C-x", "o"], function (ev, arg) { - command.focusOtherFrame(arg); -}, 'Select next frame', false); - -key.setGlobalKey(["C-x", "1"], function (ev) { - window.loadURI(ev.target.ownerDocument.location.href); -}, 'Show current frame only', true); - -key.setGlobalKey(["C-x", "C-f"], function (ev) { - BrowserOpenFileWindow(); -}, 'Open the local file', true); - -key.setGlobalKey(["C-x", "C-s"], function (ev) { - saveDocument(window.content.document); -}, 'Save current page to the file', true); - -key.setGlobalKey(["C-c", "C-c", "C-v"], function (ev) { - toJavaScriptConsole(); -}, 'Display JavaScript console', true); - -key.setGlobalKey(["C-c", "C-c", "C-c"], function (ev) { - command.clearConsole(); -}, 'Clear Javascript console', true); - -key.setEditKey(["C-x", "h"], function (ev) { - command.selectAll(ev); -}, 'Select whole text', true); - -key.setEditKey([["C-SPC"], ["C-@"]], function (ev) { - command.setMark(ev); -}, 'Set the mark', true); - -key.setEditKey('C-o', function (ev) { - command.openLine(ev); -}, 'Open line', false); - -key.setEditKey([["C-x", "u"], ["C-_"]], function (ev) { - display.echoStatusBar("Undo!", 2000); - goDoCommand("cmd_undo"); -}, 'Undo', false); - -key.setEditKey('C-\\', function (ev) { - display.echoStatusBar("Redo!", 2000); - goDoCommand("cmd_redo"); -}, 'Redo', false); - -key.setEditKey('C-a', function (ev) { - command.beginLine(ev); -}, 'Beginning of the line', false); - -key.setEditKey('C-e', function (ev) { - command.endLine(ev); -}, 'End of the line', false); - -key.setEditKey('C-f', function (ev) { - command.nextChar(ev); -}, 'Forward char', false); - -key.setEditKey('C-b', function (ev) { - command.previousChar(ev); -}, 'Backward char', false); - -key.setEditKey('M-f', function (ev) { - command.forwardWord(ev); -}, 'Next word', false); - -key.setEditKey('M-b', function (ev) { - command.backwardWord(ev); -}, 'Previous word', false); - -key.setEditKey('C-n', function (ev) { - command.nextLine(ev); -}, 'Next line', false); - -key.setEditKey('C-p', function (ev) { - command.previousLine(ev); -}, 'Previous line', false); - -key.setEditKey('C-v', function (ev) { - command.pageDown(ev); -}, 'Page down', false); - -key.setEditKey('M-v', function (ev) { - command.pageUp(ev); -}, 'Page up', false); - -key.setEditKey('M-<', function (ev) { - command.moveTop(ev); -}, 'Beginning of the text area', false); - -key.setEditKey('M->', function (ev) { - command.moveBottom(ev); -}, 'End of the text area', false); - -key.setEditKey('C-d', function (ev) { - goDoCommand("cmd_deleteCharForward"); -}, 'Delete forward char', false); - -key.setEditKey('C-h', function (ev) { - goDoCommand("cmd_deleteCharBackward"); -}, 'Delete backward char', false); - -key.setEditKey('M-d', function (ev) { - command.deleteForwardWord(ev); -}, 'Delete forward word', false); - -key.setEditKey([["C-"], ["M-"]], function (ev) { - command.deleteBackwardWord(ev); -}, 'Delete backward word', false); - -key.setEditKey('M-u', function (ev, arg) { - command.wordCommand(ev, arg, command.upcaseForwardWord, command.upcaseBackwardWord); -}, 'Convert following word to upper case', false); - -key.setEditKey('M-l', function (ev, arg) { - command.wordCommand(ev, arg, command.downcaseForwardWord, command.downcaseBackwardWord); -}, 'Convert following word to lower case', false); - -key.setEditKey('M-c', function (ev, arg) { - command.wordCommand(ev, arg, command.capitalizeForwardWord, command.capitalizeBackwardWord); -}, 'Capitalize the following word', false); - -key.setEditKey('C-k', function (ev) { - command.killLine(ev); -}, 'Kill the rest of the line', false); - -key.setEditKey('C-y', command.yank, 'Paste (Yank)', false); - -key.setEditKey('M-y', command.yankPop, 'Paste pop (Yank pop)', true); - -key.setEditKey('C-M-y', function (ev) { - if (!command.kill.ring.length) { - return; - } - let (ct = command.getClipboardText()) (!command.kill.ring.length || ct != command.kill.ring[0]) && - command.pushKillRing(ct); - prompt.selector({message: "Paste:", collection: command.kill.ring, callback: function (i) {if (i >= 0) {key.insertText(command.kill.ring[i]);}}}); -}, 'Show kill-ring and select text to paste', true); - -key.setEditKey('C-w', function (ev) { - goDoCommand("cmd_copy"); - goDoCommand("cmd_delete"); - command.resetMark(ev); -}, 'Cut current region', true); - -key.setEditKey(["C-x", "r", "d"], function (ev, arg) { - command.replaceRectangle(ev.originalTarget, "", false, !arg); -}, 'Delete text in the region-rectangle', true); - -key.setEditKey(["C-x", "r", "t"], function (ev) { - prompt.read("String rectangle: ", function (aStr, aInput) {command.replaceRectangle(aInput, aStr);}, ev.originalTarget); -}, 'Replace text in the region-rectangle with user inputted string', true); - -key.setEditKey(["C-x", "r", "o"], function (ev) { - command.openRectangle(ev.originalTarget); -}, 'Blank out the region-rectangle, shifting text right', true); - -key.setEditKey(["C-x", "r", "k"], function (ev, arg) { - command.kill.buffer = command.killRectangle(ev.originalTarget, !arg); -}, 'Delete the region-rectangle and save it as the last killed one', true); - -key.setEditKey(["C-x", "r", "y"], function (ev) { - command.yankRectangle(ev.originalTarget, command.kill.buffer); -}, 'Yank the last killed rectangle with upper left corner at point', true); - -key.setEditKey('M-n', function (ev) { - command.walkInputElement(command.elementsRetrieverTextarea, true, true); -}, 'Focus to the next text area', false); - -key.setEditKey('M-p', function (ev) { - command.walkInputElement(command.elementsRetrieverTextarea, false, true); -}, 'Focus to the previous text area', false); - -key.setViewKey([["C-n"], ["j"]], function (ev) { - key.generateKey(ev.originalTarget, KeyEvent.DOM_VK_DOWN, true); -}, 'Scroll line down', false); - -key.setViewKey([["C-p"], ["k"]], function (ev) { - key.generateKey(ev.originalTarget, KeyEvent.DOM_VK_UP, true); -}, 'Scroll line up', false); - -key.setViewKey([["C-f"], ["."]], function (ev) { - key.generateKey(ev.originalTarget, KeyEvent.DOM_VK_RIGHT, true); -}, 'Scroll right', false); - -key.setViewKey([["C-b"], [","]], function (ev) { - key.generateKey(ev.originalTarget, KeyEvent.DOM_VK_LEFT, true); -}, 'Scroll left', false); - -key.setViewKey([["M-v"], ["b"]], function (ev) { - goDoCommand("cmd_scrollPageUp"); -}, 'Scroll page up', false); - -key.setViewKey('C-v', function (ev) { - goDoCommand("cmd_scrollPageDown"); -}, 'Scroll page down', false); - -key.setViewKey([["M-<"], ["g"]], function (ev) { - goDoCommand("cmd_scrollTop"); -}, 'Scroll to the top of the page', true); - -key.setViewKey([["M->"], ["G"]], function (ev) { - goDoCommand("cmd_scrollBottom"); -}, 'Scroll to the bottom of the page', true); - -key.setViewKey('l', function (ev) { - getBrowser().mTabContainer.advanceSelectedTab(1, true); -}, 'Select next tab', false); - -key.setViewKey('h', function (ev) { - getBrowser().mTabContainer.advanceSelectedTab(-1, true); -}, 'Select previous tab', false); - -key.setViewKey(':', function (ev, arg) { - shell.input(null, arg); -}, 'List and execute commands', true); - -key.setViewKey('R', function (ev) { - BrowserReload(); -}, 'Reload the page', true); - -key.setViewKey('B', function (ev) { - BrowserBack(); -}, 'Back', false); - -key.setViewKey('F', function (ev) { - BrowserForward(); -}, 'Forward', false); - -key.setViewKey(["C-x", "h"], function (ev) { - goDoCommand("cmd_selectAll"); -}, 'Select all', true); - -key.setViewKey('f', function (ev) { - command.focusElement(command.elementsRetrieverTextarea, 0); -}, 'Focus to the first textarea', true); - -key.setViewKey('M-p', function (ev) { - command.walkInputElement(command.elementsRetrieverButton, true, true); -}, 'Focus to the next button', false); - -key.setViewKey('M-n', function (ev) { - command.walkInputElement(command.elementsRetrieverButton, false, true); -}, 'Focus to the previous button', false); - -key.setCaretKey([["C-a"], ["^"]], function (ev) { - ev.target.ksMarked ? goDoCommand("cmd_selectBeginLine") : goDoCommand("cmd_beginLine"); -}, 'Move caret to the beginning of the line', false); - -key.setCaretKey([["C-e"], ["$"]], function (ev) { - ev.target.ksMarked ? goDoCommand("cmd_selectEndLine") : goDoCommand("cmd_endLine"); -}, 'Move caret to the end of the line', false); - -key.setCaretKey([["C-n"], ["j"]], function (ev) { - ev.target.ksMarked ? goDoCommand("cmd_selectLineNext") : goDoCommand("cmd_scrollLineDown"); -}, 'Move caret to the next line', false); - -key.setCaretKey([["C-p"], ["k"]], function (ev) { - ev.target.ksMarked ? goDoCommand("cmd_selectLinePrevious") : goDoCommand("cmd_scrollLineUp"); -}, 'Move caret to the previous line', false); - -key.setCaretKey([["C-f"], ["l"]], function (ev) { - ev.target.ksMarked ? goDoCommand("cmd_selectCharNext") : goDoCommand("cmd_scrollRight"); -}, 'Move caret to the right', false); - -key.setCaretKey([["C-b"], ["h"], ["C-h"]], function (ev) { - ev.target.ksMarked ? goDoCommand("cmd_selectCharPrevious") : goDoCommand("cmd_scrollLeft"); -}, 'Move caret to the left', false); - -key.setCaretKey([["M-f"], ["w"]], function (ev) { - ev.target.ksMarked ? goDoCommand("cmd_selectWordNext") : goDoCommand("cmd_wordNext"); -}, 'Move caret to the right by word', false); - -key.setCaretKey([["M-b"], ["W"]], function (ev) { - ev.target.ksMarked ? goDoCommand("cmd_selectWordPrevious") : goDoCommand("cmd_wordPrevious"); -}, 'Move caret to the left by word', false); - -key.setCaretKey([["C-v"], ["SPC"]], function (ev) { - ev.target.ksMarked ? goDoCommand("cmd_selectPageNext") : goDoCommand("cmd_movePageDown"); -}, 'Move caret down by page', false); - -key.setCaretKey([["M-v"], ["b"]], function (ev) { - ev.target.ksMarked ? goDoCommand("cmd_selectPagePrevious") : goDoCommand("cmd_movePageUp"); -}, 'Move caret up by page', false); - -key.setCaretKey([["M-<"], ["g"]], function (ev) { - ev.target.ksMarked ? goDoCommand("cmd_selectTop") : goDoCommand("cmd_scrollTop"); -}, 'Move caret to the top of the page', false); - -key.setCaretKey([["M->"], ["G"]], function (ev) { - ev.target.ksMarked ? goDoCommand("cmd_selectEndLine") : goDoCommand("cmd_endLine"); -}, 'Move caret to the end of the line', false); - -key.setCaretKey('J', function (ev) { - util.getSelectionController().scrollLine(true); -}, 'Scroll line down', false); - -key.setCaretKey('K', function (ev) { - util.getSelectionController().scrollLine(false); -}, 'Scroll line up', false); - -key.setCaretKey(',', function (ev) { - util.getSelectionController().scrollHorizontal(true); - goDoCommand("cmd_scrollLeft"); -}, 'Scroll left', false); - -key.setCaretKey('.', function (ev) { - goDoCommand("cmd_scrollRight"); - util.getSelectionController().scrollHorizontal(false); -}, 'Scroll right', false); - -key.setCaretKey('z', function (ev) { - command.recenter(ev); -}, 'Scroll to the cursor position', false); - -key.setCaretKey([["C-SPC"], ["C-@"]], function (ev) { - command.setMark(ev); -}, 'Set the mark', true); - -key.setCaretKey(':', function (ev, arg) { - shell.input(null, arg); -}, 'List and execute commands', true); - -key.setCaretKey('R', function (ev) { - BrowserReload(); -}, 'Reload the page', true); - -key.setCaretKey('B', function (ev) { - BrowserBack(); -}, 'Back', false); - -key.setCaretKey('F', function (ev) { - BrowserForward(); -}, 'Forward', false); - -key.setCaretKey(["C-x", "h"], function (ev) { - goDoCommand("cmd_selectAll"); -}, 'Select all', true); - -key.setCaretKey('f', function (ev) { - command.focusElement(command.elementsRetrieverTextarea, 0); -}, 'Focus to the first textarea', true); - -key.setCaretKey('M-p', function (ev) { - command.walkInputElement(command.elementsRetrieverButton, true, true); -}, 'Focus to the next button', false); - -key.setCaretKey('M-n', function (ev) { - command.walkInputElement(command.elementsRetrieverButton, false, true); -}, 'Focus to the previous button', false); - -- cgit v1.2.3-54-g00ecf