diff --git a/.config/qutebrowser/config-kiosk.py b/.config/qutebrowser/config-kiosk.py index b92d2c7..4f57d5d 100644 --- a/.config/qutebrowser/config-kiosk.py +++ b/.config/qutebrowser/config-kiosk.py @@ -3,3 +3,8 @@ config.load_autoconfig(False) c.tabs.show = 'never' c.statusbar.show = 'never' c.auto_save.session = False + +c.url.start_pages = ['https://rustplatz.live/'] + +config.bind('', 'tab-next') +config.bind('', 'tab-prev') diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index d787391..3b6c9fd 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -25,9 +25,10 @@ config.bind(',B', 'hint links spawn brave {hint-url}') config.bind(',j', 'spawn --userscript format_json') -config.bind(',s', 'spawn steam steam://openurl/{url}') +config.bind(',g', 'open {url:scheme}://github1s.com{url:path}{url:query}') config.bind(',rr', 'open {url:scheme}://removeddit.com{url:path}{url:query}') config.bind(',rt', 'open {url:scheme}://reddit.tube{url:path}{url:query}') +config.bind(',s', 'spawn steam steam://openurl/{url}') PASS_SCRIPT_DEFAULT = 'spawn --userscript qute-pass --no-insert-mode --username-target secret --username-pattern "login: (.+)" ' config.bind(',p', PASS_SCRIPT_DEFAULT) diff --git a/.config/vim/vimrc b/.config/vim/vimrc index 9328f8b..8843c0a 100644 --- a/.config/vim/vimrc +++ b/.config/vim/vimrc @@ -1,5 +1,12 @@ set runtimepath+=~/.config/vim,~/.config/vim/after -set viminfo+=n~/.cache/viminfo + +if has('nvim') + " Neovim specific commands + set viminfo+=n~/.cache/nviminfo +else + " Standard vim specific commands + set viminfo+=n~/.cache/viminfo +endif " Plug plugins using VimPlug call plug#begin('~/.config/vim/plugged') @@ -20,6 +27,8 @@ call plug#begin('~/.config/vim/plugged') Plug 'lervag/vimtex' Plug 'fatih/vim-go' Plug 'machakann/vim-swap' + Plug 'tpope/vim-sleuth' + Plug 'neoclide/coc.nvim', { 'branch': 'release' } call plug#end() packadd termdebug @@ -138,3 +147,23 @@ let g:tex_flavor = 'latex' let g:vimtex_compiler_latexmk = { \ 'build_dir': 'latexmk_output' \} + + +inoremap pumvisible() ? "\" : "\" +inoremap pumvisible() ? "\" : "\" + +inoremap coc#refresh() + +"GoTo code navigation +nmap g +nmap gd (coc-definition) +nmap gt (coc-type-definition) +nmap gi (coc-implementation) +nmap gr (coc-references) + +nmap rn (coc-rename) + +"show all diagnostics. +nnoremap d :CocList diagnostics +"manage extensions. +nnoremap e :CocList extensions