X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/9fd19d7cac24b07fd2d15c2c4bdd3c735c4fcc72..24e3ac6deff61a37dfcb46eb662c59fa5215a501:/qutebrowser/config.py diff --git a/qutebrowser/config.py b/qutebrowser/config.py index be791d6..0d44d35 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -108,7 +108,7 @@ c.auto_save.session = True ## key. Note that when a key is bound (via `bindings.default` or ## `bindings.commands`), the mapping is ignored. ## Type: Dict -# c.bindings.key_mappings = {'': '', '': '', '': '', '': '', '': '', '': '', '': '', '': '', '': ''} +c.bindings.key_mappings = {'': '', '': '', '': '', '': '', '': '', '': '', '': '', '': ''} ## When to show a changelog after qutebrowser was upgraded. ## Type: String @@ -527,7 +527,9 @@ c.content.headers.accept_language = 'en-UK;q=1.0, en;q=0.9, de;q=0.7, fr;q=0.7, ## - none: Disable access to clipboard. ## - access: Allow reading from and writing to the clipboard. ## - access-paste: Allow accessing the clipboard and pasting clipboard content. -# c.content.javascript.clipboard = 'none' +c.content.javascript.clipboard = 'none' +config.set('content.javascript.clipboard', 'access', '*://*.gitlab.com/*') +config.set('content.javascript.clipboard', 'access', '*://*.github.com/*') ## Enable JavaScript. ## Type: Bool @@ -1267,7 +1269,7 @@ c.input.insert_mode.leave_on_load = True ## - last-opened: Open new tabs in the last (newest) opened window. ## - last-focused: Open new tabs in the most recently focused window. ## - last-visible: Open new tabs in the most recently visible window. -# c.new_instance_open_target_window = 'last-focused' +c.new_instance_open_target_window = 'last-visible' ## Show a filebrowser in download prompts. ## Type: Bool @@ -1792,13 +1794,14 @@ c.tabs.select_on_remove = 'prev' ## the search engine name to the search term, e.g. `:open google ## qutebrowser`. ## Type: Dict -c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?t=chakra&q={}', - 'ddg': 'https://duckduckgo.com/?t=chakra&q={}', - 'cdda': 'https://nornagon.github.io/cdda-guide/?v=0.F-2#/search/{}', - 'slack': 'https://focalpointpositioning.slack.com/messages/{}', - 'std': 'http://en.cppreference.com/mwiki/index.php?title=Special%3ASearch&search={}', - 'hoogle': 'https://hoogle.haskell.org/?hoogle={}', - 'h': 'https://hoogle.haskell.org/?hoogle={}', +c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?t=chakra&q={}', + 'ddg': 'https://duckduckgo.com/?t=chakra&q={}', + 'cdda': 'https://nornagon.github.io/cdda-guide/?v=0.F-2#/search/{}', + 'std': 'http://en.cppreference.com/mwiki/index.php?title=Special%3ASearch&search={}', + 'hoogle': 'https://hoogle.haskell.org/?hoogle={}', + 'h': 'https://hoogle.haskell.org/?hoogle={}', + 'fpp/slack': 'https://focalpointpositioning.slack.com/messages/{}', + 'fpp/confluence': 'https://fppnt.atlassian.net/wiki/search?text={}', } ## Page(s) to open at the start.