diff options
| -rw-r--r-- | .pluggins.vim | 21 | ||||
| -rw-r--r-- | .vimrc | 2 | ||||
| -rw-r--r-- | .zshrc | 2 | ||||
| -rw-r--r-- | qutebrowser/config.py | 9 |
4 files changed, 21 insertions, 13 deletions
diff --git a/.pluggins.vim b/.pluggins.vim index 6a58b7e..49c501d 100644 --- a/.pluggins.vim +++ b/.pluggins.vim @@ -3,16 +3,19 @@ """""""""""""""" call plug#begin() - Plug 'ctrlpvim/ctrlp.vim' " Ctrl-P similar to vsc - Plug 'tpope/vim-eunuch' " basic unix command in vim - Plug 'tomtom/tcomment_vim' " mininal commenter - Plug 'itchyny/lightline.vim' " minimal status bar - Plug 'HappyTramp/vim-syntax-extra' " syntax highlight of C operators - Plug 'romainl/vim-cool' " disable highlight after search - Plug 'tpope/vim-fugitive' " git wrapper - Plug 'junegunn/vim-easy-align' " align + Plug 'ctrlpvim/ctrlp.vim' " Ctrl-P similar to vsc + Plug 'tpope/vim-eunuch' " basic unix command in vim + Plug 'tomtom/tcomment_vim' " mininal commenter + Plug 'itchyny/lightline.vim' " minimal status bar + Plug 'HappyTramp/vim-syntax-extra' " syntax highlight of C operators + Plug 'romainl/vim-cool' " disable highlight after search + Plug 'tpope/vim-fugitive' " git wrapper + Plug 'junegunn/vim-easy-align' " align + Plug 'ludovicchabant/vim-gutentags' " generate tags in project root + Plug 'junegunn/goyo.vim' " generate tags in project root + " " Plug 'easymotion/vim-easymotion' " TODO very intresting - Plug 'ludovicchabant/vim-gutentags' " generate tags in project root + " markdown preview in browser " Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']} @@ -166,7 +166,7 @@ nnoremap <leader>bl :ls<CR> " vimrc {{{ nnoremap <leader>rc :vsplit $DOTDIR/.vimrc<cr> -nnoremap <leader>src :source $MYVIMRC<cr> +nnoremap <leader>sc :source $MYVIMRC<cr> " }}} " c {{{ @@ -85,7 +85,7 @@ export XDG_DATA_HOME="/home/charles/.data/" export EDITOR="vim" export TERM="st-256color" export MAIL='me@cacharle.xyz' -export BROWSER='chromium' +export BROWSER='qutebrowser' export BROWSERCLI='w3m' # ignore filetypes in autocomplete diff --git a/qutebrowser/config.py b/qutebrowser/config.py index ce83c37..6ab0895 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -30,7 +30,7 @@ c.fonts.hints = 'bold 11pt default_family' c.hints.chars = 'asdfghjkl;' -c.statusbar.show = 'in-mode' +# c.statusbar.show = 'in-mode' c.editor.command = [ '/usr/local/bin/st', '-e', @@ -39,8 +39,13 @@ c.editor.command = [ c.messages.timeout = 4000 -config.bind('v', 'hint links spawn /usr/bin/mpv {hint-url}') +config.bind(';v', 'hint links spawn /usr/bin/mpv {hint-url} ;;' + 'message-info "opening in video player"') +config.bind('<Ctrl-J>', 'completion-item-focus next', 'command') +config.bind('<Ctrl-K>', 'completion-item-focus prev', 'command') + +# c.content.proxy = 'socks://localhost:9050/' # base16-qutebrowser (https://github.com/theova/base16-qutebrowser) # Base16 qutebrowser template by theova |
