add inputrc

This commit is contained in:
TheK4n 2023-06-23 12:34:12 +03:00
parent 6c30b9d5da
commit 8380b97769
5 changed files with 9 additions and 3 deletions

View File

@ -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
View File

@ -0,0 +1,3 @@
set editing-mode vi
set keymap vi
set convert-meta on

View File

@ -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'),
]

View File

@ -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'

View File

@ -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"