diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/julia/startup.jl | 17 | ||||
| -rw-r--r-- | config/qutebrowser/config.py | 3 | ||||
| -rw-r--r-- | config/vim/vimrc | 2 |
3 files changed, 21 insertions, 1 deletions
diff --git a/config/julia/startup.jl b/config/julia/startup.jl new file mode 100644 index 0000000..bc1bae7 --- /dev/null +++ b/config/julia/startup.jl @@ -0,0 +1,17 @@ +# https://docs.julialang.org/en/v1/stdlib/REPL/#Key-bindings +# +import REPL +import REPL.LineEdit + +const mykeys = Dict{Any,Any}( + # Up Arrow + "\\C-k" => (s,o...)->(LineEdit.edit_move_up(s) || LineEdit.history_prev(s, LineEdit.mode(s).hist)), + # Down Arrow + "\\C-j" => (s,o...)->(LineEdit.edit_move_down(s) || LineEdit.history_next(s, LineEdit.mode(s).hist)) + ) + +function customize_keys(repl) + repl.interface = REPL.setup_interface(repl; extra_repl_keymap = mykeys) +end + +atreplinit(customize_keys) diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index 3f266bc..1d9af27 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -73,6 +73,9 @@ config.bind('<F12>', 'devtools', 'normal') config.bind('j', 'scroll-page 0 0.05', 'normal') config.bind('k', 'scroll-page 0 -0.05', 'normal') +config.unbind('d', 'normal') +config.bind('dd', 'tab-close', 'normal') + c.colors.webpage.darkmode.enabled = True # Convert light themed sites to dark theme config.bind('<Ctrl-Shift-t>', 'config-cycle -p content.proxy socks://localhost:9050/ system', mode='normal') diff --git a/config/vim/vimrc b/config/vim/vimrc index 53a6b62..8debac1 100644 --- a/config/vim/vimrc +++ b/config/vim/vimrc @@ -282,7 +282,7 @@ set wildignore=*/doc/*,*/tmp/*,*.o,*.so,*.a,*.swp,*.zip,*/node_modules/*,*/vendo " }}} " fzf.vim {{{ -nnoremap <C-p> :GFiles<CR> +nnoremap <C-p> :GFiles --exclude-standard --others --cached<CR> nnoremap <leader>p :Tags<CR> " }}} |
