add inputrc
This commit is contained in:
parent
6c30b9d5da
commit
8380b97769
@ -210,6 +210,8 @@ local plugins = {
|
||||
update_on_change = true,
|
||||
app = 'webview',
|
||||
filetype = {'markdown'},
|
||||
throttle_at = 200000,
|
||||
throttle_time = 'auto',
|
||||
vim.keymap.set('n', '<Leader>rr', "<cmd>lua require('peek').open()<CR>", {noremap=true, silent=true})
|
||||
})
|
||||
end,
|
||||
|
||||
3
home/user/.inputrc
Normal file
3
home/user/.inputrc
Normal file
@ -0,0 +1,3 @@
|
||||
set editing-mode vi
|
||||
set keymap vi
|
||||
set convert-meta on
|
||||
@ -67,11 +67,12 @@ class CustomPrompt(Prompts):
|
||||
|
||||
c = get_config()
|
||||
|
||||
c.TerminalInteractiveShell.editing_mode="vi"
|
||||
c.TerminalInteractiveShell.prompts_class = CustomPrompt
|
||||
c.TerminalInteractiveShell.separate_in = ''
|
||||
c.TerminalInteractiveShell.confirm_exit = False
|
||||
c.TerminalIPythonApp.display_banner = False
|
||||
|
||||
c.AliasManager.user_aliases = [
|
||||
('la', 'ls -al')
|
||||
('la', 'ls -al'),
|
||||
]
|
||||
|
||||
@ -117,4 +117,4 @@ elif [[ "$OSTYPE" == "darwin" ]]; then
|
||||
alias paste='pbpaste'
|
||||
fi
|
||||
|
||||
alias black='feh -F ~/Pictures/black.png'
|
||||
alias black='feh -YF ~/Pictures/black.png'
|
||||
|
||||
2
install
2
install
@ -9,7 +9,7 @@ SUB="$(pwd)/home/user"
|
||||
|
||||
declare -A TARGETS=(
|
||||
["bash"]=".subbash .bashrc .profile"
|
||||
["zsh"]=".subbash .subzsh .zshrc .zprofile .zfunc .zlogout"
|
||||
["zsh"]=".subbash .subzsh .zshrc .zprofile .zfunc .zlogout .inputrc"
|
||||
["tmux"]=".tmux.conf"
|
||||
["alacritty"]=".config/alacritty"
|
||||
["nvim"]=".config/nvim .local/bin/vim_askpass_helper .local/bin/vim_askpass_helper_python"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user