random shit
This commit is contained in:
parent
7d19f6f0f8
commit
c6fa749f0c
|
@ -202,6 +202,7 @@ cmd new_lf_term &{{
|
|||
&{{
|
||||
set +u
|
||||
previewer=sixel
|
||||
# [ -n "$SCRATCHPAD" ] && previewer=sixel
|
||||
[ -n "$TMUX" ] && previewer=ueberzug
|
||||
[ -n "$VIM" ] && previewer=chafa
|
||||
lf -remote "send $id set_previewer $previewer"
|
||||
|
@ -245,6 +246,8 @@ map W new_lf_term
|
|||
map e :set user_multiedit "true" ; open; set user_multiedit "false"
|
||||
map E $sudo -e $f
|
||||
map R $lf -remote "send $id :select \"$(readlink $f)\""
|
||||
# map q
|
||||
# map <c-q> quit
|
||||
|
||||
# Load bookmark shortcuts
|
||||
source "~/.config/lf/shortcutrc"
|
||||
|
|
|
@ -86,10 +86,11 @@ M.maps = function()
|
|||
maps.n["<C-Down>"] = { "<Cmd>resize +2<CR>", desc = "Resize split down" }
|
||||
maps.n["<C-Left>"] = { "<Cmd>vertical resize -2<CR>", desc = "Resize split left" }
|
||||
maps.n["<C-Right>"] = { "<Cmd>vertical resize +2<CR>", desc = "Resize split right" }
|
||||
maps.t["<C-h>"] = { "<Cmd>wincmd h<cr>", desc = "Terminal left window navigation" }
|
||||
maps.t["<C-j>"] = { "<Cmd>wincmd j<cr>", desc = "Terminal down window navigation" }
|
||||
maps.t["<C-k>"] = { "<Cmd>wincmd k<cr>", desc = "Terminal up window navigation" }
|
||||
maps.t["<C-l>"] = { "<Cmd>wincmd l<cr>", desc = "Terminal right window navigation" }
|
||||
-- NOTE: These don't make sense when predominantly using floating terminals
|
||||
-- maps.t["<C-h>"] = { "<Cmd>wincmd h<cr>", desc = "Terminal left window navigation" }
|
||||
-- maps.t["<C-j>"] = { "<Cmd>wincmd j<cr>", desc = "Terminal down window navigation" }
|
||||
-- maps.t["<C-k>"] = { "<Cmd>wincmd k<cr>", desc = "Terminal up window navigation" }
|
||||
-- maps.t["<C-l>"] = { "<Cmd>wincmd l<cr>", desc = "Terminal right window navigation" }
|
||||
|
||||
-- Plugin Manager --
|
||||
maps.n["<Leader>p"] = M.sections.p
|
||||
|
|
|
@ -76,14 +76,10 @@ export NEWT_COLORS='
|
|||
|
||||
# Home Dir Cleanup
|
||||
|
||||
# NOTE:
|
||||
# These have been moved to /etc/environment
|
||||
# see the bootstrapper script
|
||||
|
||||
# export XDG_CONFIG_HOME="$HOME/.config"
|
||||
# export XDG_DATA_HOME="$HOME/.local/share"
|
||||
# export XDG_CACHE_HOME="$HOME/.cache"
|
||||
# export XDG_STATE_HOME="$HOME/.local/state"
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
export XDG_CACHE_HOME="$HOME/.cache"
|
||||
export XDG_STATE_HOME="$HOME/.local/state"
|
||||
|
||||
export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc"
|
||||
export STOW_DIR="$XDG_DATA_HOME/stow"
|
||||
|
|
Loading…
Reference in New Issue