-
-
Notifications
You must be signed in to change notification settings - Fork 110
Koichi Murase edited this page Dec 28, 2019
·
16 revisions
# blerc
bleopt filename_ls_colors="$LS_COLORS"
# blerc
ble-color-setface filename_directory sgrspec:'1;34'
Links: R
# blerc
bleopt complete_auto_complete=
Links: Q
# blerc
# Example 1: 300 msec
bleopt complete_auto_delay=300
# Example 2: 10 msec
bleopt complete_auto_delay=10
Links: E
# blerc
bleopt history_share=1
Links: S
# blerc
# Example 1: Bind j&k with timeout of 40 msec
blehook/eval-after-load keymap_vi "
ble-bind -m vi_imap -f 'j k' 'vi_imap/normal-mode'
ble-bind -m vi_imap -f 'k j' 'vi_imap/normal-mode'
ble-bind -m vi_imap -T j 40
ble-bind -m vi_imap -T k 40"
# Example 2: Use library "vim-arpeggio.sh"
source "$_ble_base/lib/vim-arpeggio.sh"
bleopt vim_arpeggio_timeoutlen=40
blehook/eval-after-load keymap_vi '
ble/lib/vim-arpeggio.sh/bind -f jk vi_imap/normal-mode'
Links: Q
# blerc
# Example 1: Bind "C-x C-v" for Emacs mode
VISUAL='vim -X'
blehook/eval-after-load keymap_emacs "
ble-bind -m emacs -f 'C-x C-v' 'edit-and-execute-command'"
# Example 2: Bind "C-x C-v" for Vim mode
VISUAL='vim -X'
blehook/eval-after-load keymap_vi "
ble-bind -m vi_imap -f 'C-x C-v' 'edit-and-execute-command'
ble-bind -m vi_nmap -f 'C-x C-v' 'vi-command/edit-and-execute-command'"
Links: Q
# blerc
bind 'set completion-ignore-case on'
Links: Q
# blerc
# Example 1
ble-color-setface auto_complete fg=242,bg=235
# Example 2
ble-color-setface auto_complete fg=white,bg=69
# Example 3
ble-color-setface auto_complete fg=240,underline,italic
# Example 4
ble-color-setface auto_complete fg=gray
# Example 5
ble-color-setface auto_complete fg=242,italic
# blerc
bleopt exec_errexit_mark=
By default, ble.sh
outputs a line like [ble: exit ???]
after the command with non-zero exit status.
To turn off this behavior, you can set empty string to the ble option exec_errexit_mark
.
Links: Q