standardize key.insertQuit
This commit is contained in:
parent
3be95bfe94
commit
a032920a0f
|
@ -50,6 +50,7 @@ profiles:
|
|||
tabL: U
|
||||
tabR: Y
|
||||
insertMode: s
|
||||
insertQuit: kk
|
||||
font:
|
||||
mono: Fira Code
|
||||
interface: Inter
|
||||
|
|
|
@ -109,9 +109,7 @@ if test $fish_key_bindings = fish_vi_key_bindings
|
|||
bind -m insert {{@@ key.insertMode @@}} repaint-mode
|
||||
bind -m insert {{@@ key.insertMode.upper() @@}} beginning-of-line repaint-mode
|
||||
|
||||
{%@@ if key.layout == 'colemak' @@%}
|
||||
bind -M insert -m default kk repaint-mode
|
||||
{%@@ endif @@%}
|
||||
bind -M insert {{@@ key.insertQuit @@}} repaint-mode -m default
|
||||
|
||||
end
|
||||
#}}}
|
||||
|
|
|
@ -221,6 +221,8 @@ call plug#end()
|
|||
noremap t e
|
||||
noremap T E
|
||||
|
||||
imap {{@@ key.insertQuit @@}} <ESC>
|
||||
|
||||
" FZF bindings
|
||||
nmap <C-b> :Buffers<CR>
|
||||
nmap <C-k> :Files <CR>
|
||||
|
|
|
@ -123,7 +123,8 @@ config.set("content.notifications", False, "*")
|
|||
# - true
|
||||
# - false
|
||||
# - ask
|
||||
config.set('content.register_protocol_handler', False, 'https://mail.disroot.org?mailto&to=%25s')
|
||||
config.set('content.register_protocol_handler', False,
|
||||
'https://mail.disroot.org?mailto&to=%25s')
|
||||
|
||||
# Automatically mute tabs. Note that if the `:tab-mute` command is used,
|
||||
# the mute status for the affected tab is now controlled manually, and
|
||||
|
@ -364,6 +365,7 @@ config.bind("H", "set-cmd-text -s :open -t")
|
|||
# {%@@ endif @@%}
|
||||
|
||||
config.bind("{{@@ key.insertMode @@}}", "enter-mode insert")
|
||||
config.bind("{{@@ key.insertQuit @@}}", "enter-mode normal", mode="insert")
|
||||
|
||||
config.bind("{{@@ key.next @@}}", "search-next")
|
||||
config.bind("{{@@ key.next.upper() @@}}", "search-prev")
|
||||
|
|
Reference in New Issue