@ -26,13 +26,6 @@ xplr.config.general.prompt.style.sub_modifiers = nil
xplr.config . general.prompt . style.bg = nil
xplr.config . general.prompt . style.fg = nil
------ Cursor
xplr.config . general.cursor . format = " █ "
xplr.config . general.cursor . style.add_modifiers = nil
xplr.config . general.cursor . style.bg = nil
xplr.config . general.cursor . style.fg = nil
xplr.config . general.cursor . style.sub_modifiers = nil
------ Initial layout
xplr.config . general.initial_layout = " default "
@ -1170,26 +1163,10 @@ xplr.config.modes.builtin.create_directory = {
extra_help = nil ,
key_bindings = {
on_key = {
backspace = {
help = " remove last character " ,
messages = { " RemoveInputBufferLastCharacter " } ,
} ,
[ " ctrl-c " ] = {
help = " terminate " ,
messages = { " Terminate " } ,
} ,
[ " ctrl-u " ] = {
help = " remove line " ,
messages = {
{
SetInputBuffer = " " ,
} ,
} ,
} ,
[ " ctrl-w " ] = {
help = " remove last word " ,
messages = { " RemoveInputBufferLastWord " } ,
} ,
enter = {
help = " create directory " ,
messages = {
@ -1219,7 +1196,7 @@ xplr.config.modes.builtin.create_directory = {
on_special_character = nil ,
default = {
help = nil ,
messages = { " BufferInput FromKey" } ,
messages = { " UpdateInputBuffer FromKey" } ,
} ,
} ,
}
@ -1231,26 +1208,10 @@ xplr.config.modes.builtin.create_file = {
extra_help = nil ,
key_bindings = {
on_key = {
backspace = {
help = " remove last character " ,
messages = { " RemoveInputBufferLastCharacter " } ,
} ,
[ " ctrl-c " ] = {
help = " terminate " ,
messages = { " Terminate " } ,
} ,
[ " ctrl-u " ] = {
help = " remove line " ,
messages = {
{
SetInputBuffer = " " ,
} ,
} ,
} ,
[ " ctrl-w " ] = {
help = " remove last word " ,
messages = { " RemoveInputBufferLastWord " } ,
} ,
enter = {
help = " create file " ,
messages = {
@ -1280,7 +1241,7 @@ xplr.config.modes.builtin.create_file = {
on_special_character = nil ,
default = {
help = nil ,
messages = { " BufferInput FromKey" } ,
messages = { " UpdateInputBuffer FromKey" } ,
} ,
} ,
}
@ -1292,26 +1253,10 @@ xplr.config.modes.builtin.number = {
extra_help = nil ,
key_bindings = {
on_key = {
backspace = {
help = " remove last character " ,
messages = { " RemoveInputBufferLastCharacter " } ,
} ,
[ " ctrl-c " ] = {
help = " terminate " ,
messages = { " Terminate " } ,
} ,
[ " ctrl-u " ] = {
help = " remove line " ,
messages = {
{
SetInputBuffer = " " ,
} ,
} ,
} ,
[ " ctrl-w " ] = {
help = " remove last word " ,
messages = { " RemoveInputBufferLastWord " } ,
} ,
down = {
help = " to down " ,
messages = { " FocusNextByRelativeIndexFromInput " , " PopMode " } ,
@ -1332,7 +1277,7 @@ xplr.config.modes.builtin.number = {
on_alphabet = nil ,
on_number = {
help = " input " ,
messages = { " BufferInput FromKey" } ,
messages = { " UpdateInputBuffer FromKey" } ,
} ,
on_special_character = nil ,
default = nil ,
@ -1404,26 +1349,10 @@ xplr.config.modes.builtin.rename = {
extra_help = nil ,
key_bindings = {
on_key = {
backspace = {
help = " remove last character " ,
messages = { " RemoveInputBufferLastCharacter " } ,
} ,
[ " ctrl-c " ] = {
help = " terminate " ,
messages = { " Terminate " } ,
} ,
[ " ctrl-u " ] = {
help = " remove line " ,
messages = {
{
SetInputBuffer = " " ,
} ,
} ,
} ,
[ " ctrl-w " ] = {
help = " remove last word " ,
messages = { " RemoveInputBufferLastWord " } ,
} ,
enter = {
help = " rename " ,
messages = {
@ -1450,7 +1379,7 @@ xplr.config.modes.builtin.rename = {
on_special_character = nil ,
default = {
help = nil ,
messages = { " BufferInput FromKey" } ,
messages = { " UpdateInputBuffer FromKey" } ,
} ,
} ,
}
@ -1684,51 +1613,10 @@ xplr.config.modes.builtin.search = {
extra_help = nil ,
key_bindings = {
on_key = {
backspace = {
help = " remove last character " ,
messages = {
{
RemoveNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
" RemoveInputBufferLastCharacter " ,
{
AddNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
" ExplorePwdAsync " ,
} ,
} ,
[ " ctrl-c " ] = {
help = " terminate " ,
messages = { " Terminate " } ,
} ,
[ " ctrl-u " ] = {
help = " remove line " ,
messages = {
{
RemoveNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
{
SetInputBuffer = " " ,
} ,
{
AddNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
" ExplorePwdAsync " ,
} ,
} ,
[ " ctrl-w " ] = {
help = " remove last word " ,
messages = {
{
RemoveNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
" RemoveInputBufferLastWord " ,
{
AddNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
" ExplorePwdAsync " ,
} ,
} ,
down = {
help = " down " ,
messages = { " FocusNext " } ,
@ -1743,26 +1631,26 @@ xplr.config.modes.builtin.search = {
" ExplorePwdAsync " ,
} ,
} ,
lef t = {
help = " back " ,
righ t = {
help = " enter " ,
messages = {
{
RemoveNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
" Back " ,
" Enter " ,
{
SetInputBuffer = " " ,
} ,
" ExplorePwdAsync " ,
} ,
} ,
righ t = {
help = " enter " ,
lef t = {
help = " back " ,
messages = {
{
RemoveNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
" Enter " ,
" Back " ,
{
SetInputBuffer = " " ,
} ,
@ -1787,7 +1675,7 @@ xplr.config.modes.builtin.search = {
{
RemoveNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
" BufferInput FromKey" ,
" UpdateInputBuffer FromKey" ,
{
AddNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
@ -1826,10 +1714,6 @@ xplr.config.modes.builtin.filter = {
" ExplorePwdAsync " ,
} ,
} ,
backspace = {
help = " remove last filter " ,
messages = { " RemoveLastNodeFilter " , " ExplorePwdAsync " } ,
} ,
[ " ctrl-c " ] = {
help = " terminate " ,
messages = { " Terminate " } ,
@ -1879,51 +1763,10 @@ xplr.config.modes.builtin.relative_path_does_contain = {
extra_help = nil ,
key_bindings = {
on_key = {
backspace = {
help = " remove last character " ,
messages = {
{
RemoveNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
" RemoveInputBufferLastCharacter " ,
{
AddNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
" ExplorePwdAsync " ,
} ,
} ,
[ " ctrl-c " ] = {
help = " terminate " ,
messages = { " Terminate " } ,
} ,
[ " ctrl-u " ] = {
help = " remove line " ,
messages = {
{
RemoveNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
{
SetInputBuffer = " " ,
} ,
{
AddNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
" ExplorePwdAsync " ,
} ,
} ,
[ " ctrl-w " ] = {
help = " remove last word " ,
messages = {
{
RemoveNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
" RemoveInputBufferLastWord " ,
{
AddNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
" ExplorePwdAsync " ,
} ,
} ,
enter = {
help = " apply filter " ,
messages = { " PopMode " } ,
@ -1948,7 +1791,7 @@ xplr.config.modes.builtin.relative_path_does_contain = {
{
RemoveNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
" BufferInput FromKey" ,
" UpdateInputBuffer FromKey" ,
{
AddNodeFilterFromInput = " IRelativePathDoesContain " ,
} ,
@ -1965,51 +1808,10 @@ xplr.config.modes.builtin.relative_path_does_not_contain = {
extra_help = nil ,
key_bindings = {
on_key = {
backspace = {
help = " remove last character " ,
messages = {
{
RemoveNodeFilterFromInput = " IRelativePathDoesNotContain " ,
} ,
" RemoveInputBufferLastCharacter " ,
{
AddNodeFilterFromInput = " IRelativePathDoesNotContain " ,
} ,
" ExplorePwdAsync " ,
} ,
} ,
[ " ctrl-c " ] = {
help = " terminate " ,
messages = { " Terminate " } ,
} ,
[ " ctrl-u " ] = {
help = " remove line " ,
messages = {
{
RemoveNodeFilterFromInput = " IRelativePathDoesNotContain " ,
} ,
{
SetInputBuffer = " " ,
} ,
{
AddNodeFilterFromInput = " IRelativePathDoesNotContain " ,
} ,
" ExplorePwdAsync " ,
} ,
} ,
[ " ctrl-w " ] = {
help = " remove last word " ,
messages = {
{
RemoveNodeFilterFromInput = " IRelativePathDoesNotContain " ,
} ,
" RemoveInputBufferLastWord " ,
{
AddNodeFilterFromInput = " IRelativePathDoesNotContain " ,
} ,
" ExplorePwdAsync " ,
} ,
} ,
enter = {
help = " apply filter " ,
messages = { " PopMode " } ,
@ -2034,7 +1836,7 @@ xplr.config.modes.builtin.relative_path_does_not_contain = {
{
RemoveNodeFilterFromInput = " IRelativePathDoesNotContain " ,
} ,
" BufferInput FromKey" ,
" UpdateInputBuffer FromKey" ,
{
AddNodeFilterFromInput = " IRelativePathDoesNotContain " ,
} ,