This commit is contained in:
Jeff Lance 2023-09-07 18:11:06 +02:00
parent 59cb54eb08
commit 59dcba354a
5 changed files with 236 additions and 232 deletions

View File

@ -399,6 +399,18 @@ c.backend = "webengine"
## Type: QtColor
# c.colors.webpage.bg = 'white'
c.colors.webpage.darkmode.algorithm = "lightness-cielab"
c.colors.webpage.darkmode.contrast
c.colors.webpage.darkmode.enabled = True
c.colors.webpage.darkmode.grayscale.all = False
c.colors.webpage.darkmode.grayscale.images = 0.0
c.colors.webpage.darkmode.increase_text_contrast = False
c.colors.webpage.darkmode.policy.images = "smart"
c.colors.webpage.darkmode.policy.page = "smart"
c.colors.webpage.darkmode.threshold.background = 0
c.colors.webpage.darkmode.threshold.text = 256
c.colors.webpage.preferred_color_scheme = "auto"
## Number of commands to save in the command history. 0: no history / -1:
## unlimited
## Type: Int
@ -482,7 +494,7 @@ c.completion.timestamp_format = "%d/%m/%Y"
## - multiple-tabs: Show a confirmation if multiple tabs are opened.
## - downloads: Show a confirmation if downloads are running
## - never: Never show a confirmation.
# c.confirm_quit = ['never']
# c.confirm_quit = ['downloads', 'multiple-tabs']
## Automatically start playing `<video>` elements. Note: On Qt < 5.11,
## this option needs a restart and does not support URL patterns.
@ -596,7 +608,7 @@ c.content.headers.do_not_track = True
## Type: String
# c.content.headers.user_agent = None
c.content.headers.user_agent = (
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/115.2"
)
## Enable host blocking.
@ -857,56 +869,61 @@ c.editor.encoding = "utf-8"
## Font used in the completion categories.
## Type: Font
c.fonts.completion.category = "12pt Hack Bold Nerd Font Mono"
c.fonts.completion.category = "12pt FantasqueSansMono Nerd Font Bold"
## Font used in the completion widget.
## Type: Font
c.fonts.completion.entry = "12pt Hack Nerd Font Mono"
c.fonts.completion.entry = "12pt FantasqueSansMono Nerd Font Mono"
## Font used for the debugging console.
## Type: QtFont
c.fonts.debug_console = "12pt Hack Nerd Font Mono"
c.fonts.debug_console = "12pt FantasqueSansMono Nerd Font Mono"
## Default font families to use. Whenever "default_family" is used in a font setting,
## its replaced with the fonts listed here. If set to an empty value,
## a system-specific monospace default is used.
## Type: List of Font, or Font
## Default: empty
c.fonts.default_family = []
## Default font size to use.
## Whenever "default_size" is used in a font setting, its replaced with the size listed here.
## Valid values are either a float value with a "pt" suffix, or an integer value with a "px" suffix.
## Type: String
## Default: 10pt
c.fonts.default_size = "12pt"
## Font used for the downloadbar.
## Type: Font
c.fonts.downloads = "12pt Hack Nerd Font Mono"
c.fonts.downloads = "12pt FantasqueSansMono Nerd Font Mono"
## Font used for the hints.
## Type: Font
c.fonts.hints = "bold 12pt Hack Nerd Font Mono"
c.fonts.hints = "bold 12pt FantasqueSansMono Nerd Font Mono"
## Font used in the keyhint widget.
## Type: Font
c.fonts.keyhint = "12pt Hack Nerd Font Mono"
c.fonts.keyhint = "12pt FantasqueSansMono Nerd Font Mono"
## Font used for error messages.
## Type: Font
c.fonts.messages.error = "12pt Hack Nerd Font Mono"
c.fonts.messages.error = "12pt FantasqueSansMono Nerd Font Mono"
## Font used for info messages.
## Type: Font
c.fonts.messages.info = "12pt Hack Nerd Font Mono"
c.fonts.messages.info = "12pt FantasqueSansMono Nerd Font Mono"
## Font used for warning messages.
## Type: Font
c.fonts.messages.warning = "11pt Hack Nerd Font Mono"
## Default monospace fonts. Whenever "monospace" is used in a font
## setting, it's replaced with the fonts listed here.
## Type: Font
# c.fonts.monospace = '"Hack Nerd Font Mono", "DejaVu Sans Mono", Hack, "xos4 Terminus", Terminus, Monospace, Monaco, "Bitstream Vera Sans Mono", "Andale Mono", "Courier New", Courier, "Liberation Mono", monospace, Fixed, Consolas, Terminal'
c.fonts.messages.warning = "12pt FantasqueSansMono Nerd Font Mono"
## Font used for prompts.
## Type: Font
c.fonts.prompts = "11pt Hack Nerd Font Mono"
c.fonts.prompts = "12pt FantasqueSansMono Nerd Font Mono"
## Font used in the statusbar.
## Type: Font
c.fonts.statusbar = "12pt Hack Nerd Font Mono"
## Font used in the tab bar.
## Type: QtFont
# c.fonts.tabs = '12pt Hack Nerd Font Mono'
c.fonts.statusbar = "12pt FantasqueSansMono Nerd Font Mono"
## Font family for cursive fonts.
## Type: FontFamily
@ -1284,7 +1301,7 @@ c.spellcheck.languages = ["fr-FR", "en-US"]
## Padding (in pixels) for the statusbar.
## Type: Padding
# c.statusbar.padding = {'top': 1, 'bottom': 1, 'left': 0, 'right': 0}
c.statusbar.padding = {"top": 1, "bottom": 1, "left": 1, "right": 1}
## Position of the status bar.
## Type: VerticalPosition
@ -1303,7 +1320,7 @@ c.spellcheck.languages = ["fr-FR", "en-US"]
## - tabs: Current active tab, e.g. `2`.
## - keypress: Display pressed keys when composing a vi command.
## - progress: Progress bar for the current page loading.
# c.statusbar.widgets = ['keypress', 'url', 'scroll', 'history', 'tabs', 'progress']
c.statusbar.widgets = ["keypress", "history", "url", "scroll", "tabs", "progress"]
## Open new tabs (middleclick/ctrl+click) in the background.
## Type: Bool
@ -1414,15 +1431,15 @@ c.tabs.new_position.unrelated = "last"
## Padding (in pixels) around text for tabs.
## Type: Padding
# c.tabs.padding = {'top': 0, 'bottom': 0, 'left': 5, 'right': 5}
c.tabs.padding = {"top": 15, "bottom": 15, "left": 15, "right": 15}
## Force pinned tabs to stay at fixed URL.
## Type: Bool
# c.tabs.pinned.frozen = True
c.tabs.pinned.frozen = True
## Shrink pinned tabs down to their contents.
## Type: Bool
# c.tabs.pinned.shrink = True
c.tabs.pinned.shrink = True
## Position of the tab bar.
## Type: Position
@ -1449,7 +1466,7 @@ c.tabs.select_on_remove = "prev"
## - never: Always hide the tab bar.
## - multiple: Hide the tab bar if only one tab is open.
## - switching: Show the tab bar when switching tabs.
# c.tabs.show = 'always'
c.tabs.show = "always"
## Duration (in milliseconds) to show the tab bar before hiding it when
## tabs.show is set to 'switching'.
@ -1480,12 +1497,12 @@ c.tabs.select_on_remove = "prev"
## `{protocol}`: Protocol (http/https/...) of the current web page. *
## `{audio}`: Indicator for audio/mute status.
## Type: FormatString
# c.tabs.title.format = '{audio}{index}: {title}'
c.tabs.title.format = "{audio}{aligned_index}: {current_title}"
## Format to use for the tab title for pinned tabs. The same placeholders
## like for `tabs.title.format` are defined.
## Type: FormatString
# c.tabs.title.format_pinned = '{index}'
c.tabs.title.format_pinned = "{audio}{aligned_index}: {current_title}"
## Width (in pixels or as percentage of the window) of the tab bar if
## it's vertical.
@ -1602,6 +1619,7 @@ config.unbind("<Ctrl-Shift-w>", mode="normal")
config.unbind("<Back>", mode="normal")
config.unbind("<Forward>", mode="normal")
config.unbind("@", mode="normal")
config.unbind("b", mode="normal")
config.unbind("B", mode="normal")
config.unbind("d", mode="normal")
@ -1611,12 +1629,13 @@ config.unbind("L", mode="normal")
config.unbind("m", mode="normal")
config.unbind("M", mode="normal")
config.unbind("o", mode="normal")
config.unbind("q", mode="normal")
# global moves
config.bind(";;", "mode-leave", mode="insert")
config.bind(";;", "leave-mode", mode="passthrough")
config.bind("<F5>", "reload")
config.bind("<Ctrl-l>", "set-cmd-text -s :open")
config.bind("<Ctrl-l>", "cmd-set-text -s :open")
# in page moves
config.bind("<Alt-Left>", "back")
@ -1637,8 +1656,8 @@ config.bind("tg", "tab-give")
config.bind("<Ctrl-Shift-w>", "close")
# quickmarks
config.bind("b", "set-cmd-text -s :quickmark-load")
config.bind("B", "set-cmd-text -s :quickmark-load -t")
config.bind("b", "cmd-set-text -s :quickmark-load")
config.bind("B", "cmd-set-text -s :quickmark-load -t")
config.bind("m", "quickmark-save")
config.bind("dc", "download-clear")
@ -1677,7 +1696,7 @@ config.bind("csu", "config-cycle -p -t -u {url} content.javascript.enabled ;; re
# password_fill
config.bind(
"Qa",
"qa",
"spawn --userscript \
~/.config/qutebrowser/userscripts/password_fill",
)
@ -1688,8 +1707,8 @@ config.bind(
# config.bind('+', 'zoom-in')
# config.bind('-', 'zoom-out')
# config.bind('.', 'repeat-command')
# config.bind('/', 'set-cmd-text /')
# config.bind(':', 'set-cmd-text :')
# config.bind('/', 'cmd-set-text /')
# config.bind(':', 'cmd-set-text :')
# config.bind(';I', 'hint images tab')
# config.bind(';O', 'hint links fill :open -t -r {hint-url}')
# config.bind(';R', 'hint --rapid links window')
@ -1745,9 +1764,9 @@ config.bind(
# config.bind('<back>', 'back')
# config.bind('<forward>', 'forward')
# config.bind('=', 'zoom')
# config.bind('?', 'set-cmd-text ?')
# config.bind('?', 'cmd-set-text ?')
# config.bind('@', 'run-macro')
# config.bind('B', 'set-cmd-text -s :quickmark-load -t')
# config.bind('B', 'cmd-set-text -s :quickmark-load -t')
# config.bind('D', 'tab-close -o')
# config.bind('F', 'hint all tab')
# config.bind('G', 'scroll-to-perc')
@ -1757,7 +1776,7 @@ config.bind(
# config.bind('L', 'forward')
# config.bind('M', 'bookmark-add')
# config.bind('N', 'search-prev')
# config.bind('O', 'set-cmd-text -s :open -t')
# config.bind('O', 'cmd-set-text -s :open -t')
# config.bind('PP', 'open -t -- {primary}')
# config.bind('Pp', 'open -t -- {clipboard}')
# config.bind('R', 'reload -f')
@ -1772,30 +1791,30 @@ config.bind(
# config.bind(']]', 'navigate next')
# config.bind('`', 'enter-mode set_mark')
# config.bind('ad', 'download-cancel')
# config.bind('b', 'set-cmd-text -s :quickmark-load')
# config.bind('b', 'cmd-set-text -s :quickmark-load')
# config.bind('cd', 'download-clear')
# config.bind('co', 'tab-only')
# config.bind('d', 'tab-close')
# config.bind('f', 'hint')
# config.bind('g$', 'tab-focus -1')
# config.bind('g0', 'tab-focus 1')
# config.bind('gB', 'set-cmd-text -s :bookmark-load -t')
# config.bind('gB', 'cmd-set-text -s :bookmark-load -t')
# config.bind('gC', 'tab-clone')
# config.bind('gD', 'tab-give')
# config.bind('gO', 'set-cmd-text :open -t -r {url:pretty}')
# config.bind('gO', 'cmd-set-text :open -t -r {url:pretty}')
# config.bind('gU', 'navigate up -t')
# config.bind('g^', 'tab-focus 1')
# config.bind('ga', 'open -t')
# config.bind('gb', 'set-cmd-text -s :bookmark-load')
# config.bind('gb', 'cmd-set-text -s :bookmark-load')
# config.bind('gd', 'download')
# config.bind('gf', 'view-source')
# config.bind('gg', 'scroll-to-perc 0')
# config.bind('gi', 'hint inputs --first')
# config.bind('gl', 'tab-move -')
# config.bind('gm', 'tab-move')
# config.bind('go', 'set-cmd-text :open {url:pretty}')
# config.bind('go', 'cmd-set-text :open {url:pretty}')
# config.bind('gr', 'tab-move +')
# config.bind('gt', 'set-cmd-text -s :buffer')
# config.bind('gt', 'cmd-set-text -s :buffer')
# config.bind('gu', 'navigate up')
# config.bind('h', 'scroll left')
# config.bind('i', 'enter-mode insert')
@ -1804,15 +1823,15 @@ config.bind(
# config.bind('l', 'scroll right')
# config.bind('m', 'quickmark-save')
# config.bind('n', 'search-next')
# config.bind('o', 'set-cmd-text -s :open')
# config.bind('o', 'cmd-set-text -s :open')
# config.bind('pP', 'open -- {primary}')
# config.bind('pp', 'open -- {clipboard}')
# config.bind('q', 'record-macro')
# config.bind('r', 'reload')
# config.bind('sf', 'save')
# config.bind('sk', 'set-cmd-text -s :bind')
# config.bind('sl', 'set-cmd-text -s :set -t')
# config.bind('ss', 'set-cmd-text -s :set')
# config.bind('sk', 'cmd-set-text -s :bind')
# config.bind('sl', 'cmd-set-text -s :set -t')
# config.bind('ss', 'cmd-set-text -s :set')
# config.bind('tIH', 'config-cycle -p -u *://*.{url:host}/* content.images ;; reload')
# config.bind('tIh', 'config-cycle -p -u *://{url:host}/* content.images ;; reload')
# config.bind('tIu', 'config-cycle -p -u {url} content.images ;; reload')
@ -1835,18 +1854,18 @@ config.bind(
# config.bind('tsu', 'config-cycle -p -t -u {url} content.javascript.enabled ;; reload')
# config.bind('u', 'undo')
# config.bind('v', 'enter-mode caret')
# config.bind('wB', 'set-cmd-text -s :bookmark-load -w')
# config.bind('wO', 'set-cmd-text :open -w {url:pretty}')
# config.bind('wB', 'cmd-set-text -s :bookmark-load -w')
# config.bind('wO', 'cmd-set-text :open -w {url:pretty}')
# config.bind('wP', 'open -w -- {primary}')
# config.bind('wb', 'set-cmd-text -s :quickmark-load -w')
# config.bind('wb', 'cmd-set-text -s :quickmark-load -w')
# config.bind('wf', 'hint all window')
# config.bind('wh', 'back -w')
# config.bind('wi', 'inspector')
# config.bind('wl', 'forward -w')
# config.bind('wo', 'set-cmd-text -s :open -w')
# config.bind('wo', 'cmd-set-text -s :open -w')
# config.bind('wp', 'open -w -- {clipboard}')
# config.bind('xO', 'set-cmd-text :open -b -r {url:pretty}')
# config.bind('xo', 'set-cmd-text -s :open -b')
# config.bind('xO', 'cmd-set-text :open -b -r {url:pretty}')
# config.bind('xo', 'cmd-set-text -s :open -b')
# config.bind('yD', 'yank domain -s')
# config.bind('yM', 'yank markdown -s')
# config.bind('yP', 'yank pretty-url -s')
@ -1976,5 +1995,5 @@ config.bind(
## Theme
config.source("themes/onedark/onedark.py")
c.colors.tabs.selected.even.fg = "#ff79c6"
c.colors.tabs.selected.odd.fg = "#ff79c6"
# c.colors.tabs.selected.even.fg = "#ff79c6"
# c.colors.tabs.selected.odd.fg = "#ff79c6"

View File

@ -1,35 +1,34 @@
1.. ---
Banque Populaire - https://www.rivesparis.banquepopulaire.fr/portailinternet/Pages/default.aspx
Livry-Gargan - Espace familles https://livrygargan.portail-familles.com/livrygargan/index.html
2.. ---
Travail - ENT https://ent.iledefrance.fr/timeline/timeline
ENT IdF https://ent.iledefrance.fr/timeline/timeline
Osmose https://osmose.numerique.gouv.fr/plugins/DINUMThemePlugin/jsp/front/privateLoginOsmose.jsp?redirect=https%3A%2F%2Fosmose.numerique.gouv.fr%2Fjcms%2F
3.. ---
Cloud Azure - https://portal.azure.com/#home
DAC - http://192.168.0.130/playback
Diskstation1 - Accueil https://diskstation1.loc:5001/
Diskstation1 - Audio https://diskstation1.loc/audio
Diskstation1 - Squeezebox http://diskstation1.loc:9000/
Diskstation1 - UrBackup http://diskstation1.loc:55414/
Diskstation1 - Accueil https://diskstation1.local:5001/
Diskstation1 - Audio https://diskstation1.local/audio
Diskstation1 - Squeezebox http://diskstation1.local:9000/
Diskstation1 - UrBackup http://diskstation1.local:55414/
INA https://ina.mala.fr
MaLa - Cloud https://cloud.mala.fr
Thermostat - https://my.netatmo.com/app/energy
4.. --
Gandi - Manager https://id.gandi.net/fr/login?redirect=https%3A%2F%2Fid.gandi.net%2Ffr%2Fauthorize%3Fclient_id%3D56a74aae-7f20-11e5-93d5-00163e60d80f%26response_type%3Dcode%26redirect_uri%3Dhttps%253A%252F%252Fadmin.gandi.net%252Fdashboard%252Fapi%252Fv5%252Flogin%26state%3D3cebeb061b
OVH - Manager https://www.ovh.com/auth/?action=disconnect&onsuccess=https%3A%2F%2Fwww.ovh.com%2Fmanager%2Fweb%2F%23%2Fconfiguration
5.. ---
Mail - Créteil https://webmel.ac-creteil.fr/iwc_static/layout/login.html?lang=fr&3.0.1.3.0_16070513&svcs=calendar,abs,mail,c11n
Mail - GMail mathslance https://mail.google.com/mail/u/1/#inbox
Mail - GMail jeff.lance https://mail.google.com/mail/u/0/#inbox
Mail - OVH https://www.ovh.com/fr/mail/
Mail - Gandi https://webmail.gandi.net/SOGo/
6.. ---
RSI - Carte stellaire https://robertsspaceindustries.com/starmap?location=STANTON.MOONS.ARIAL&system=STANTON&camera=76.56,74.11,0.0002,0.0000567,0.0000239
RSI - Accueil https://robertsspaceindustries.com/
RSI - Spectrum https://robertsspaceindustries.com/spectrum/community/SC
7.. ---
Paroles https://cse.google.com/cse?cx=004234001817710914369:abwpkdjsfq7
Recherche de paroles - https://cse.google.com/cse?cx=004234001817710914369:abwpkdjsfq7
Recherche de paroles https://cse.google.com/cse?cx=004234001817710914369:abwpkdjsfq7
8.. ---
Symfony https://symfony.com/doc/6.2/the-fast-track/fr/index.html

View File

@ -7,22 +7,25 @@
# base16 colors but with variable names that
# reflect what the color is mainly used for
bg_default = "#282c34" # main shade darkest
bg_default = "#111111"
bg_lighter = "#353b45"
bg_lightest = "#c8ccd4" # main shade lightest
bg_selection = "#3e4451"
# "#545862"
bg_passthrough_mode = "#56b6c2" # teal
bg_insert_mode = "#61afef" # blue
bg_warning = "#c678dd" # purple
fg_selection = "#98c379"
fg_pinned = "#ee4427"
fg_disabled = "#565c64"
fg_default = "#abb2bf"
# "#b6bdca"
bg_lightest = "#c8ccd4" # main shade lightest
fg_error = "#e06c75" # red
# "#d19a66" # orange
bg_hint = "#e5c07b" # yellow
fg_matched_text = "#98c379" # green
bg_passthrough_mode = "#56b6c2" # teal
bg_insert_mode = "#61afef" # blue
bg_warning = "#c678dd" # purple
fg_error = "#e06c75" # red
bg_hint = "#e5c07b" # yellow
fg_matched_text = "#98c379" # green
# "#be5046" # dark red
# "#282c34" # main shade darkest
# "#d19a66" # orange
# "#b6bdca"
# "#545862"
############
# SETTINGS #
@ -84,12 +87,12 @@ c.colors.contextmenu.disabled.fg = fg_disabled
c.colors.contextmenu.menu.bg = bg_default
# Foreground color of the context menu. If set to null, the Qt default is used.
c.colors.contextmenu.menu.fg = fg_default
c.colors.contextmenu.menu.fg = fg_default
# Background color of the context menus selected item. If set to null, the Qt default is used.
c.colors.contextmenu.selected.bg = bg_selection
#Foreground color of the context menus selected item. If set to null, the Qt default is used.
# Foreground color of the context menus selected item. If set to null, the Qt default is used.
c.colors.contextmenu.selected.fg = fg_default
# Background color for the download bar.
@ -258,7 +261,7 @@ c.colors.tabs.indicator.error = fg_error
c.colors.tabs.odd.fg = fg_default
# Background color of unselected odd tabs.
c.colors.tabs.odd.bg = bg_lighter
c.colors.tabs.odd.bg = bg_default
# Foreground color of unselected even tabs.
c.colors.tabs.even.fg = fg_default
@ -267,41 +270,41 @@ c.colors.tabs.even.fg = fg_default
c.colors.tabs.even.bg = bg_default
# Background color of pinned unselected even tabs.
c.colors.tabs.pinned.even.bg = bg_passthrough_mode
c.colors.tabs.pinned.even.bg = bg_default
# Foreground color of pinned unselected even tabs.
c.colors.tabs.pinned.even.fg = bg_lightest
c.colors.tabs.pinned.even.fg = fg_pinned
# Background color of pinned unselected odd tabs.
c.colors.tabs.pinned.odd.bg = fg_matched_text
c.colors.tabs.pinned.odd.bg = bg_default
# Foreground color of pinned unselected odd tabs.
c.colors.tabs.pinned.odd.fg = bg_lightest
c.colors.tabs.pinned.odd.fg = fg_pinned
# Background color of pinned selected even tabs.
c.colors.tabs.pinned.selected.even.bg = bg_selection
c.colors.tabs.pinned.selected.even.bg = bg_default
# Foreground color of pinned selected even tabs.
c.colors.tabs.pinned.selected.even.fg = fg_default
c.colors.tabs.pinned.selected.even.fg = fg_selection
# Background color of pinned selected odd tabs.
c.colors.tabs.pinned.selected.odd.bg = bg_selection
c.colors.tabs.pinned.selected.odd.bg = bg_default
# Foreground color of pinned selected odd tabs.
c.colors.tabs.pinned.selected.odd.fg = fg_default
c.colors.tabs.pinned.selected.odd.fg = fg_selection
# Foreground color of selected odd tabs.
c.colors.tabs.selected.odd.fg = fg_default
c.colors.tabs.selected.odd.fg = fg_selection
# Background color of selected odd tabs.
c.colors.tabs.selected.odd.bg = bg_selection
c.colors.tabs.selected.odd.bg = bg_default
# Foreground color of selected even tabs.
c.colors.tabs.selected.even.fg = fg_default
c.colors.tabs.selected.even.fg = fg_selection
# Background color of selected even tabs.
c.colors.tabs.selected.even.bg = bg_selection
c.colors.tabs.selected.even.bg = bg_default
# Background color for webpages if unset (or empty to use the theme's
# color).
# c.colors.webpage.bg = bg_default
c.colors.webpage.bg = bg_default

View File

@ -250,20 +250,30 @@ alias travel scout -aefiklst
# == Define keys for the browser
# ===================================================================
# Unmap anything
#
unmap <C-r> <C-l> <C-d> <C-h> <C-m> <C-n> <C-q>
unmap <C-a>
unmap <C-v> <C-x> <C-c>
unmap <C-t> <C-w>
unmap n
unmap A a c d G m n o p S s y z
unmap gl gr ge gh gn go gR gs gT gt gu
unmap ud um uq ut uV uv uy
# Return to normal mode
#
map <ESC> change_mode normal
# <Fx> commands
#
map <F1> help
map <F2> eval fm.execute_console("bulkrename") if fm.thisdir.marked_items else fm.open_console('rename ' + fm.thisfile.relative_path.replace("%", "%%"))
map <F3> console scout -ftsea%space
map <F4> shell $SHELL -c "cd %d; $SHELL"
map <F5> reload_cwd
# Moves
#
map <UP> move up=1
map <DOWN> move down=1
map <LEFT> move left=1
@ -273,127 +283,110 @@ map <END> move to=-1
map <PAGEDOWN> move down=1 pages=True
map <PAGEUP> move up=1 pages=True
map <CR> move right=1
# map <DELETE> console delete
map <DELETE> shell trash-put %s
map <INSERT> console touch%space
# Jumping around
map <A-LEFT> history_go -1
map <A-RIGHT> history_go 1
map <A-DOWN> move_parent 1
map <A-UP> move_parent -1
#map } traverse
map <C-r> reset
map <C-l> redraw_window
map <C-q> abort
map <C-h> set show_hidden!
# Goto moves
#
# to anywhere
map cd console cd%space
# to home dirs
map g~ cd ~/
map g. cd ~/dotfiles/
map gc cd ~/Cours/
map gd cd ~/Documents/
map gm cd ~/Musique/
map gp cd ~/Projets/
map gv cd ~/Vidéos/
# to global dirs
map g/ cd /
map gD cd /dev
map gE cd /etc
map gL cd -r %f
map gM cd /mnt
map gO cd /opt
map gS cd /srv
map gU cd /usr
map gV cd /var
# Control moves
#
map <C-c> copy
map <C-h> set show_hidden!
map <C-l> redraw_window
map <C-q> abort
map <C-r> reset
map <C-v> paste append=True
map <C-x> cut
# Tabs
#
map <C-t> tab_new ~
map <C-w> tab_close
map <TAB> tab_move 1
map <S-TAB> tab_move -1
# Specs commands
#
map i display_file
map q quit
map r chain draw_possible_programs; console -p10 open_with f
map : console
map ! console shell%space
map cd console cd%space
map ~ set viewmode!
map = console chmod%space
map ? help
map i display_file
map Q quit!
map q quit
map r chain draw_possible_programs; console -p10 open_with f
map W display_log
map w taskview_open
map Q quit!
map W display_log
map w taskview_open
# Change the line mode
map Mf linemode filename
map Mi linemode fileinfo
map Mm linemode mtime
map Mp linemode permissions
map Ms linemode sizemtime
map Mt linemode metatitle
#
map mf linemode filename
map mi linemode fileinfo
map mm linemode mtime
map mp linemode permissions
map ms linemode sizemtime
map mt linemode metatitle
# New
# New objects
#
map nf console touch%space
map nd console mkdir%space
map nl console shell ln -s%space
# Tagging / Marking
#
map t tag_toggle
map T<any> tag_toggle tag=%any
map <Space> mark_files toggle=True
map <C-a> mark_files all=True toggle=True
#map v mark_files all=True toggle=True
#map uv mark_files all=True val=False
map V toggle_visual_mode
#map uV toggle_visual_mode reverse=True
# home dir
map gc cd ~/Cours
map gd cd ~/Documents
map gh cd ~
map gm cd /media/jeff
map gp cd ~/Projets
map gz cd ~/Musique
# global dir
map gE cd /etc
map gU cd /usr
map gD cd /dev
map gL cd -r %f
map gO cd /opt
map gV cd /var
map gM cd /mnt
map gS cd /srv
map gR cd /
# Bookmarks
#
map gb<any> enter_bookmark %any
map B<any> set_bookmark %any
map Bu<any> unset_bookmark %any
map b<bg> draw_bookmarks
# External Programs
#map E edit
#
map du shell -p du --max-depth=1 -h --apparent-size
map dU shell -p du --max-depth=1 -h --apparent-size | sort -rh
map yp shell -f echo -n %d/%f | xsel -i; xsel -o | xsel -i -b
map yd shell -f echo -n %d | xsel -i; xsel -o | xsel -i -b
map yn shell -f echo -n %f | xsel -i; xsel -o | xsel -i -b
map y. yank name_without_extension
# Filesystem Operations
map = console chmod%space
#
map A eval fm.open_console('rename ' + fm.thisfile.relative_path.replace("%", "%%"))
map I eval fm.open_console('rename ' + fm.thisfile.relative_path.replace("%", "%%"), position=7)
map <C-v> paste append=True
#map pp paste
#map po paste overwrite=True
#map pP paste append=True
#map pO paste overwrite=True append=True
#map pl paste_symlink relative=False
#map pL paste_symlink relative=True
#map phl paste_hardlink
#map pht paste_hardlinked_subtree
map dD console delete
map <C-x> cut
#map dd cut
#map ud uncut
#map da cut mode=add
#map dr cut mode=remove
#map dt cut mode=toggle
map <C-c> copy
#map yy copy
#map yy copy
#map uy uncut
#map ya copy mode=add
#map yr copy mode=remove
#map yt copy mode=toggle
# Temporary workarounds
#map dgg eval fm.cut(dirarg=dict(to=0), narg=quantifier)
#map dG eval fm.cut(dirarg=dict(to=-1), narg=quantifier)
#map dj eval fm.cut(dirarg=dict(down=1), narg=quantifier)
#map dk eval fm.cut(dirarg=dict(up=1), narg=quantifier)
#map ygg eval fm.copy(dirarg=dict(to=0), narg=quantifier)
#map yG eval fm.copy(dirarg=dict(to=-1), narg=quantifier)
#map yj eval fm.copy(dirarg=dict(down=1), narg=quantifier)
#map yk eval fm.copy(dirarg=dict(up=1), narg=quantifier)
# Searching
# map / console search%space
# map n search_next
@ -405,11 +398,6 @@ map <C-c> copy
#map cm search_next order=mtime
#map ca search_next order=atime
# Tabs
map <C-t> tab_new ~
map <C-w> tab_close
map <TAB> tab_move 1
map <S-TAB> tab_move -1
#map <TAB> tab_move 1
#map <S-TAB> tab_move -1
#map gt tab_move 1
@ -428,48 +416,43 @@ map <S-TAB> tab_move -1
#map <a-9> tab_open 9
# Sorting
map or set sort_reverse!
map oz set sort=random
map os chain set sort=size; set sort_reverse=False
map ob chain set sort=basename; set sort_reverse=False
map on chain set sort=natural; set sort_reverse=False
map om chain set sort=mtime; set sort_reverse=False
map oc chain set sort=ctime; set sort_reverse=False
map oa chain set sort=atime; set sort_reverse=False
map ot chain set sort=type; set sort_reverse=False
map oe chain set sort=extension; set sort_reverse=False
#
map sr set sort_reverse!
map sz set sort=random
map ss chain set sort=size; set sort_reverse=False
map sb chain set sort=basename; set sort_reverse=False
map sn chain set sort=natural; set sort_reverse=False
map sm chain set sort=mtime; set sort_reverse=False
map sc chain set sort=ctime; set sort_reverse=False
map sa chain set sort=atime; set sort_reverse=False
map st chain set sort=type; set sort_reverse=False
map se chain set sort=extension; set sort_reverse=False
map oS chain set sort=size; set sort_reverse=True
map oB chain set sort=basename; set sort_reverse=True
map oN chain set sort=natural; set sort_reverse=True
map oM chain set sort=mtime; set sort_reverse=True
map oC chain set sort=ctime; set sort_reverse=True
map oA chain set sort=atime; set sort_reverse=True
map oT chain set sort=type; set sort_reverse=True
map oE chain set sort=extension; set sort_reverse=True
map sS chain set sort=size; set sort_reverse=True
map sB chain set sort=basename; set sort_reverse=True
map sN chain set sort=natural; set sort_reverse=True
map sM chain set sort=mtime; set sort_reverse=True
map sC chain set sort=ctime; set sort_reverse=True
map sA chain set sort=atime; set sort_reverse=True
map sT chain set sort=type; set sort_reverse=True
map sE chain set sort=extension; set sort_reverse=True
map dc get_cumulative_size
# Settings
map zc set collapse_preview!
map zd set sort_directories_first!
map zh set show_hidden!
map zI set flushinput!
map zi set preview_images!
map zm set mouse_enabled!
map zp set preview_files!
map zP set preview_directories!
map zs set sort_case_insensitive!
map zu set autoupdate_cumulative_size!
map zv set use_preview_script!
map zf console filter%space
# Bookmarks
map @<any> enter_bookmark %any
map m<any> set_bookmark %any
map um<any> unset_bookmark %any
#map m<bg> draw_bookmarks
#copymap m<bg> um<bg> @<bg>
#
map Sc set collapse_preview!
map Sd set sort_directories_first!
map Sh set show_hidden!
map SI set flushinput!
map Si set preview_images!
map Sm set mouse_enabled!
map Sp set preview_files!
map SP set preview_directories!
map Ss set sort_case_insensitive!
map Su set autoupdate_cumulative_size!
map Sv set use_preview_script!
map Sf console filter%space
# Generate all the chmod bindings with some python help:
eval for arg in "rwxXst": cmd("map +u{0} shell -f chmod u+{0} %s".format(arg))

View File

@ -94,12 +94,12 @@ name ^[mM]akefile$ = make
#--------------------------------------------
# Code
#-------------------------------------------
ext py = python3 -- "$1"
ext pl = perl -- "$1"
ext rb = ruby -- "$1"
ext js = node -- "$1"
ext sh = sh -- "$1"
ext php = php -- "$1"
# ext py = python3 -- "$1"
# ext pl = perl -- "$1"
# ext rb = ruby -- "$1"
# ext js = node -- "$1"
# ext sh = sh -- "$1"
# ext php = php -- "$1"
#--------------------------------------------
# Audio without X