add joshuto config

This commit is contained in:
LordMZTE 2021-09-12 15:58:13 +02:00
parent 812fc50a6b
commit bb0c210e5e
3 changed files with 240 additions and 0 deletions

View file

@ -6,6 +6,7 @@ alias ls="lsd"
alias ll="ls -l" alias ll="ls -l"
alias la="ll -a" alias la="ll -a"
alias lt="ll --tree" alias lt="ll --tree"
alias jo="joshuto"
alias clip="xclip -sel clip" alias clip="xclip -sel clip"
alias nv="nvim" alias nv="nvim"
alias nvide="rbg neovide --multigrid --" alias nvide="rbg neovide --multigrid --"

View file

@ -0,0 +1,33 @@
# currently does not work
scroll_offset = 6
xdg_open = false
use_trash = true
[display]
automatically_count_files = false
collapse_preview = true
# ratios for parent view, current view and preview
column_ratio = [1, 4, 4]
show_borders = true
show_hidden = false
show_icons = true
show_preview = true
tilde_in_titlebar = true
[display.sort]
# lexical, mtime, natural
method = "lexical"
case_sensitive = false
directories_first = true
reverse = false
# Not fully implemented yet
#[preview]
#max_preview_size = 2097152 # 2MB
#preview_images = true
#preview_script = "~/.config/joshuto/preview.sh"
[tab]
# inherit, home, root
home_page = "inherit"

206
.config/joshuto/keymap.toml Normal file
View file

@ -0,0 +1,206 @@
[keymaps]
# backspace = 263
[[mapcommand]]
command = "new_tab"
keys = [ "T" ]
[[mapcommand]]
command = "new_tab"
keys = [ "ctrl+t" ]
[[mapcommand]]
command = "close_tab"
keys = [ "W" ]
[[mapcommand]]
command = "close_tab"
keys = [ "ctrl+w" ]
[[mapcommand]]
command = "close_tab"
keys = [ "q" ]
[[mapcommand]]
command = "force_quit"
keys = [ "Q" ]
[[mapcommand]]
command = "reload_dirlist"
keys = [ "R" ]
[[mapcommand]]
command = "toggle_hidden"
keys = [ "z", "h" ]
[[mapcommand]]
command = "tab_switch 1"
keys = [ "\t" ]
[[mapcommand]]
command = "tab_switch -1"
keys = [ "backtab" ]
[[mapcommand]]
command = "cursor_move_up"
keys = [ "arrow_up" ]
[[mapcommand]]
command = "cursor_move_up"
keys = [ "k" ]
[[mapcommand]]
command = "cursor_move_up 10"
keys = [ "ctrl+u" ]
[[mapcommand]]
command = "cursor_move_down 10"
keys = [ "ctrl+d" ]
[[mapcommand]]
command = "cursor_move_down"
keys = [ "arrow_down" ]
[[mapcommand]]
command = "cursor_move_down"
keys = [ "j" ]
[[mapcommand]]
command = "cursor_move_end"
keys = [ "end" ]
[[mapcommand]]
command = "cursor_move_end"
keys = [ "G" ]
[[mapcommand]]
command = "cursor_move_home"
keys = [ "home" ]
[[mapcommand]]
command = "cursor_move_home"
keys = [ "g", "g" ]
[[mapcommand]]
command = "cursor_move_page_up"
keys = [ "page_up" ]
[[mapcommand]]
command = "cursor_move_page_down"
keys = [ "page_down" ]
[[mapcommand]]
command = "parent_cursor_move_up"
keys = [ "[" ]
[[mapcommand]]
command = "parent_cursor_move_down"
keys = [ "]" ]
[[mapcommand]]
command = "open"
keys = [ "arrow_right" ]
[[mapcommand]]
command = "open"
keys = [ "l" ]
[[mapcommand]]
command = "open"
keys = [ "\n" ]
[[mapcommand]]
command = "open_with"
keys = [ "r" ]
[[mapcommand]]
command = ":cd "
keys = [ "c", "d" ]
[[mapcommand]]
command = "cd .."
keys = [ "arrow_left" ]
[[mapcommand]]
command = "cd .."
keys = [ "h" ]
[[mapcommand]]
command = "cut_files"
keys = [ "d", "d" ]
[[mapcommand]]
command = "copy_files"
keys = [ "y", "y" ]
[[mapcommand]]
command = "copy_filename"
keys = [ "y", "n" ]
[[mapcommand]]
command = "copy_filename_without_extension"
keys = [ "y", "." ]
[[mapcommand]]
command = "copy_filepath"
keys = [ "y", "p" ]
[[mapcommand]]
command = "copy_dirname"
keys = [ "y", "d" ]
[[mapcommand]]
command = "paste_files"
keys = [ "p", "p" ]
[[mapcommand]]
command = "paste_files --overwrite=true"
keys = [ "p", "o" ]
[[mapcommand]]
command = "delete_files"
keys = [ "d", "D" ]
[[mapcommand]]
command = "delete_files"
keys = [ "delete" ]
[[mapcommand]]
command = "rename_append"
keys = [ "a" ]
[[mapcommand]]
command = "rename_prepend"
keys = [ "A" ]
[[mapcommand]]
command = "select --toggle=true"
keys = [ " " ]
[[mapcommand]]
command = "select --toggle=true --all=true"
keys = [ "t" ]
[[mapcommand]]
command = ":search "
keys = [ "/" ]
[[mapcommand]]
command = ":search_glob "
keys = [ "\\" ]
[[mapcommand]]
command = "search_next"
keys = [ "n" ]
[[mapcommand]]
command = "search_prev"
keys = [ "N" ]
[[mapcommand]]
command = "bulk_rename"
keys = [ "b", "b" ]
[[mapcommand]]
command = "set_mode"
keys = [ "=" ]
[[mapcommand]]
command = ":"
keys = [ ";" ]
[[mapcommand]]
command = ":"
keys = [ ":" ]
[[mapcommand]]
command = ":mkdir "
keys = [ "m", "k" ]
[[mapcommand]]
command = ":rename "
keys = [ "c", "w" ]
[[mapcommand]]
command = ":touch"
keys = [ "f", "t" ]
[[mapcommand]]
command = "sort lexical"
keys = [ "s", "l" ]
[[mapcommand]]
command = "sort mtime"
keys = [ "s", "m" ]
[[mapcommand]]
command = "sort natural"
keys = [ "s", "n" ]
[[mapcommand]]
command = "sort ext"
keys = [ "s", "e" ]
[[mapcommand]]
command = "sort reverse"
keys = [ "s", "r" ]
[[mapcommand]]
command = "cd /"
keys = [ "g", "/" ]
[[mapcommand]]
command = "cd /etc"
keys = [ "g", "e" ]