From ee0e8f2361dca7810a860aac448c4dfaf36accb1 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Thu, 22 Jul 2021 12:04:05 +0200 Subject: Updated qutebrowser to use searx instead of duckduckgo --- config/qutebrowser/config.py | 4 ++-- config/vim/vimrc | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index 831c3e1..2768365 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -27,8 +27,8 @@ c.aliases = { c.url.start_pages = ['https://searx.cacharle.xyz'] c.url.searchengines = { - # 'DEFAULT': 'https://searx.cacharle.xyz?q={}', - 'DEFAULT': 'https://duckduckgo.com/?q={}', + 'DEFAULT': 'https://searx.cacharle.xyz?q={}', + # 'DEFAULT': 'https://duckduckgo.com/?q={}', 'd': 'https://duckduckgo.com/?q={}', 'g': 'https://google.com/?q={}', 'y': 'https://www.youtube.com/results?search_query={}', diff --git a/config/vim/vimrc b/config/vim/vimrc index 13e5220..7d2441b 100644 --- a/config/vim/vimrc +++ b/config/vim/vimrc @@ -272,6 +272,7 @@ augroup vimrc_files autocmd Filetype vim setlocal foldmethod=marker " vim fold method to marker autocmd FileType haskell set formatprg=stylish-haskell autocmd FileType lisp,html,css,htmldjango setlocal shiftwidth=2 + autocmd Filetype markdown nnoremap r :execute 'silent !pandoc % -o %:r.pdf &' \| redraw! \| echom 'Converting to pdf: ' . expand('%:r') . '.pdf' augroup END " }}} @@ -334,5 +335,3 @@ nnoremap ss :setlocal spell! hi link juliaFunctionCall Identifier hi link juliaParDelim Delimiter - -autocmd Filetype markdown nnoremap r :execute 'silent !pandoc % -o %:r.pdf &' \| redraw! \| echom 'Converting to pdf: ' . expand('%:r') . '.pdf' -- cgit From 099ed1ef52a021c43feaf69d5d9c946409b947fd Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Thu, 22 Jul 2021 19:38:26 +0200 Subject: Added keynav to move the cursor without a mouse --- config/keynav/keynavrc | 45 +++++++++++++++++++++++++++++++++++++++++++++ config/x11/xinitrc | 1 + 2 files changed, 46 insertions(+) create mode 100644 config/keynav/keynavrc diff --git a/config/keynav/keynavrc b/config/keynav/keynavrc new file mode 100644 index 0000000..d612648 --- /dev/null +++ b/config/keynav/keynavrc @@ -0,0 +1,45 @@ +# default configuration from `man keynav` +clear +# ctrl+semicolon start +Escape end +ctrl+bracketleft end +# q record ~/.keynav_macros +shift+at playback +a history-back +h cut-left +j cut-down +k cut-up +l cut-right +shift+h move-left +shift+j move-down +shift+k move-up +shift+l move-right +space warp,click 1,end +Return warp,click 1,end +semicolon warp,end +w warp +t windowzoom +c cursorzoom 300 300 +e end +1 click 1 +2 click 2 +3 click 3 +ctrl+h cut-left +ctrl+j cut-down +ctrl+k cut-up +ctrl+l cut-right +y cut-left,cut-up +u cut-right,cut-up +b cut-left,cut-down +n cut-right,cut-down +shift+y move-left,move-up +shift+u move-right,move-up +shift+b move-left,move-down +shift+n move-right,move-down +ctrl+y cut-left,cut-up +ctrl+u cut-right,cut-up +ctrl+b cut-left,cut-down +ctrl+n cut-right,cut-down + +# More consistent, ctrl for application, super for display +Super_L+semicolon start diff --git a/config/x11/xinitrc b/config/x11/xinitrc index 5eae132..4e7353e 100755 --- a/config/x11/xinitrc +++ b/config/x11/xinitrc @@ -1,5 +1,6 @@ #!/bin/sh +keynav demonize # moving the cursor around without the mouse redshift & # filter blue light dunst & # notification daemon # certain event cause rate to reset (https://wiki.archlinux.org/title/Xorg/Keyboard_configuration) -- cgit From 3cec0350754c8ac948df5b857baa5dfd5e93bb45 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 23 Jul 2021 07:12:30 +0200 Subject: Fixing keynav launch typo --- config/x11/xinitrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/x11/xinitrc b/config/x11/xinitrc index 4e7353e..dfe9ab6 100755 --- a/config/x11/xinitrc +++ b/config/x11/xinitrc @@ -1,6 +1,6 @@ #!/bin/sh -keynav demonize # moving the cursor around without the mouse +keynav daemonize # moving the cursor around without the mouse redshift & # filter blue light dunst & # notification daemon # certain event cause rate to reset (https://wiki.archlinux.org/title/Xorg/Keyboard_configuration) -- cgit