Update configs

This commit is contained in:
Tobias Reisinger 2022-08-30 23:03:21 +02:00
parent e90b442a58
commit 2e4cfc4c6a
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
6 changed files with 19 additions and 14 deletions

View file

@ -13,16 +13,18 @@
tool = vimdiff
[difftool]
prompt = false
trustExitCode = true
[alias]
b = branch -vv
ci = commit -v
cia = commit -v --amend
dt = difftool
d = diff
b = branch -vv
logg = log --graph
logo = log --graph --decorate --oneline --all
diffc = diff --cached
diffs = diff --stat
dc = diff --cached
ds = diff --stat
dt = difftool
dtc = difftool --cached
l = log --graph
lo = log --graph --decorate --oneline --all
[merge]
tool = vim_mergetool

View file

@ -1,6 +1,8 @@
import dracula.draw
def init(c):
c.auto_save.session = True
#c.colors.webpage.darkmode.enabled = True
#c.colors.webpage.darkmode.policy.images = 'never'
c.colors.webpage.preferred_color_scheme = 'dark'
@ -10,6 +12,7 @@ def init(c):
c.content.headers.custom = {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
}
#c.content.headers.user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.63 Safari/537.36"
c.content.tls.certificate_errors = 'block'
c.downloads.position = 'bottom'
@ -26,6 +29,7 @@ def init(c):
c.url.searchengines = {
'DEFAULT': 'https://duckduckgo.com/?q={}',
}
c.url.start_pages = ['rss.serguzim.me', 'open.spotify.com']
dracula.draw.blood(c, {
'spacing': {

View file

@ -5,10 +5,6 @@ config.load_autoconfig()
keybindings.init(config)
common.init(c)
c.auto_save.session = True
c.url.start_pages = ['rss.serguzim.me', 'open.spotify.com']
import socket
if socket.gethostname() == 'portalo':
c.zoom.default = 125

View file

@ -23,6 +23,9 @@ def init(c):
c.bind(',q', 'spawn --userscript qr {url}')
c.bind(',Q', 'hint links spawn --userscript qr {hint-url}')
# cookies
c.bind(',cd', 'jseval document.cookie = "XDEBUG_SESSION=phpstorm; expires=Fri, 01 Jan 9999 00:00:00 GMT; path=/"')
c.bind('<Alt-9>', 'tab-focus 9')
c.bind('<Ctrl-Tab>', 'tab-next')